42) Compulsory eject :<<ESC r n>> |
|
Code: <1B>h + <72>h + n | * < 0≤n≤1 >h |
*When a ticket or receipt is cramped and it is left untaken for a certain period of time, this command is used to execute compulsory eject.
*This command rotates a motor either clockwise or
| n(Hex) |
|
|
| Mode |
|
|
|
|
| 0 |
|
| Clockwise |
|
|
|
| |
| 1 |
|
| Counter clockwise |
|
|
|
| |
43) QR code print |
| :<<ESC q S E M>> |
|
|
| ||||
ESC + ”q” + S + E + M + DATA [+ ”,” + M + DATA +……] + NUL | |||||||||
HEX CODE |
| <1B>h + <71>h + S + E + M + DATA [+ <2C>h + M + DATA +….] + <00>h | |||||||
About parameter |
|
|
|
|
| ||||
1. |
| S: module size |
|
|
| ||||
|
|
| * Assign 1 module size of QR code by printer’s dot numbers. | ||||||
|
|
| * There are 5 sizes which can be assigned, 1, 2, 3, 4, 8 dots | ||||||
|
|
| * If invalid size is assigned, the printer assigns it as 4 dots | ||||||
2. | E: Correction level |
|
|
| |||||
|
|
| * Selects error correction level to be used for restoring QR symbol. | ||||||
|
|
| * Following values can be assigned. | ||||||
|
|
| * If invalid value is assigned, the printer determines it to be L. | ||||||
|
|
|
| E | Correction level | Restore. capability |
| ||
|
|
| 0 | L | 7% |
| |||
|
|
| 1 | M | 15% |
| |||
|
|
| 2 | Q | 25% |
| |||
|
|
| 3 | M | 30% |
| |||
| 3. M: Input data mode |
|
|
| |||||
|
|
| * Assign input data mode |
|
|
| |||
|
|
| * Following modes can be assigned | ||||||
|
|
| * If invalid mode is assigned, data is ignored until valid | ||||||
|
|
| Mode is assigned. |
|
|
| |||
|
|
|
| M | Input data mode |
|
|
| |
|
|
|
| “N” | Numeric mode |
|
|
| |
|
|
|
| “A” | Alpha numeric mode |
| |||
|
|
|
| “B” | 8 bit byte mode |
|
|
| |
|
|
|
| “K” | Kanji mode |
|
|
|
*If multiple modes should be input, each mode data (M + data) needs to be separated by “ , ”.
*If you want to input “ , ” and NULL in the data of 8 bit byte mode, input “ ! ” <21>h+”,” and “ ! ”<21> h + NULL.
*“ ! ” itself is input as “ ! ” + ” ! ”
*Kanji data should be input by Shift JIS code.
Restrictions
Available QR codes are from version 1 to version 14 of model 1 symbols. If input data exceeds the area to be printed, QR code is not printed.
34