PREFACE Every effort has been made to ensure that the information in this document is complete, accurate, and up-to-date. The manufacturer assumes no responsibility for the results of errors beyond its control. The manufacturer also cannot guarantee that changes in software and equipment made by other manufacturers and referred to in this guide will not affect the applicability of the information in it.
CONTENTS Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Notes, cautions and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 How to use . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NOTES, CAUTIONS AND WARNINGS NOTE A note provides additional information to supplement the main text. CAUTION! A caution provides additional information which, if ignored, may result in equipment malfunction or damage. WARNING! A warning provides additional information which, if ignored, may result in a risk of personal injury. Specifications subject to change without notice. All trademarks acknowledged.
INTRODUCTION This manual describes your printer's built in barcode printing feature. It is a technical manual for systems integrators with a working knowledge of the PCL5e page description language and of barcode schemes in general. NOTE The barcode illustrations in this manual are NOT genuine barcodes. They are illustrations only, and cannot be read correctly by standard barcode readers.
HOW TO USE Barcode printing is generated by inserting special extended PCL5e commands into the data stream. Once the required escape sequence has been received the printer will interpret the following characters as barcode data until it receives a command that specifies the next primary font for text printing. After the barcode parameters have been selected, following text data is gathered for processing the barcode image.
AUTOMATIC CHARACTERS Generally, check digit, start/stop bars and left/centre/right guard are calculated and added automatically as needed. Characters added automatically are not included in the table of valid codes, refer to “Valid character codes” on page 8. However, for CODABAR and CODABAR +CHKmod16, they can be selected from a, b, c and d (0x61~0x64). These must be sent as barcode data and are included in the number of character codes.
VALID CHARACTER CODES Valid character codes for each barcode type are listed in the following table. BARCODE CHARACTER CODE VALID RANGE NO. OF CHARACTER CODES UPC–A / +2 / +5 0x30~0x39 11 /13 / 16 characters input. UPC–E (UPC–E0, UPC–E1) 0x30~0x39 Compression format: 6 characters input. Added character “0” (0x30) at the start not included. Non-compression format (number system omitted form): 10 characters input. Added character “0” (0x30) not included. Non-compression format: 11 characters input.
PARAMETER DETAIL As stated earlier, barcode printing is activated with the following escape sequence: ( s # p # h # v # b # s # T This section describes the use of each of the six parameters of this command. T-PARAMETER This parameter selects the barcode type to use. It must always be present. If not, or the parameter value does not match one of the values in the following table, it is treated as the primary font’s font specification.
P-PARAMETER Specifies if and how to print human readable (text) characters. If this parameter is omitted or invalid, its default value is assumed. Refer to “Default parameter values” on page 12. VALUE PRINT IMAGE PRINT METHOD 0 Use default setting. See “Default parameter values” on page 12. 1 Text not printed. 2 Text embedded in bottom of barcode. 3 Text half embedded in barcode. 4 Text below barcode. 5 Text above barcode.
H-PARAMETER Specifies a font for human readable characters. If this parameter is omitted or invalid, the printer functions with its default value. Refer to “Default parameter values” on page 12. VALUE FONT USED 0 Courier Bold (default) 1 Letter Gothic Bold 2 Univers Bold 3 Univers Condensed Bold 4 CG-Times Bold 100~104 105 Medium weight versions of 0~4. OCR–B 200~204 Italic versions of 0~4. 300~304 Same fonts as 0~4. 400~404 Bold Italic versions of 0~4.
For an illustration of how to insert these parameters see “Data for UPC–A barcode printing (example 2)” on page 14. S-PARAMETER Specifies the width of spaces (white bars) in units of 1/600 inch. Usage is exactly the same as for the B-parameter. Refer to “B-parameter” on page 11. DEFAULT PARAMETER VALUES If parameters are omitted or invalid their default values are assumed. These vary depending on the barcode type selected with the T-parameter.
COMMAND SEQUENCE The command sequence for barcode printing is the same as for printing text after specifying the font. When printing text, commands are arranged in the following order: 1. Specify font; specify print position; draw text; 2. Specify font; specify print position; draw text; 3. Specify font; specify print position; draw text. When printing a barcode, the font specification is simply replaced by a barcode specification: 1. Specify font; specify print position; draw text; 2.
DATA FOR UPC–A BARCODE PRINTING (EXAMPLE 2) In this example all parameters have been supplied, although for simplicity their default values are specified here.
INDEX A Added characters ....................7 Attribute summary ..................7 Automatic characters ..............7 B Barcode command .............. 7, 9 Barcodes supported types ..................5 C Check digits ............................7 Command sequence Examples .......................... 13 Compression ...........................6 Cursor position ............. 7, 13, 14 E End of barcode data ................6 P Parameter summary ...............7 Parameters B - black bar width ...........
R101020J6800-TTEC 07113401 iss.