Paxar 6039 Printer User Manual


 
4-18 Programmer’s Manual
Example C#
using Ultra;
Ultra.Scan.Code93 C93 = new Ultra.Scan.Code93();
// Instantiate class
Code93.Enable = TRUE; // Enable Code93 Symbology
Code93.FixedLength = FALSE; // Variable Length Enabled
Code93.Length1 = 4; // Variable Lenght1 = 4
Code93.Length2 = 20; // Variable Lenght1 = 20
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration
Example VB.NET
Imports Ultra
Dim C93 As New Scan.Code93 ' Instantiate class
Dim CONTROL As New Ultra.Scan.Control ' Instantiate class
Code93.Enable = TRUE; ' Enable Code93 Symbology
Code93.FixedLength = FALSE; ' Variable Length Enabled
Code93.Length1 = 4; ' Variable Lenght1 = 4
Code93.Length2 = 20; ' Variable Lenght1 = 20
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration