Avery-dennison Platinum 6039 JavaScript Manual de usuario Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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>
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 93 94

Comentarios a estos manuales

Sin comentarios