Avery-dennison Platinum 6039 JavaScript Manuel d'utilisateur Page 31

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 94
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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>
Vue de la page 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 93 94

Commentaires sur ces manuels

Pas de commentaire