Barcode Reference Guide Version 0 ENG
1 Introduction 1 1 Overview 1 This reference guide provides information for barcode printing that uses control commands sent directly to a Brother printing device. Applicable Brother printing devices: Brother’s HL, MFC and DCP models which are equipped with HP LaserJet (PCL) emulation mode. If your Brother printing device supports HP LaserJet emulation mode, you can print barcodes in HP LaserJet emulation mode, Epson FX-850 emulation mode and IBM proprinter FX emulation mode.
2 Quick reference for barcode control commands 2 Print barcodes or expanded characters Code ESC i Dec 27 105 Hex 1B 69 2 2 Format: ESC i n ... n \ Creates barcodes or expanded characters according to the segment of parameters ‘n ... n’. For more information about parameters, see the following Definition of Parameters. This command must end with the ‘ \ ’ code (5CH). Definition of parameters 2 This barcode command can have the following parameters in the parameter segment (n ... n).
Quick reference for barcode control commands Barcode, expanded character, line block drawing and box drawing n = ‘s0’ or ‘S0’ 3: 1 (default) n = ‘s1’ or ‘S1’ 2: 1 n = ‘s3’ or ‘S3’ 2.5: 1 2 2 This parameter chooses the barcode style as above. When the EAN 8, EAN 13, UPC-A, Code 128 or EAN 128 barcode mode is chosen, this barcode style parameter is ignored.
Quick reference for barcode control commands Barcode human readable line ON or OFF n = ‘r0’ or ‘R0 Human readable line OFF n = ‘r1’ or ‘R1 Human readable line ON Preset: Human readable line ON 2 2 (1) ‘T5’ or ‘t5’ (2) ‘T6’ or ‘t6’ (3) ‘T130’ or ‘t130’ (4) ‘T131’ or ‘t131’ Preset: Human readable line OFF All others This parameter shows whether the machine prints the human readable line below the barcode.
Quick reference for barcode control commands Barcode, expanded character, line block drawing and box drawing offset in X-axis 2 n = ‘xnnn’ or ‘Xnnn’ 2 This parameter shows the offset from the left margin in the ‘u’- or ‘U’-specified unit. Barcode & expanded character offset in Y-axis 2 n = ‘ynnn’ or ‘Ynnn’ This parameter shows the downward offset from the current print position in the ‘u’- or ‘U’-specified unit.
Quick reference for barcode control commands Barcode data start 2 n = ‘b’ or ‘B’ Data that follows ‘b’ or ‘B’ is read in as barcode data. barcode data must end with the ‘ \ ’ code (5CH), which also ends this command. The acceptable barcode data is determined by the barcode mode selected by ‘t’ or ‘T’. When CODE 39 is chosen with the parameter ‘t0’ or ‘T0’ Forty three characters ‘0’ to ‘9’, ‘A’ to ‘Z’, ‘-’, ‘ . ’, ‘ (space)’, ‘$’, ‘ / ’, ‘+’, and ‘%’ can be accepted as barcode data.
Quick reference for barcode control commands When Codebar is chosen with the parameter ‘t9’ or ‘T9’ Characters ‘0’ to ‘9’, ‘-’, ‘ . ’, ‘$’, ‘/’, ‘+’, ‘ : ’ can be printed. Characters ‘A’ to ‘D’ can be printed as a start-stop code, which can be upper case or lower case. If there is no start-stop code, errors will happen. A check digit cannot be added and using ‘?’ causes errors.
Quick reference for barcode control commands Table of Code(EAN) 128 set C 2 Code(EAN) 128 set C describes an original command. The correspondence table is as follows. No.