Compaq 5525B/31/32 manual Code 3

Page 48

Chapter 2 Configuring the PCL-II Emulation with Control Codes

CODE 3 OF 9

A variable-length data string of up to 32 ASCII characters may be printed using the Code 3 of 9 bar code. The string may be an odd or even length and may use any of the standard characters (specified in MIL-STD-1189). If a non-valid character is used in the string, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. The width of the printed bar code can be approximated by the following equation:

Width in inches = (number of characters)/3.14 + 0.50

INDUSTRIAL 2 OF 5

A variable-length data string of up to 32 ASCII characters may be printed using the Industrial 2 of 5 bar code. The string may be an odd or even length and may use any character from 0 through 9. If a non-valid character is used in the string, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. Optional checksums are not inserted in the bar code. The width of the printed bar code can be approximated by the following equation:

Width in inches = (number of characters)/3.7 + 0.38

INTERLEAVED 2 OF 5

A variable-length data string of up to 32 ASCII characters may be printed using the Interleaved 2 of 5 bar code. The string may be an odd or even length. However, if the string is an odd length, a leading zero will be inserted to make a string of an even length. Valid data characters are 0 through 9. If a non-valid character is used in the string, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. Optional checksums are not inserted in the bar code. The width of the printed bar code can be approximated by the following equation:

Width in inches = (even number of characters)/6.25 + 0.15

UPCA

A fixed-length data string of 11 ASCII characters may be printed using the UPC A bar code. The string must have a length of 11 and may use any of the standard characters 0 through 9. If a non-valid character or string length is used, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. The width of the printed bar code does not vary and is 1.56 inches.

UPCE

A fixed-length data string of 11 ASCII characters may be printed using the UPC E bar code. The string length must be 11 and may use any of the standard characters 0 through 9 (however, the data pattern must meet the format of UPC E bar codes; UPC E is a shortened version of very specific patterns printable with UPC A). If a non-valid character or string length is used, a blank non-readable bar code will be printed; non-valid characters are not substituted or deleted. For UPC E, a zero (0) is required in the first position of the bar code data (the number system character). The width of the printed bar code is not variable and is 0.81 inches.

48

Image 48
Contents 5525B/31/32 Line Matrix Printer Page PCL-II Programmer’s Reference Manual Page Trademark Acknowledgements Page Table of Contents Standard Ascii Character Set Introduction Related Product InformationSoftware Features HP PCL-II HP PCL-II Emulation Default Settings Switching Between the EmulationsConfiguring the PCL-II Emulation with Control Codes Printer Feature Set CompatibilityGeneral Information Programmatic Printer ControlLogical and Physical Pages Escape Sequences Combining Escape SequencesPCL Level Escape Sequences Line Printer Escape Sequences Explanation Programmable Reset Character Font Selection Symbol Set Selection OCR-A Printing in the Hex 80 through Hex FF Region Print Pitch SelectionCharacter Style Selection Character Density Selection PCL LevelHS DP NLQ Switching Character Fonts Display Functions Mode Print Mode SelectionSelf-test Line Spacing Vertical Forms Control VFCStandard Computed VFC Page Programmable VFC Special VFC ConsiderationsProgrammable VFC Using PCL Example FormChannel Line Configuring the PCL-II Emulation with Control Codes Programmable VFC Ascii CTL MSB/LSB Example VFC Data Entry Methods \CHANGEQ 7 to 00 \CHANGEQ 8 to Logical Page Length Selection Logical Page Length SelectionPerforation Skip Mode Text Length Vertical Margin SelectionHorizontal Margin Selection Transparent Print DataCursor Control Raster Graphics ESC*b# of raster lines YUnderlining Character Overstrike Bar CodesESC*z#V Bar Code Selection ESC*z#C Bar Code Label Placement ESC*z#H Bar Code HeightESC*z#Q Bar Code Header Control ESC*zBar Code DataZ Bar Code Label DataPrinting Bar Codes Printing Multiple Labels On The Same Line Printing Bar Codes With TextBar Code Width Information Bar Code Number of Characters SentCode 3 EAN8 Royal MailAdditional Product ID Assigned By Manufacturer N3+an..30 Width, Diameter, or 2nd Dimension, Inches, Logistics N4+n6 US Postnet Barcodes Data Value Representation256X US Postnet BAR Code CPI 22.5 Bars per inch US Postnet BAR Code2 3 4 5 6 7 8 9 CPI 20 Bars per inch US Postnet Bar Code CPI 20 Bars per inch US Postnet Bar Code MethodConfiguring the PCL-II Emulation with Control Codes Standard Ascii Character Set Appendix a Index Bar Code Underlining PCL-II Upca Page Page 5525B/31/32 Line Matrix Printer