Obtain History Data (Lw); Release Return Error (Sub); Printer Status (Mg) - SATO CL408 Programming Reference Manual

E/pro programming reference
Hide thumbs Also See for CL408:
Table of Contents

Advertisement

OBTAIN HISTORY DATA (LW)

This command enables the printer to send 500-items at a time of CR/LF history data to the host. Avoid any
transmission to the printer while history data is being sent to the host. Also avoid the inclusion and use of this
command in the print data.
When the Item Number command is not in the receive data, or the command is incorrect, the item number is saved
as "*****" and the status as "3" in the history. The Item Number Error may occur at the beginning of print operation
and cease operation.
HISTORY DATA
ITEM
1
Management Flag
2
Item Number
3
Status
RETURN HISTORY DATA BYTES & FORMAT
1
5
STX
Item Number

RELEASE RETURN ERROR (SUB)

This command enables the printer to release from an error and resume printing of the item where the error
occurred. The host also sends an ENQ command to confirm execution. Avoid the inclusion and use of this
command in the print data.

PRINTER STATUS (MG)

Receipt of SOH followed by MG causes the printer to return information bounded by an STX-ETX pair that reports
the current operating status of the printer.
PARAMETERS
BYTE
1
Printer Type
2
Print Resolution (dots per inch)
E/Pro Programming Reference
Unit 6: Bi-Directional Communications
DESRCIPTION
00: Received
01: Issued
02: Cancel
03: Item Number Error
04: BCC Error
05: Designation of Print after Occurance
06: Cancel after Error Occurance
07: Analyzing Unprinted Items
08: Unprocessed Error due to Power Removal
2
2
Item Status
CR/LF
VALUE
Item Number
DESCRIPTION
00: Thermal Transfer
01: Direct Thermal
00: 203
01: 305
6-4
BYTES
1
5
2
5
2
Item status
PN: 9001096E
1
ETX

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents