P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template 2.0 Command Reference
- 90 -
8. Setting and Retrieving Command Details
ESC iXC1 Retrieve number of copies setting
ASCII: ESC i X C 1 00h 00h
Hexadecimal: 1B 69 58 43 31 00 00
Parameters
None
Description
Retrieves the number of copies specified to be printed.
4-byte data is returned from the printer.
[1]:
02h (Fixed)
[2]:
00h (Fixed)
[3, 4]:
nh1 nh2 settings
nh1+(nh2*256): Print start received character count
The retrieved value is a value specified by a static command.
Example
When the number of copies is set to 500:
Code: ESC i X C 1 00h 00h
(1Bh 69h 58h 43h 31h 00h 00h)
Returned value: 02h 00h F4h 01h (F4h+01h*256=244+256=500)