Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS ( H   <Function 48>


[Name]

Specifies the process ID response

[Format]

ASCII
   
GS
  
(
  
H
  
pL
  
pH
  
fn
  
m
  
d1
  
d2
  
d3
  
d4
Hex
1D
28
48
06
00
30
30
d1
d2
d3
d4
Decimal
29
40
72
6
0
48
48
d1
d2
d3
d4

[Range]

(pL + pH × 256) = 6
fn = 48
m = 48
d1 = 32 – 126
d2 = 32 – 126
d3 = 32 – 126
d4 = 32 – 126

[Description]

Saves the specified process ID related to the processed data just before this function.
  • (d1, d2, d3, d4) specifies the process ID. The process ID is able to be related to printing data and any command data without a Real-time commands.
  • When the related data is processed, the process ID is transmitted to the host PC.

[Notes]

  • The time when the response is transmitted differs depending on the related data.
    • When the related data is printing data, the process ID response is transmitted when the printing is completed.
    • When the related data is any data without the commands described above, the process ID response is transmitted at the time of processing the data.
  • Process ID response is the "header to NUL" data shown below:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    22h
    34
    1 byte
    Process ID (∗1)
    20h – 7Eh
    32 – 126
    4 byte
    NUL
    00h
    0
    1 byte
  • (∗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 (n = 2) 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 program example and print sample for ESC i   [obsolete command] and ESC m   [obsolete command] for description of the response transmission process.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top