Avery-dennison Platinum 6039 JavaScript User Manual Page 30

  • Download
  • Add to my manuals
  • Print
  • Page
    / 94
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 29
3-12 Programmer’s Manual
LastPrintStatus
Description
Retrieves status of the last MPCL packet processed by the Print Engine.
Syntax
LastPrintStatus
Parameters
None
Return Values
0
Successful.
703-793
A motion control error occurred. After the operator corrects the
printer condition, the application must call ClearSystemError to
reset the Motion Control subsystem. Refer to the 6039 Packet
Reference Manual for more information.
Other
non-zero
Error has occurred. Refer to the 6039 Packet Reference Manual
for more information.
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
if (PRINTER.LastPrintStatus != 0) // Print Status
alert("Print Error");
</SCRIPT>
<BODY>
<OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;
HEIGHT: 0px"
classid=clsid: 19C1754D-BA97-43A1-A06D-496D2167400B>
</OBJECT> //Instantiate Class
</BODY>
Page view 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 93 94

Comments to this Manuals

No comments