Avery-dennison Platinum 6039 JavaScript Manual de usuario Pagina 31

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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>
Vista de pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 93 94

Comentarios a estos manuales

Sin comentarios