Paxar 6039 Printer User Manual


 
4-32 Programmer’s Manual
Example C#
using Ultra;
Ultra.Scan.UPC UPCEAN = new Ultra.Scan.UPCEAN ();
// Instantiate class
UPCEAN.EnableUPCA = TRUE; // Enable UPCA Symbology
UPCEAN.EnableUPCE = FALSE; // Disable UPCA Symbology
UPCEAN.EnableUPCE1 = FALSE; // Disable UPCE1 Symbology
UPCEAN.EnableEAN8 = FALSE; // Disable EAN8 Symbology
UPCEAN.EnableEAN13 = FALSE; // Disable EAN13 Symbology
UPCEAN.EnableBklnd = FALSE; // Disable Bklnd Symbology
UPCEAN.Supplement =
Ultra.Scan.UPCEAN.eSUPLEMENTAL.USM_IGNORE;
// Ignore Supplemental characters
UPCEAN.nSupRedundancy = 7; // Number of times
// Supplemental is decoded
UPCEAN.fXmitUPCACD = TRUE; // Enable Transmit UPCA C/D
UPCEAN.fXmitUPCECD = FALSE; // Disable Transmit UPCE C/D
UPCEAN.fXmitUPCE1CD = FALSE; // Disable Transmit UPCE1 C/D
UPCEAN.nXmitUPCAPre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMPLE.XUP_SYSCHAR;
// Transmit UPCA Preamble
UPCEAN.nXmitUPCEPre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMPLE.XUP_SYSCHAR;
// Transmit UPCE Preamble
UPCEAN.nXmitUPCE1Pre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMPLE.XUP_SYSCHAR;
// Transmit UPCE1 Preamble
UPCEAN.fxlateEToA = FALSE; // Disable Convert UPCE to UPCA
UPCEAN.fxlateE1toA = FALSE; // Disable Convert UPCE1 to UPCA
UPCEAN.fEANZeroExtend = FALSE; // Disable adding zeros
' for EAN13
UPCEAN.fXlate8TO13= FALSE; // Disable Convert to
// EAN8 to EAN13
UPCEAN.nSecurity = 1; // Enable Scan Security level
UPCEAN.fCouponCode = TRUE; // Enable Coupon Scanning
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration