Intermec 760 Guia Do Utilizador

Página de 82
56
iBrowse User’s Guide
Syntax
HTTP-Equiv=”IBrowse_PLSeriesLabel_Complete”
content= URL | JavaScript function
Use this tag with the IBrowse_PLSeriesLabel_Print tag. To use the PL4 
Printer, configure the applicable settings in the .ini configuration file.
Example
<HTML>
<HEAD>
<META HTTP-Equiv=”IBrowse_PLSeriesLabel_Print” 
Content=” ! 0 200 200 581 1\r\nLABEL\r\................ 
FORM\r\nPRINT\r\n”>
<META HTTP-Equiv=”IBrowse_PLSeriesLabel_Complete”
Content=”Javascript:PrintingComplete(’%ld’);”>
<1-or
<META HTTP-Equiv=”IBrowse_PLSeriesLabel_Complete”
Content=” file://\windows\test.html?status=%ld”>
</HEAD>
<BODY>
</BODY>
<SCRIPT>
function PrintingComplete(status)
{
var str;
str = ”Label print completed with a status code of ” + 
status;
alert(str);
}
</SCRIPT>
</HTML>
 Returned Status Codes
Code
Meaning
0
Label printed successfully
1
Error occurred printing label
2
Printer is busy
4
Printer is out of paper or labels
8
Head/Latch is open
16
Low battery. Replace or recharge battery before proceeding
32
Error communicating with COM port - ensure the printer is powered on and 
within range. Verify BaudRate and [PLSeriesPrinter] COMPort settings exist 
and contain correct values in the .ini configuration file.
64
Could not create instance of PL4 Printer control. Ensure the control is installed 
and registered.