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-
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
For UPC E bar codes, a zero (0) must be in the first position of the bar code data.
44