Epson (ESC/P) Commands

The following section lists and describes all the Epson (ESC/P) commands.

Printer Operation
Initialization

 

 

ESC @

 

Initialize Printer

Format:

 

 

ASCII code:

ESC

@

Decimal :

27

64

Hexadecimal:

1B

4 0

Comments:

Resets the printer mode and clears the buffer of printable data on the print line preceding the command.

Selection
DC1

Select Printer

Format:

ASCII code: DC1

Decimal : 17

Hexadecimal: 11

Comments:

Returns the printer to the selected state if it has been deselected by the

printer deselect code (DC3). Does not select the printer if it has been switched off line by pressing the ON LINE button. DC1 and DC3 do not work if pin 36 on the parallel interface is low (for example, on IBM and some compatible computers).

8-8

Command Summary