Revision D 12/09 | Chapter 4: Programming Commands 29 |
Chapter 4: Programming Commands
Commands listed by function
Printer actions
Code (hexadecimal) | Command | Page | |
10 |
| Clear printer | 35 |
19 |
| Perform full knife cut (or code 1B 69) | 36 |
1A |
| Perform partial knife cut (or code 1B 6D) | 36 |
1B | 07 | Generate tone | 36 |
1B | 3D n | Select peripheral device (for | 36 |
1B | 40 | Initialize printer | 37 |
1B | 63 33 n | Select paper sensors to output paper end signals (parallel only) | 37 |
1B | 63 34 n | Select sensors to stop printing | 38 |
1B | 63 35 n | Enable or disable panel button | 38 |
1B | 69 | Perform full knife cut (or code 19) | 36 |
1B | 6D | Perform partial knife cut (or code 1A) | 36 |
1B | 70 n p1 p2 | Generate pulse to open cash drawer | 38 |
1B | 72 m | Set current color | 39 |
1D 56 m | Select cut mode and cut paper (or code 1D 56 m n) | 39 | |
1D 56 m n | Select cut mode and cut paper (or code 1D 56 m) | 39 | |
1D 81 m n | Set paper type (for | 40 | |
1F | 03 16 05 n | Set interpretation of “Set current color” command | 41 |
1F | 74 | Print test form | 41 |
Print and paper feed
Code (hexadecimal) | Command | Page | |
|
|
|
|
0A |
| Print and feed paper one line | 42 |
0D | Print and carriage return | 42 | |
14n | Feed n print lines | 42 | |
15 n | Feed n dot rows | 42 | |
16 n | Add n extra dot rows | 43 | |
17 |
| 43 | |
1B | 4A n | Print and feed paper | 44 |
1B | 64 n | Print and feed n lines | 44 |