Print width, character width and height, Barcodes – Bematech MP-2100 TH User Manual
Page 20

User’s Manual
20
Print Width, Character Width And Height
ASCII
Dec
Hex
Description
DC2
18
12
Condensed mode (42 columns) off.
DC4
20
14
One-line expanded mode off.
ESC d n
100
64
Double height on (n=1) or off (n=0).
ESC H
72
48
48-column mode on (default).
ESC P
80
50
48-column mode on (default).
ESC SI
15
0F
Condensed mode (64 columns) on.
ESC SO
14
0E
One-line expanded mode on.
ESC V
86
56
One-line double height on.
ESC W n
87
57
Expanded mode on (n=1) or off (n=0).
SI
15
0F
Condensed mode (64 columns) on.
SO
14
0E
One-line expanded mode on.
Comand
GS h n
GS w n
GS H n
GS f n
GS k 0 d
1
...d
11
NUL
GS k 0 65 11d
1
...d
11
GS k 1 d
1
...d
6
NUL
GS k 66 6 d
1
...d
6
GS k 2 d
1
...d
12
NUL
Hexadecimal
Decimal
1D 68 n
29 104 n
1D 77 n
29 119 n
1D 48 n
29 72 n
1D 66 n
29 102 n
1D 6B 00 d
1
...d
11
00
29 107 0 d
1
...d
11
0
1D 6B 41 0B d
1
...d
11
29 107 55 11 d
1
...d
11
1D 6B 01 d
1
...d
6
00
29 107 1 d
1
...d
6
0
1D 6B 42 06 d
1
...d
6
29 107 66 6 d
1
...d
6
1D 6B 02 d
1
...d
12
00
29 107 2 d
1
...d
12
0
Description
Sets the height n of the barcode generated – each height unit corresponds
t a dot of 0.125 mm, so the final height is n x 0.125 mm where 1 - n
- 255. The default is n=162.
Determines the width of the barcode, where n=2 corresponds to nor-
mal width, n=3 is double width and n=4 is quadruple width. The
default is n=3.
Choose the position of the human readable information (HRI) of the
barcode.
n=0: No HRI
n=1: On top of the barcode (default)
n=2: On the bottom of the barcode
n=3: Both on top and on the bottom of the barcode.
Sets the font used to print the human readable information (HRI). The
default is n=0.
n=0 or n=48 – normal
n=1 or n=49 – condensed
Prints an UPC-A barcode where d
1
...d
11
is a sequence of 11 bytes
containing the barcode information with 48 -d -57.
Prints an UPC-E barcode where d
1
...d
6
is a sequence of 6 bytes containing
the barcode information with 48 -d -57.
Prints an EAN-13 barcode where d
1
...d
12
is a sequence of 12 bytes
containing the barcode information with 48 -d -57.
Barcodes
Barcodes are obtained using the GS command sequences show below. Please note that all parameters and
numbers are in decimal format, unless noted.