Brother International TD-2020 ESC/ P Command Reference - Page 80

Backslash], End of barcode, Barcode Type, Command, With CODE39, ITF I-2/5, CODABAR, CODE128

Page 80 highlights

ESC/P Command Reference (4) [Backslash]: End of barcode Barcode Type POSTNET, UPC/EAN EXTENTION, CODE39, ITF(I-2/5), EAN-8, EAN-13, UPC-A, UPC-E, CODABAR, RSS symbols, MSI CODE93, CODE128, GS1-128 (UCC/EAN-128)] Command ESC i [Parameter] B or b [Barcode data] \ 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 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 h01h 02h w3 z0 f0 B 123456789 \ - 74 - 5. Control Command Details

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126

ESC/P Command Reference
- 74 -
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, MSI
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
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 h01h 02h w3 z0 f0 B 123456789 \