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 ( L   <Function 52>


[Name]

Transmit the remaining capacity of the download graphics memory

[Format]

ASCII
   
GS
  
(
  
L
  
pL
  
pH
  
m
  
fn
Hex
1D
28
4C
02
00
30
fn
Decimal
29
40
76
2
0
48
fn

[Range]

(pL + pH × 256) = 2
m = 48
fn = 4, 52

[Description]

Transmits the number of bytes of remaining memory (unused area) in the download graphics area.
  • ESC/POS Handshaking Protocol is not required for this function.

[Notes]

  • This function is used to send the following data groups, beginning with the Header and ending with NUL.
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    37h
    55
    1 byte
    Identifier
    32h
    50
    1 byte
    Unused capacity (∗1)
    30h – 39h
    48 – 57
    1 – 8 bytes
    NUL
    00h
    0
    1 byte
  • (∗1) The unused capacity is the total byte count for the unused area. The decimal value for the unused capacity is converted to text data and sent starting from the high order end.
  • Example:
  • If the available capacity is 120 bytes, the "120" (expressed hexadecimally as 31h, 32h, and 30h, decimally as 49, 50, and 48) is converted to 3-byte data.
  • The control information for download graphics data is included in the capacity in use.
  • Do not use this function in conjunction with download bit images (GS *   [obsolete command] ) and download characters (ESC &).
  • See [Notes for transmission process] for process sending data group.
 

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