ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 74 -
5. Control Command Details
h (height)
h n1 n2
Height=n1+n2*256 (dots)
48height480
If height<48, height=48.
If height>480, height=480.
However, the height is as shown below with tc.
131heightMaximum width (GS1 Databar Standard)
71≤heightMaximum width (GS1 Databar Truncated)
71≤heightMaximum width (GS1 Databar Stacked)
239heightMaximu m w idth (GS1 Databar Stacked Omni)
62heightMaximum width (GS1 Databar Limited)
134heightMaximu m w idth (GS1 Databar Expanded)
If height<min., height=min.
If height>max., height=max.
Maximum width depends on each models. Please refer to Appendix B:
Specifications.
However, the height is as shown below with te.
203dpi : If height<48, height = 25.
300dpi : If height<48, height = 37.
However, the height is as shown below with th.
203dpi : If height<48, height = 29.
300dpi : If height<48, height = 43.
w
(width)
w0: extra small
w1: small
w2: medium
w3: large
E or e
(parentheses deletion)
e0: ON
e1: OFF
o
(GS1 Databar symbols
model)
o0: GS1 Databar Standard
o1: GS1 Databar Truncated
o2: GS1 Databar Stacked
o3: GS1 Databar Stacked Omnidirectional
o4: GS1 Databar Limited
o5: GS1 Databar Expanded Standard
o6: GS1 Databar Expanded Stacked
c
(number of horizontal
characters for GS1 Databar
Expanded Stacked)
c: o. of horizontal characters
This must be an even value where 2no. of horizontal characters20.
z
(ratio between thick and
thin bars)
z0: (3:1)
z1: (2.5:1)
z2: (2:1)
f
(equalize bar lengths)
f0: OFF
f1: ON