CHAPTER 4 Control commands list
GS ( C pL pH m fn b c1 c2 | <Function 2> |
|
|
|
|
|
|
| |||
[Format] | ASCII | GS | ( | C | pL | pH | m | fn | b | c1 | c2 |
| Hex | 1D | 28 | 43 | 05 | 00 | 00 | fn | 00 | c1 | c2 |
| Decimal | 29 | 40 | 67 | 5 | 0 | 0 | fn | 0 | c1 | c2 |
[Range] | (pL + pH x 256) = 5 | (pL = 5, pH = 0) |
|
|
|
|
|
| |||
| m = 0 |
|
|
|
|
|
|
|
|
|
|
| fn = 2, 50 |
|
|
|
|
|
|
|
|
| |
| b = 0 |
|
|
|
|
|
|
|
|
|
|
| 32 ≤ c1 ≤ 126 |
|
|
|
|
|
|
|
|
| |
| 32 ≤ c2 ≤ 126 |
|
|
|
|
|
|
|
|
| |
[Description] | Transmits the data for the record with the ID code specified by parameters c1, c2 in the NV user | ||||||||||
| memory. |
|
|
|
|
|
|
|
|
|
|
| - ESC/POS Handshaking Protocol is required for this function. |
|
GS ( C pL pH m fn b | <Function 3> |
|
|
|
|
|
| ||
[Format] | ASCII | GS | ( | C | pL | pH | m | fn | b |
| Hex | 1D | 28 | 43 | 03 | 00 | 00 | fn | 00 |
| Decimal | 29 | 40 | 67 | 3 | 0 | 0 | fn | 0 |
[Range] | (pL + pH x 256) = 3 | (pL = 3, pH = 0) |
|
|
|
|
|
| |
| m = 0 |
|
|
|
|
|
|
|
|
| fn = 3, 51 |
|
|
|
|
|
|
|
|
| b = 0 |
|
|
|
|
|
|
|
|
[Description] | The printer sends the host the number of data bytes currently used in the NV memory area. | ||||||||
| - ESC/POS Handshaking Protocol is not required for this function. |
|
GS ( C pL pH m fn b | <Function 4> |
|
|
|
|
|
| ||
[Format] | ASCII | GS | ( | C | pL | pH | m | fn | b |
| Hex | 1D | 28 | 43 | 03 | 00 | 00 | fn | 00 |
| Decimal | 29 | 40 | 67 | 3 | 0 | 0 | fn | 0 |
[Range] | (pL + pH x 256) = 3 | (pL = 3, pH = 0) |
|
|
|
|
|
| |
| m = 0 |
|
|
|
|
|
|
|
|
| fn = 4, 52 |
|
|
|
|
|
|
|
|
| b = 0 |
|
|
|
|
|
|
|
|
[Description] | The printer sends the available NV user memory. |
|
|
|
|
| |||
| - ESC/POS Handshaking Protocol is not required for this function. |
|
GS ( C pL pH m fn b | <Function 5> |
|
|
|
|
|
| ||
[Format] | ASCII | GS | ( | C | pL | pH | m | fn | b |
| Hex | 1D | 28 | 43 | 03 | 00 | 00 | fn | 00 |
| Decimal | 29 | 40 | 67 | 3 | 0 | 0 | fn | 0 |
[Range] | (pL + pH x 256) = 3 | (pL = 3, pH = 0) |
|
|
|
|
|
| |
| m = 0 |
|
|
|
|
|
|
|
|
| fn = 5, 53 |
|
|
|
|
|
|
|
|
| b = 0 |
|
|
|
|
|
|
|
|
[Description] | Transmits the key code ID for the record stored in the NV user memory. | ||||||||
| - ESC/POS Handshaking Protocol is required for this function. |
|
|