Epson | Commands | ||
Notes | |||
Function | (ASCII, Decimal, Hexadecimal) | ||
|
|
| |
Left Margin Set | ASCII: ESC l n | Sets left margin n character spaces from | |
| Dec: 27 108 n | printhead home position; must be at least 5 | |
| Hex: 1B 6C n | spaces (5 cpi) to left of right margin. | |
|
| n=0 to 255 | |
|
| n=0: home position | |
Right Margin Set | ASCII: ESC Q n | Sets right margin n character spaces | |
| Dec: 27 81 n | from printhead home position; must be | |
| Hex: 1B 51 n | greater than the left margin. | |
|
| n=1 to 255 | |
|
| n=0: command ignored | |
Auto Justification | ASCII: ESC a n | Justifies text according to the value of | |
| Dec: 27 97 n | n: | |
| Hex: 1B 61 n | n=0: Left | |
|
| n=1: Center | |
|
| n=2: Right | |
|
| n=3: Full (left & right)– use carriage | |
|
| return only at end of paragraph. | |
Unidirectional Print On/ | ASCII: ESC U n | Turns unidirectional (left to right only) | |
Off | Dec: 27 85 n | printing on and off. | |
| Hex: 1B 55 n | n=1: Unidirectional printing On | |
|
| n=0: Unidirectional printing Off (nor- | |
|
| mal bidirectional printing) | |
ASCII: ESC < | Turns on unidirectional (left to right) | ||
Printing | Dec: 27 60 | printing for one line. | |
| Hex: 1B 3C |
| |
Backspace | ASCII: BS | Prints data in print buffer and moves | |
| Dec: 8 | one character to the left according to the | |
| Hex: 08 | current character pitch. | |
Delete One Character | ASCII: DEL | Deletes last character in print buffer. | |
| Dec: 127 |
| |
| Hex: 7F |
| |
Vertical Control |
|
| |
Set 1/ | ASCII: ESC 2 | Sets line spacing of 1/ | |
6 | Dec: 27 50 | 6 | |
Line Spacing | inch). This is standard typewriter spac- | ||
| Hex: 1B 32 | ing. | |
Set 1/ | ASCII: ESC 0 | Sets line spacing of 1/ | |
8 | Dec: 27 48 | 8 | |
Line Spacing | inch). | ||
| Hex: 1B 30 |
| |
|
|
|
ML790/791 Printer Handbook | 83 |