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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 94
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 76
Scanning Functions 4-39
TriggerMode
Description
Sets the trigger mode configuration values the application set.
Syntax
TriggerMode;
Parameters
TriggerMode The supply type. Values are
TM_SCAN
Pressing the trigger turns on the
scanner.
TM_DROP
The printer ignores the trigger press
and does not turn on the scanner.
TM_FORWARD
The printer passes the trigger press
to the application as an F4, allowing
more control of the application. You
can code a custom application to
perform a special function whenever
it receives an F4. Default
Return Values
None
Example
<SCRIPT src="./jsUltra.js"></SCRIPT>
<SCRIPT type="text/javascript">
SCANNER.TriggerMode = TM_SCAN;
// Enable scanning by trigger
SCANNER.CommitConfigChanges();
//Save Changes to the Scanner Configuration
<BODY>
<OBJECT id=”SCANNER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;
HEIGHT: 0px"
classid=clsid: AD3C761C-4BCC-403D-A68D-128ED702A417>
</OBJECT> //Instantiate Class
</BODY>
Przeglądanie stron 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 93 94

Komentarze do niniejszej Instrukcji

Brak uwag