Paxar 6039 Printer User Manual


 
Scanning Functions 4-11
Example C#
using Ultra;
Ultra.Scan.Codabar CODABAR = new Ultra.Scan.Codabar();
// Instantiate class
CODABAR.Enable = true; // Enable Codabar Symbology
CODABAR.CLSIEdit = true; // Enable CLSIEDit
CODABAR.NOTISEdit = true; // Enable NOTISEdit
CODABAR.FixedLength = false; // Variable Length Enabled
CODABAR.Length1 = 2; // Variable Length1 = 2
CODABAR.Length2 = 55; // Variable Length2 = 55
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration
Example VB.NET
Imports Ultra
Dim CODABAR As New Scan.Codabar ' Instantiate class
Dim CONTROL As New Ultra.Scan.Control ' Instantiate class
CODABAR.Enable = True ' Enable Codabar Symbology
CODABAR.CLSIEdit = True ' Enable CLSIEDit
CODABAR.NOTISEdit = True ' Enable NOTISEdit
CODABAR.FixedLength = False ' Variable Length Enabled
CODABAR.Length1 = 2 ' Variable Length1=2
CODABAR.Length2 = 55 ' Variable Length2=55
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration