
Commands arranged by topic
General operation
ASCII | Dec. | Hex. | Description |
ESC @ | 64 | 40 | Initialize Printer |
ESC U l/O | 85 | 55 | Turn Unidirectional Mode On/ Off |
ESC EM n | 2.5 | 19 | Control Paper Loading/Ejecting |
|
|
| n = “R” Ejects the 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 l/&inch Line | Spacing |
ESC 2 | 50 | 32 | Select | Spacing |
ESC3n | 51 | 33 | Set | Spacing |
ESC+n | 43 | 2B | Set |
Page format
| ASCII | Dec. | Hex. | Description |
| ESC(cnn | 40 99 | 28 63 | Set Page Format |
|
|
|
| ESC(c4Omlm2nln2 |
|
|
|
| m=ml +m2x256 |
|
|
|
| m: Top margin in defined units |
|
|
|
| n=nl+n2x256 |
|
|
|
| n: Bottom margin in defined units |
| ESC(Cnn | 40 67 | 28 43 | Set Page Length in Defined Unit |
|
|
|
| ESC(C20nZ n2 |
|
|
|
| n=nl+n2x256 |
|
|
|
| n: Number of defined units |
. | ESCCn | 67 | 43 | Set Page Length in Lines |
|
|
| n = Number of lines |