Appendix E EPSON LQ 2550 and ESC/P2 Quick Reference

Table 9: (Cont.) ESC / P2 Commands

Escape Sequence

Function

 

 

 

 

ESC ( ^ P1 P2

Print data as characters

 

Prints n data bytes as characters, not

 

control codes

 

 

pd = P1 + P2 x 256

ESC ( G P1 P2

Select graphics mode

 

P1

=

01 00

 

 

P2

=

1 or 49

 

 

Graphics mode may be reset by ESC @.

ESC . P1 P2 P 3 P4 P5 P6

Print raster graphics

 

 

 

P1

= 0 :

graphics mode non

 

 

 

 

compressed

 

P1

= 1 :

graphics mode compressed

 

P2

= 10, 20 :

vertical resolution in 3600/v

 

 

 

 

 

DPI

 

P3

= 10, 20 :

horizontal resolution in

 

 

 

 

 

3600/h DPI

 

P4

: vertical dot count (rows of dot

 

 

 

graphics) 1 < P4 < 24

 

hzd :

horizont dot count (columns of dot

 

 

 

graphics)

 

hzd =

P5 + P6 x 256

 

Combination P2 = 10, P3 = 20 is not

 

possible.

 

 

 

 

 

 

 

 

E-23

Page 224
Image 224
Epson C I - 4 0 4 0 Cont. ESC / P2 Commands, Print data as characters, Select graphics mode, Print raster graphics, Dpi