Programming Codes
T480
Programmer’s Guide
Page
144
Rev A
100-14362
Controlling Barcodes
Unified Commands
To making control of linear and two dimensional barcode more consistent, all barcode
control commands will follow a similar format. The
Function
Control bar code
ASCII
[ESC] [EM] <b> <f> <v>
Hexadecimal
1BH 19H <b> <f> <v>
Decimal
<27> <25> <b> <f> <v>
Where:
<b>
Barcode type
b, 62H, 98D
General Barcodes
d, 64H, 100D
Datamatrix Barcodes
r, 72H, 114D
GS-1 Databar (RSS) Barcodes
4, 34H, 52D
Code 49 barcodes
6, 36H, 54D
Code 49 barcodes
a, 61H, 97D
Aztec Barcodes
m, 6DH, 109D
Maxicode Barcodes.
q, 71Hm 113D
QRCode
E, 45H, 69D
PDF417
c,63H,99D
Composite Barcodes.
<f>
Common Format Parameter to all barcodes
W, 57H, 87D
Minimum bar width or Scale
J, 4AH, 74D
Justification 0 = Left, 1 = Center, 3 = Right
V, 56H, 86D
Vertical Height (value*4) dots at 203 Dots per inch
G, 47H, 71D
GS1 Mode.
P, 50H, 80D
HRI Position 0
– Off, 1 = Top, 2 = Bottom, 3 = Both
F, 46H, 70D
HRI Font
H, 48H, 72D
Space above and below the barcode in dots
C, 43H, 67D
Composite Secondary Mode
Additional barcode specific controls are available
<v>
Value of the parameter.
Description
The [ESC] [EM] <b> <p> <n> command sets general barcode format
parameters. In some cases a specific barcode may set a barcode specific parameter.
For example the general element width value is generally not optimal for 2D barcodes so
each 2D barcode will use its own parameter.
General Settings
f = W, 57H, 87D
Minimum bar width or scale
Minimum bar width or Scale
f = J, 4AH, 74D
Justification
0 = Left, 1 = Center, 3 = Right