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

  • 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 14
Developing Applications 2-3
Scanner Function Overview
The scanner contains a buffer to hold the data from a scan. The
application receives data from the system by one of two methods. The
first method is by the standard keyboard input and second method is by a
special Windows message. See Chapter 4, “Scanning Functions” for
information about the two methods.
Using the Scanners
To use any of the scanners, the application must:
1. Include the code to instantiate the class. For example,
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
SCANNER.Postamble = “\n\r”
GENERAL.SendScanStatus = false
</SCRIPT>
<BODY>
<OBJECT id=”SCANNER” style ="LEFT: 0px; WIDTH: 0px; TOP: 0px;
HEIGHT: 0px"
classid=clsid: AD3C761C-4BCC-403D-A68D-128ED702A417>
</OBJECT> //Instantiate Class
<OBJECT id=”GENERAL” style ="LEFT: 0px; WIDTH: 0px; TOP: 0px;
HEIGHT: 0px"
classid=clsid:B1EED6A7-2259-442D-B273-71EBE93C8338>
</OBJECT> //Instantiate Class
</BODY>
Vue de la page 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 93 94

Commentaires sur ces manuels

Pas de commentaire