![](/images/backgrounds/155969/155969-11695x1.png)
Command Summary
Using the command summary
The following section lists and describes all the ESC/P 2 commands by topic. If a command has no parameters, it is merely listed. If it has parameters, they are explained. The parameters are indicated by lowercase italicized letters, usually n. The examples below show how the parameters are indicated.
ESC @ is a command with no parameters.
ESC U 1/0 is a command that uses 1 to turn the feature on and 0 to turn it off. ESC $ n1 n2 is a command with two parameters.
ESC D nn is a command with a variable number of parameters.
General operation
ASCII | Dec. | Hex. | Description |
ESC @ | 64 | 40 | Initialize Printer |
ESC U 1/0 | 85 | 55 | Turn Unidirectional Mode On/Off |
ESC EM n | 25 | 19 | Control Paper Loading/Ejecting |
|
|
| n = “R” Eject a sheet |
Paper feeding
ASCII | Dec. | Hex. | Description |
CR | 13 | 0D | Carriage Return |
|
| ||
FF | 12 | 0C | Form Feed |
LF | 10 | 0A | Line Feed |
ESC 0 | 48 | 30 | Select |
ESC 2 | 50 | 32 | Select 1 / |
ESC 3 n | 51 | 33 | Set n l |
ESC + n | 43 | 2B | Set |