P-touch Template Manual/ Command Reference

Table Of Contents
P-touch Template Command Reference
- 81 -
7. Control Command Details
ESC iXC1 Retrieve number of copies setting
ASCII: ESC I X C 1 n1 n2
Decimal: 27 105 88 67 49 nd1 nd2
Hexadecimal: 1B 69 58 43 31 nh1 nh2
Parameters
nh1: 00h (Fixed)
nh2: 00h (Fixed)
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]:
nh3 nh4 settings
nh3+(nh4*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)