Compaq 5525B/31/32 manual ESC*z#H Bar Code Height, ESC*z#C Bar Code Label Placement

Page 44

Chapter 2 Configuring the PCL-II Emulation with Control Codes

NOTE: The Postnet Barcode types 13 & 14 print 24 bars per inch. See the section on 256x Postal Barcodes for information on the 20 bars per inch and 22.5 bars per inch Postal Barcodes.

ESC*z#H Bar Code Height

This escape sequence defines the height of the bar code label in tenths of an inch as specified in the value field (#). To specify a bar code height of .8 inches, the ESC*z8H escape sequence would be sent to the printer. A zero in the value field specifies that bar code height is determined by the current line spacing (1/6 or 1/8 inch for 6/8 LPI respectively, or 1/3 or 1/4 inch for double- high/double-wide). The default bar code height is 0.6 inches.

ESC*z#C Bar Code Label Placement

This escape sequence specifies the horizontal starting location of a bar code by specifying the column number based on the currently active print pitch. The value field (#) indicates the absolute column position the bar code will begin printing. A plus or minus sign in the value field is ignored. A value field whose position is less than the current active printing position is illegal and causes the cursor to move to the next column position to the right of the current active printing position. When printing bar codes, always allow at least 1/4 inch margin in all directions from each bar code. This will limit the interference from other characters and help readability. If you need to print text and bar codes on the same line, see the “Printing Bar Codes With Text” discussion later in this chapter.

ESC*z#Q Bar Code Header Control

This sequence specifies the placement of the bar code header. A number 1 in the value field specifies that a header will be printed above the bar code label and a 2 specifies that it will be placed below the bar code. A zero in the value field specifies that no header will be printed. The printer default places the header above the bar code.

ESC*z<Bar Code Data>Z Bar Code Label Data

This sequence sends the bar code label data in the form of an alphanumeric string enclosed in angled brackets. The header (if enabled) will print in the location specified by the bar code header control sequence.

NOTE: Upon termination of the bar code label data escape sequence, the printer will print all buffered bar code data and generate a carriage return.

The printer automatically formats the bar code, inserts start and stop bits, and calculates and inserts checksum (if applicable-not for Code 3 of 9, Industrial 2 of 5, or Interleaved 2 of 5 ).

For UPC E bar codes, a zero (0) must be in the first position of the bar code data.

44

Image 44
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 CompatibilityLogical and Physical Pages General InformationProgrammatic Printer Control Escape Sequences Combining Escape SequencesPCL Level Escape Sequences Line Printer Escape Sequences Explanation Programmable Reset Character Font Selection Symbol Set Selection OCR-A Character Style Selection Printing in the Hex 80 through Hex FF RegionPrint Pitch Selection Character Density Selection PCL LevelHS DP NLQ Switching Character Fonts Self-test Display Functions ModePrint Mode Selection Standard Computed VFC Line SpacingVertical Forms Control 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 ESC*z#V Bar Code Selection Character OverstrikeBar Codes 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