Appendix F EPSON LQ 2550 and ESC/P2 Quick Reference
Appendix F EPSON LQ 2550 and ESC/P2 Quick Reference
F-19
F-20
Table B-8 (Cont.): Further GP - Control Sequences, supported by
Table 9: ESC / P2 Commands
EPSON LQ Emulation Mode
(Native Commands)
Escape Sequence
Mnemonic Function
ESC ( c P1 P2 P3 P4 P5
Set page format
ESC [ ; P2 ; P3 ; P4 ; P5 ; P6 ; P7
SP
z
defined units.
see Appendix G
BH
Barcode Header
P1 = 04 00
BARCODE Programming
P2:
Barcode type
tm =
P2 + P3 x 256
P3:
Height of barcode
tm: top margin in units tm
P4:
Width of the thin bars
bm = P4 + P5 x 256
P5:
Width of the thin gaps
bm: bottom margin in units bm
P6:
Ratio width to thin (bars / gaps)
P7:
Uni-directional or bi-directional
ESC ( C P1 P2 P3
Set page length in defined unit
printing
0 :
or not programmed:
Define page length in units
means no changes
P1 =
02 00
1 :
uni-directional printing in
pl = P2 + P3 x 256
LQ
2 :
bi-directional printing in
ESC ( V P1 P2 P3
Set absolute vertical print position
LQ
3 :
uni-directional printing in
Define absolute vertical print position in
NLQ
units
4 :
bi-directional printing in
P1 =
02 00
NLQ
avpp = P2 + P3 x 256
Note:
A switch from uni-directional to bi-
margin in defined units
directional printing is only possible if the
parameter
UNI-DIRECT.CMD
is set to
YES
ESC ( v P1 P2 P3
Set relative vertical print position
via operator panel or ESC-sequence.
ESC [ ? 0 h
SMBC
Set Mode Barcode
units
ESC [ ? 0
l
RSBC
Reset Mode Barcode
rvpp = P2 + P3 x 256
Escape Sequence
Function
Sets top and bottom margins in the
avpp: define print position from top
Define relative vertical print position in
P1 =
02 00
rvpp: moves the print position in defined
units.