Brother RJ-4040 User Manual

Page 73

Advertising
background image

ESC/P Command Reference

- 67 -

5. Control Command Details

(4) [Backslash]: End of barcode

Barcode Type

Command

POSTNET, UPC/EAN EXTENSION, CODE39,
ITF(I-2/5), EAN-8, EAN-13, UPC-A, UPC-E,
CODABAR, RSS symbols

ESC i [Parameter] B or b [Barcode data] \

CODE93, CODE128,
GS1-128 (UCC/EAN-128)]

ESC i [Parameter] B or b [Barcode data] \\\

Description

Specifies a barcode image.

Any data extending beyond the right margin is ignored.

Since the check digit is generated automatically from the barcode data, the check digit is not sent as

barcode data. Since the length of the barcode data is also checked, the data would not be correctly

recognized if the check digit data was present.

With CODE39, ITF (I-2/5), CODABAR, CODE128, GS1-128 (UCC/EAN-128) or RSS Expanded, the buffer

length for the barcode image is about 22 cm. A barcode longer than 22 cm will not be printed.

The characters that can be printed with CODE128 and GS1-128 (UCC/EAN-128) are the 128 ASCII

characters and the special codes FNC1, FNC2, FNC3 and FNC4.

Codes assigned to the special codes:

FNC1: 86h

FNC2: 81h

FNC3: 80h

FNC4: 84h

The control codes and special codes appear as spaces when characters are printed below CODE128 and

GS1-128 (UCC/EAN-128) barcodes.

Special code FNC1 can also be printed with RSS Expanded.

This special code also appears as a space when characters are printed below the barcode.

Code assigned to the special code:

FNC1: 86h

With only UPC/EAN EXTENSION, the data is printed above the barcode.

Example

For barcode type CODE39, with no characters printed below the barcode, a size of large (width) × 480 dots

(height), without parentheses, a ratio between thick and thin bars of 3:1, and bar lengths not equalized, the

command will be as shown below.

ESC i t0 r0 w3 h E0h 01h e0 z0 f1 B 123456789 \

Advertising
This manual is related to the following products: