Avery-dennison Platinum 6039 JavaScript Manuale Utente Pagina 32

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 94
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 31
3-14 Programmer’s Manual
OnDemand
Description
Determines the On-demand sensor’s current state. This sensor is an
option for the printer.
Syntax
OnDemand
Parameters
None
Return Values
true
The sensor is blocked.
false
The sensor is not blocked.
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
blnOnDemand;
blnOnDemand = PRINTER.OnDemand; // If true
if (blnOnDemand)
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 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 93 94

Commenti su questo manuale

Nessun commento