2016/09/02
Revision: 1 Page: 21
Command transmission
Command transmission example and printing result of easy ESC/P Raster data are the following.
ESC @ initialization
ESC (G 01 00 01
ESC (U 01 00 14 Set unit (1/180 inch)
ESC (e 02 00 00 10 Select dot size(variable1)
ESC (D 04 00 A0 05 08 04 Set resolution of Raster mode (180 x 360 DPI)
ESC i 00 00 02 08 00 01 00 FF FF FF FF FF FF FF FF A: Black 1line
CR carriage return
ESC (v 02 00 01 00 relative vertical print position (1/180 inch)
ESC i 02 00 02 08 00 01 00 FF FF FF FF FF FF FF FF B: Cyan 1line
CR carriage return
ESC (v 02 00 01 00 relative vertical print position (1/180 inch)
ESC i 01 00 02 08 00 01 00 FF FF FF FF FF FF FF FF C: Magenta 1line
CR carriage return
ESC (v 02 00 01 00 relative vertical print position (1/180 inch)
ESC i 04 00 02 08 00 01 00 FF FF FF FF FF FF FF FF D: Yellow 1line
CR carriage return
ESC (v 02 00 01 00 relative vertical print position (1/180 inch)
ESC i 00 00 02 08 00 01 00 FF FF FF FF FF FF FF FF E: Black 1line
CR carriage return
ESC (v 02 00 01 00 relative v print position (1/180 inch)
0Ch paper eject
ESC @ initialization