Avery-dennison Platinum 6039 JavaScript Manuale Utente Pagina 31

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 94
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 30
Printing Functions 3-13
Sensors
BlackMark
Description
Retrieves the black mark sensor’s latest state. This state is not
necessarily the current state because it is updated only by the Print
subsystem.
Syntax
BlackMark
Parameters
None
Return Values
true
The supplies are aligned on the black mark.
false
The supplies are not aligned on the black mark, or the Print
subsystem is busy or uninitialized.
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
blnBlackMark;
blnBlackMark = Printer.BlackMark;
if (blnBlackMark) // If true
alert("Blocked);
else // If false
alert("Not Blocked”);
</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>
Vedere la pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 93 94

Commenti su questo manuale

Nessun commento