You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.9 KiB

<html>
<body>
<OBJECT id="PSKPrn"classid="clsid:81C07687-3353-4ABA-B108-94BCE81E5CBA"codebase="/PSKPrn_94BCE81E5CBA.ocx#version=1,0,0,3"width="0"height="0">
</OBJECT>
<OBJECT id="test"classid="clsid:56CA65E0-2077-44F1-A022-FF23CC891B23"codebase="/scan_FF23CC891B23.ocx#version=1,0,0,7"width="0"height="0">
</OBJECT>
<SCRIPT LANGUAGE="Javascript" type = "text/javascript">
function CheckKey()
{
if(event.keyCode == 13){
var namevalue=document.getElementById("text").value;
<!--alert(namevalue);-->
alert(namevalue);
document.getElementById("text").value="";
}
}
function Print()
{
1 year ago
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><D4B5>ÿؼ<C3BF><D8BC><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>
PSKPrn.OpenPort("POSTEK C168 200s");
PSKPrn.PTKClearBuffer();
PSKPrn.PTKSetLabelHeight(240, 20);
PSKPrn.PTKSetLabelWidth(400);
PSKPrn.PTKSetDarkness(10);
PSKPrn.PTKSetPrintSpeed(4);
1 year ago
PSKPrn.PTKDrawBar2DPdf417(26,26,400,240,1,0,2,4,33,7,0,0, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD>Ѷ<EFBFBD><D1B6>");
PSKPrn.PTKPrintLabel(1, 2);
PSKPrn.ClosePort();
}
function GetVersion()
{
test.GetActiveXInfo();
}
</SCRIPT>
<input type="text" name="text" onkeydown="CheckKey()"/><br/>
1 year ago
<input type="button" name="button" value="<22><>ӡ" onClick="Print()"/><input type="button" name="button" value="ActvieX<65>汾" onClick="GetVersion()"/>
</body>
</html>