Dc2+Pn Request To Return Label Pitch Size - SATO CL4NX Programming Reference Manual

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

17.16
Common Commands
for All Languages
17.16
DC2+PN
Request to return
Request to Return Label Pitch
Size
label pitch size
Command
DC2
HEX code
<12>
16
Initial value
None
When power switch is OFF
Valid range and
Valid range
term of
When printer is working
command
During an error
[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
Total number of data in bytes
*This is the total number of bytes from
parameter b and beyond.
a
The delimiter (comma ,) between parameters
"a" and "b" and ETX are not counted.
Head resolution
b
c
Label pitch size (dots)
[Return data format (when command error occurs)]
[NAK]<15>16
[Supplemental explanation]
1. 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:
(1) Feed 2 labels by running <IK>0 command more than 2 times.
(2) Press FEED button on the printer twice to feed 2 labels.
2. 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.
3. The label length to be returned inludes the gap between labels.
4. The label pitch size to be returned will show the value of last label that passes over the sensor. Therefore label will
exist in between head and sensor with a short pich label, and it may not be equal to the printed/ejected label's pitch
size. The minimum label length would be 70 mm.
5. This is available only when sensor is enabled. Returns "000000" when sensor is disabled.
6. If there is a missing label in the roll in using gap sensor, the valid label length and the distance for the missing label
are added together to be returned depending on sensor level.
7. The label length detected by the printer includes around the same amount of tolerance as print precision.
8. Print speed and print darkness gives little or no affect to the detected label length. However it may vary if you
change print speed depending on the sensitivity of the sensor.
9. Label length is measured once again at FEED when the sensor type is switched from LCD menu. When you send
DC2+PN command the label length before switching is returned. Then, printer returns the unfinalized 0 dot in the first
FEED, followed by the re-measured label length at the 2nd FEED. And label length may vary depending on the
characteristic of the sensor.
PN
Parameter
<50>16<4E>16
,aa
Command is accepted when printer is working
Command is accepted during an error occurs
468
DC2+PN
Valid range
Size of data from b to before [ETX]
203:203dpi
305:305dpi
609:609dpi
A fixed 6-digit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl6nx

Table of Contents