![](/images/backgrounds/112978/112978-12395x1.png)
How you format commands depends on the software you are using. Some software programs accept only the decimal format, while others let you type in ASCII characters. (Some programs don’t let you insert printer commands at all.) In addition, your software probably specifies certain punctuation you must use to enter the command. If your software allows you to send commands to the printer, the software manual should explain exactly what format and punctuation are required.
Using the command summary
The following section lists and describes all the 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 8 is a command with no parameters.
ESC U 1 /O is a command that uses 1 to turn the feature on and 0 to turn it off.
ESC $ nl 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 8 | 64 | 40 | Initialize Printer | ||
ESCUl/O | 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 | OD | Carriage Return | |||
FF | 12 | oc | Form | Feed | ||
LF | 10 | OA | Line | Feed | ||
ESC 0 | 48 | 30 | Select | |||
ESC2 | 50 | 32 | Select |