Paxar 6039 Printer User Manual


 
Scanning Functions 4-25
Example C#
using Ultra;
Ultra.Scan.MSI MSI = new Ultra.Scan.MSI ();
// Instantiate class
MSI.Enable = True; // Enable MSI Symbology
MSI.FixedLength = True; // Variable Length Enabled
MSI.Length1 = 6; // Variable Lenght1 = 6
MSI.Length2 = 55; // Variable Lenght1 = 55
MSI.Use2CDs = False; // Disable two check digits
MSI.XmitCD = False; // Disable Transmit C/D
MSI.UseMod10Mod11CDAl= False; // Enable Mod10/Mod10
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration
Example VB.NET
Imports Ultra
Dim MSI As New Scan.MSI ' Instantiate class
Dim CONTROL As New Ultra.Scan.Control ' Instantiate class
MSI.Enable = True; ' Enable MSI Symbology
MSI.FixedLength = True; ' Variable Length Enabled
MSI.Length1 = 6; ' Variable Lenght1 = 6
MSI.Length2 = 55; ' Variable Lenght1 = 55
MSI.Use2CDs = False; ' Disable two check digits
MSI.XmitCD = False; ' Disable Transmit C/D
MSI.UseMod10Mod11CDAl= False; ' Enable Mod10/Mod10
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration