beautypg.com

Brother QL-720NW User Manual

Page 76

background image

ESC/P Command Reference

- 70 -

5. Control Command Details

(4) [Backslash]: End of barcode

Barcode Type

Command

POSTNET, UPC/EAN EXTENTION, 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.

The control codes appear as spaces when characters are printed below CODE93 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

The width can be set to extra extra small only with CODE128 and EAN128.

Characters are not printed below the barcode when the width is set to extra extra small.

Example

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

(height) and a ratio between thick and thin bars of 3:1, the command will be as shown below.

ESC i t0 r0 he0h 01h w3 z0 B 123456789 \