592
[DC2+PN] Request to return label pitch size
Command DC2 PN Parameter
Hexadecimal code <12>
16
<50>
16
<4E>
16
None
Initial Value None
When turning off the power -
Valid range -
Printer operation in
progress
The command can be received even during the printer
operation.
Valid range and term of
command
Error The command can be received even if an error is
occurring.
[Function]
Returns the result of label pitch measurement by each label by request from host.
[Format]
[DC2] PN
[Format of return data (normal case)]
[STX]a...a,bbb,cccccc[ETX]
Data sample)
[STX]10,203,002172[ETX]
Parameter Details Valid range
a Total number of data in bytes
* This is the total number of bytes from parameter
b and beyond. The delimiter (comma ,) between
parameters "a" and "b" and ETX are not counted.
Size of data from b to before [ETX]
b Head density 203: 203 dpi
305: 305 dpi
609: 609 dpi
c Label pitch size (dots) A fixed 6-digit
[Return data format (when command error occurs)]
[NAK]<15>
16
[Supplementary explanation]
• I-Mark and Gap needs to pass over the sensor twice in order to measure the length of label gap.
See below for the conditions to detect:
◦ Feed 2 labels by running <IK>0 command more than 2 times.
◦ Press FEED key on the printer twice to feed 2 labels.
• 000000(0x30, 0x30, 0x30, 0x30, 0x30, 0x30) is returned if the label pitch size for invalid sensor
is not finalized for the 1st feed right after power on, right after head open/close and after sensor
type switching.