Avery-dennison Platinum 6039 JavaScript Instrukcja Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 94
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 27
3-10 Programmer’s Manual
FilePrint
Description
Writes MPCL packets to the Print subsystem.
You can send more than one packet at a time in a file.
A batch packet starts a print job, which makes an asynchronous call to
the Print subsystem. After submitting a print job, the application should
call LastPrintStatus in a loop, waiting until the printer becomes free.
Syntax
FilePrint
Parameters
FileName to be sent for printing
Return Values
None
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
strScanData = "C39";
PRINTER.FilePrint = "\\Onboard Flash\\C39Fmt.txt";
PRINTER.Print = "{B,1,N,1|E,0,0,1,1,0,1|";
PRINTER.Print = "1,\"" + strScanData + "\"|2,\"" +
strScanData + "\"|}";
</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>
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 93 94

Komentarze do niniejszej Instrukcji

Brak uwag