
Star PRNT Command Specifications
2-86
The following shows a communication example of this command.
Communication Example 1
Host Transmission Data
Printer return data
ESC GS ETX
0x00
0x00 0x00
→
←
ESC GS ETX
0x00
0x00 0x00 0x00 0x00
(Reference Counter)
Print Data + ESC GS ETX
0x01
0x00 0x00
→
←
ESC GS ETX
0x01
0x00 0x00 0x01 0x00
(Reference Update)
Print Data + ESC GS ETX
0x01
0x00 0x00
→
←
ESC GS ETX
0x01
0x00 0x00 0x02 0x00
(Reference Update)
Communication Example 2
Host Transmission Data
Printer return data
ESC GS ETX
0x02
0x02 0x00
ESC GS ETX
0x00
0x02 0x00
→
←
ESC GS ETX
0x00
0x02 0x00 0x00 0x00
(Clear Counter)
(Reference Counter)
Print Data + ESC GS ETX
0x01
0x02 0x11
→
←
ESC GS ETX
0x01
0x02 0x11 0x01 0x00
(Reference Update)
Print Data + ESC GS ETX
0x01
0x02 0x12
→
←
ESC GS ETX
0x01
0x02 0x12 0x02 0x00
(Reference Update)
Print Data + ESC GS ETX
0x01
0x02 0x13
→
←
ESC GS ETX
0x01
0x02 0x13 0x03 0x00
(Reference Update)
Print Data + ESC GS ETX
0x01
0x02 0x14
→
←
ESC GS ETX
0x01
0x02 0x14 0x04 0x00
(Reference Update)
<Example using n1, n2>
• Specify n1+n2 x 256 as the document ID and check the compatibility with the document ID in the same way.
• When it is not possible to check compatibility of the source and returned data, fix at n1 = 0, n2 = 0.