- 308 -
Device ID
The device ID is a character string that provides the ID, the type, and other information regarding the printer
connected to the interface. When the printer receives a request for a device ID from the host, it replies with the
following device ID:
<00>H<2E>H
MFGCITIZEN
CMDESC/POS
MDLCT-S300(*)
CLSPRINTER
*This value differs by model and model name is returned.
The first two bytes of the device ID indicate the length of the entire device ID. For a description of a request for a
device ID, refer to the “Negotiation” section.
When the host receives the device ID string of the length indicated by the first two bytes, it must do so
consecutively, without terminating the process until the entire device ID is received. If the process is terminated
halfway, the printer discards the rest of the string; when the printer receives a new request for the device ID, it
sends the device ID beginning from the first character of the ID. After receiving the ID of the length indicated by
the first two bytes, the host must carry out the termination even if the printer has data to send (Data Available). If
the host does not carry out Termination and tries to receive data, the printer sends the printer status.