CONFIDENTIAL
Paper roll Miscellaneous commands GS ( H
Ver. 10.0 1 p. 429
■Process ID response is the “header to NUL” data shown below:
(*1)[Process ID] is same data as the parameters of this function (
d1
,
d2
,
d3,
d4).
■Process ID (
d1
,
d2
,
d3,
d4) is specified by a character string data format. When the strings are specified in
ascending order (“0001” ~ “9999”), confirming for the processing order becomes easy.
■When the transmitting of a process ID response occurs while some untransmitted process ID is being
stored, the printer transmits the latest process ID only.
Example:
There are three lines of printing data, and a process ID (“0001,” “0002,” and “0003”) is specified for each
line. (When the host receives the process ID response “0003,“ the host can judge that “the three line
printing is completed.”)
• When the host PC is always able to receive data from the printer, the printer transmits three process ID
responses (“0001,” “0002,” “0003”).
• When the host PC isn’t able to receive data from the printer when the second line of printing is done,
the printer transmits two process ID responses (“0001,” “0003”).
• When the host PC isn’t able to receive data from the printer when the first and second lines of printing
are done, the printer transmits one process ID response (“0003”).
■When unprocessed data is cleared by DLE DC4 (
fn
= 8) or “Recovers from an error after clearing the
receive and print buffers” of DLE ENQ or others, it is cleared without transmitting the process IDs that are
related to the cleared data.
■When specifying process an ID response by this function, execute response confirmation processing on the
host PC for the responses from the printer.
■ See Notes for response transmission process.
Send data Hex Decimal Data quantity
Header 37H 55 1 byte
Identifier 22H 34 1 byte
Process ID(*1) 20H ~ 7EH 32 ~ 126 4 byte
NUL 00H 0 1 byte