
CHAPTER 4 Control commands list
ESC c 4
[Name] | Select paper sensor(s) to stop printing |
|
| ||
[Format] | ASCII | ESC | c | 4 | n |
| Hex | 1B | 63 | 34 | n |
| Decimal | 27 | 99 | 52 | n |
[Range] | 0 ≤ n ≤ 255 |
|
|
|
|
[Default] | n = 0 |
|
|
|
|
[Description] | Selects whether to stop printing or not when the paper runs out using n as follows: | ||||
|
|
|
|
|
|
| Bit | Off/On | Hex | Decimal | Function |
| 0 | Off | 00 | 0 | Paper near end sensor disabled. |
| On | 01 | 1 | Paper near end sensor enabled. | |
|
| ||||
| 1 | Off | 00 | 0 | Paper near end sensor disabled. |
| On | 02 | 2 | Paper near end sensor enabled. | |
|
| ||||
| - | - | - | Undefined |
ESC c 5
[Name] | Enable/disable panel buttons |
|
|
| |
[Format] | ASCII | ESC | c | 5 | n |
| Hex | 1B | 63 | 35 | n |
| Decimal | 27 | 99 | 53 | n |
[Range] | 0 ≤ n ≤ 255 |
|
|
|
|
[Default] | n = 0 |
|
|
|
|
[Description] | Enables or disables the panel buttons. |
|
|
-When the LSB of n is 0, all buttons are enabled.
-When the LSB of n is 1, all buttons are disabled.
ESC d
[Name] | Print and feed n lines |
|
| |
[Format] | ASCII | ESC | d | n |
| Hex | 1B | 64 | n |
| Decimal | 27 | 100 | n |
[Range] | 0 ≤ n ≤ 255 |
|
|
|
[Default] | None |
|
|
|
[Description] | Prints the data in the print buffer and feeds n lines. |
ESC e
[Name] | Print and reverse feed n lines |
|
| |
[Format] | ASCII | ESC | e | n |
| Hex | 1B | 65 | n |
| Decimal | 27 | 101 | n |
[Range] | 0 ≤ n ≤ 1 |
|
|
|
[Default] | None |
|
|
|
[Description] | Prints the data in the print buffer and feeds n lines in the reverse direction. |