Data Output
Host response must be enabled for the data to be returned to the host. This is under
COMMUNICATIONS: HOST SETTINGS:OPTION FEEDBACK. Set to SCANNER or RFID.
In summary, the firmware will report information about the operation of the last label printed. This
includes a report of the number of expected scans/reads, the number of actual scans/reads, the printer’s
internal JobID, the printer’s internal SubJobId and the data. One response per label is returned to the
host. This includes each voided and retried label. The format of the printer response message is:
<A; B; C; D; E; F>[CR]
Where,
A is device type – “S” for scanner, “R” for RFID, etc…
B is the resulting status - “F” for Faulted label, “C” for entire label complete, "U" for unknown.
C is the number of expected reads (barcodes/tags). (2 characters)
D is the number of good reads. (barcodes/tags) (2 characters)
E is the printer’s internal JobId:SubJobId. (4 characters each)
F is the data read, delimited with ";" if multiple reads.
An example of a successful label would be:
<S;C;03;03;0002:0001;DATA1;DATA2;DATA3>[CR]
An example of a failed label that was retried successfully:
<S;F;02;01;0002:0001;DATA1>[CR]
<S;C;02;02;0002:0001;DATA1;DATA2>[CR]
For RFID tags write and write/verify the data returned is in the same format as it was written. Write
returns entire tag data. Write/verify returns data written. Read returns data and length requested in
specified format.
Write sample response:
<R;C;00;00;0013:0001>[CR]
Write/Verify hexadecimal sample response:
<R;C;01;01;0012:0001;446174616D61782077726974657320524649442062657374>[CR ]
Read hexadecimal Response:
<R;C;01;01;0013:0001;446174616D61782077726974657320524649442062657374>[CR ]
Write/Verify ASCII sample response:
<R;C;01;01;0012:0001;
Datamax writes RFID best
>[CR ]
Read ASCII Response:
<R;C;01;01;0013:0001;
Datamax writes RFID best
>[CR ]