Printer User Manual

ESC / P2 Commands Epson LQ-2550 emulation
Programmer Reference Guide U26169-J-Z716-1-7600
© Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\SNI\Mackwitz\u26169\o26169e\26169e.k05
ESC / P2 Commands
Set page format
Set page length in defined units
Set absolute vertical print position
Set relative vertical print position
Select font by pitch and point
Set unit
Set horizontal motion index (HMI)
Assign character table
Select character table
Print data as characters
Select graphics mode
Print raster graphics
Set page format
This command sets top and bottom margins in defined units.
Control sequence Hexadecimal Decimal
ESC ( c p
1
p
2
p
3
p
4
p
5
1B 28 63 p
1
p
2
p
3
p
4
p
5
27 40 99 p
1
p
2
p
3
p
4
p
5
p
1
=04 00
tm = p
2
+ p
3
* 256
tm: top margin in defined units
bm = p
4
+ p
5
* 256
bm: bottom margin in defined units