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-T20IV-L
  • TM-T20X
  • TM-T20X-II
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82IV-L
  • TM-T82X
  • TM-T82X-II
  • TM-T83III
  • TM-T83IV
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS ( H   <Function 49>


[Name]

Specifies the offline response

[Format]

ASCII
   
GS
  
(
  
H
  
pL
  
pH
  
fn
  
m
  
d
Hex
1D
28
48
03
00
31
30
d
Decimal
29
40
72
3
0
49
48
d

[Range]

(pL + pH × 256) = 3
fn = 49
m = 48
d = 0 – 2, 48 – 50

[Default]

d = 0

[Description]

Specifies or turns off the offline response transmission.
d
Function
0, 48
Turns off the offline response transmission.
1, 49
Specifies the offline response transmission (not including the offline cause).
2, 50
Specifies the offline response transmission (including the offline cause).
When specifying offline response transmitting (d = 1, 2, 49, 50), offline response is transmitted when the printer goes offline for any of the following causes.
  • Any paper cover open
  • Printing stop because of paper out
  • Automatically recoverable error
  • Recoverable error
  • Unrecoverable error

[Notes]

  • Confirm that untransmitted offline responses aren't stored in the printer when specifying or turning off offline response transmitting by this function.
    • When operating with a serial interface, make sure that the host PC is able to receive data before executing this function.
    • When operating with a parallel interface, change the host PC to the reverse mode for confirming any responses.
  • Offline response is the "header to NUL" data shown below:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    23h
    35
    1 byte
    Offline cause (∗1)
    40h – 7Fh
    64 – 127
    0 – 10 byte
    NUL
    00h
    0
    1 byte
  • (∗1) When specifying (d = 1, 49), [Offline cause] is not added. Details of the offline cause differ, depending on each model.
  • When transmitting an offline response occurs at the same time that an untransmitted offline response is being stored, the printer transmits the latest offline response only.
  • You can get detailed information of offline occurrences by using the combination of ASB status and offline response with offline cause.
  • When specifying offline 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 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