Brother International HL 5240 Users Manual - English - Page 119

Quick reference for bar code control commands, Print bar codes or expanded characters

Page 119 highlights

A. Appendix Quick reference for bar code control commands The printer can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Proprinter XL emulation modes. Print bar codes or expanded characters Code Dec Hex ESC i 27 105 1B 69 Format: ESC i n ... n \ Creates bar codes 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 This bar code command can have the following parameters in the parameter segment (n ... n). As parameters are effective within the single command syntax ESC i n ... n \, they do not apply in the bar code commands. If certain parameters are not given, they take the preset settings. The last parameter must be the bar code data start ('b' or 'B') or the expanded character data start ('l' or 'L'). Other parameters can be given in any sequence. Each parameter can start with a lower-case or upper-case character, for example, 't0' or 'T0', 's3' or 'S3' and so one. Bar code mode n = 't0' or 'T0' n = 't1' or 'T1' n = 't3' or 'T3' n = 't4' or 'T4' n = 't5' or 'T5' n = 't6' or 'T6' n = 't9' or 'T9' n = 't12' or 'T12' n = 't13' or 'T13' n = 't14' or 'T14' n = 't130' or 'T130' n = 't131' or 'T131' n = 't132' or 'T132' n = 't133' or 'T133' n = 't134' or 'T134' CODE 39 (default) Interleaved 2 of 5 FIM (US-Post Net) Post Net (US-Post Net) EAN 8, EAN 13, or UPC A UPC E Codabar Code 128 set A Code 128 set B Code 128 set C ISBN (EAN) ISBN (UPC-E) EAN 128 set A EAN 128 set B EAN 128 set C 111

  • 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
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138

A. Appendix
111
Quick reference for bar code control commands
The printer can print bar codes in the HP LaserJet, EPSON FX-850, and IBM Proprinter XL emulation modes.
Print bar codes or expanded characters
Format:
ESC i n ... n \
Creates bar codes 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
This bar code command can have the following parameters in the parameter segment (n ... n). As parameters
are effective within the single command syntax ESC i n ... n \, they do not apply in the bar code commands.
If certain parameters are not given, they take the preset settings. The last parameter must be the bar code
data start (‘b’ or ‘B’) or the expanded character data start (‘l’ or ‘L’). Other parameters can be given in any
sequence. Each parameter can start with a lower-case or upper-case character, for example, ‘t0’ or ‘T0’, ‘s3’
or ‘S3’ and so one.
Bar code mode
Code
ESC i
Dec
27 105
Hex
1B 69
n =
t0
or
T0
CODE 39 (default)
n =
t1
or
T1
Interleaved 2 of 5
n =
t3
or
T3
FIM (US-Post Net)
n =
t4
or
T4
Post Net (US-Post Net)
n =
t5
or
T5
EAN 8, EAN 13, or UPC A
n =
t6
or
T6
UPC E
n =
t9
or
T9
Codabar
n =
t12
or
T12
Code 128 set A
n =
t13
or
T13
Code 128 set B
n =
t14
or
T14
Code 128 set C
n =
t130
or
T130
ISBN (EAN)
n =
t131
or
T131
ISBN (UPC-E)
n =
t132
or
T132
EAN 128 set A
n =
t133
or
T133
EAN 128 set B
n =
t134
or
T134
EAN 128 set C