Epson C I - 4 0 5 0 ESC / P2 Commands, Set page format, Set page length in defined unit

Models: C I - 4 0 4 0 C I - 4 0 5 0

1 249
Download 249 pages 30.43 Kb
Page 221
Image 221

Appendix E EPSON LQ 2550 and ESC/P2 Quick Reference

Table 9: ESC / P2 Commands

Escape Sequence

Function

 

 

ESC ( c P1 P2 P3 P4 P5

Set page format

 

Sets top and bottom margins in the

 

defined units.

 

P1 =

04 00

 

tm =

P2 + P3 x 256

 

 

tm: top margin in units tm

 

bm = P4 + P5 x 256

 

 

bm: bottom margin in units bm

ESC ( C P1 P2 P3

Set page length in defined unit

 

Define page length in units

 

P1 =

02 00

 

pl = P2 + P3 x 256

ESC ( V P1 P2 P3

Set absolute vertical print position

 

Define absolute vertical print position in

 

units

 

 

P1 =

02 00

 

avpp = P2 + P3 x 256

 

avpp:

define print position from top

 

 

margin in defined units

ESC ( v P1 P2 P3

Set relative vertical print position

 

Define relative vertical print position in

 

units

 

 

P1 =

02 00

 

rvpp = P2 + P3 x 256

rvpp: moves the print position in defined units.

E-20

Page 221
Image 221
Epson C I - 4 0 5 0, C I - 4 0 4 0 user manual ESC / P2 Commands, Set page format, Set page length in defined unit