Paxar 6039 Printer User Manual


 
4-44 Programmer’s Manual
TriggerMode
Description
Sets the trigger mode configuration values the application set.
Syntax
public eTRIGGERMODE 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
F11, allowing more control of
the application. You can code a
custom application to perform a
special function whenever it
receives an F11. Default
Return Values
None
Example C#
using Ultra;
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control;
// Instantiate class
CONTROL.TriggerMode =
Ultra.Scan.Control.eTRIGGERMODE.TM_SCAN;
// Enable scanning by trigger
CONTROL.CommitChanges //--Save Changes to the Scanner
// Configuration