A-38 Programmer’s Manual
//************************************************************
//* UPCA Barcodes
//************************************************************
Ultra.Scan.UPCEAN UPC = new Ultra.Scan.UPCEAN();
// Instantiate UPCEAN class
UPC.EnableUPCA = true; // Enable UPCA
UPC.XmitUPCACD = true; // Xmit UPCA C/D
UPC.XmitUPCAPre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMBLE.XUP_SYSCHAR;
// --To Scan/Print UPCE Barcodes, UPCE Preamble must be set to
// NONE
UPC.EnableUPCE = true; // Enable UPCE
UPC.XmitUPCECD = true; // Xmit UPCE C/D
UPC.XmitUPCEPre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMBLE.XUP_NONE;
UPC.EnableUPCE1 = true; // Enable UPCE1
UPC.XmitUPCE1CD = true; // Xmit UPCE1 C/D
UPC.XmitUPCE1Pre =
Ultra.Scan.UPCEAN.eXMITUPCPREAMBLE.XUP_SYSCHAR;
UPC.EnableEAN8 = true; // Enable EAN8
UPC.EnableEAN13 = true; // Enable EAN13
UPC.CouponCode = true; // Enable Coupon Code
UPC.EnableEANBkld = true; // Enable Bookland
UPC.Xlate8To13 = false; // Don't Translate 8 to 13
UPC.XlateE1ToA = false; // Don't Translate UPCE1 to UPCA
UPC.XlateEToA = false; // Don't Translate UPCE to UPCA
UPC.EANZeroExtend = false;
// Don't use EAN Zero Extend
UPC.SupRedundancy = 7;
// Set Supplemental Redundancy to 7
// Enables UPCA + 2, UPCA +5, EAN8 + 2, EAN8 +5, EAN13 +2 &
// EAN13 + 5 Symbologies
UPC.Supplemental =
Ultra.Scan.UPCEAN.eSUPPLEMENTAL.USM_AUTO;
//************************************************************
//* Code 39 Barcodes
//************************************************************
Ultra.Scan.Code39 C39 = new Ultra.Scan.Code39();
// Instantiate Code39 class
C39.Enable = true;
// Enable Code 39
C39.FullASCII = true;
// Enable Full Ascii
C39.XmitCD = true; // Xmit C/D