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

FS g 2   [obsolete command]


[Name]

Read from NV user memory

[Format]

ASCII
   
FS
  
g
  
2
  
m
  
a1
  
a2
  
a3
  
a4
  
nL
  
nH
Hex
1C
67
32
00
a1
a2
a3
a4
nL
nH
Decimal
28
103
50
0
a1
a2
a3
a4
nL
nH

[Range]

different depending on the printers

[Description]

Transmits the data in NV user memory.
  • a1, a2, a3, and a4 specify the starting address of transmission data as (a1 + a2 × 256 + a3 × 65536 + a4 × 16777216).
  • nL and nH specify the amount of transmission data as (nL + nH × 256) bytes.

[Recommended Functions]

  • This is an unrecommended command. It is supported by some printer models but will not be supported by future models.
  • GS ( C is recommended to read from NV user memory. Operation of GS ( C offers the following improvements:
    • Data can be controlled by record.
    • Each record can be redefined, retrieved, or deleted by keycode.
    • Memory can be used efficiently because the printer controls the data.
    • Transmission data can be identified.
    • The amount of definition area remaining can be confirmed.

[Notes]

  • NV user memory is the memory area used for storing character font data in non-volatile memory.
  • Transmission data [Header + data + NUL] as follows is transmitted:
  • Send data
    Hex
    Decimal
    Number of bytes
    Header
    5Fh
    95
    1 byte
    NV user memory data
    20h – FEh
    32 – 254
    (nL + nH × 256) bytes
    NUL
    00h
    0
    1 byte
  • Writing data to the NV user memory is enabled by FS g 1   [obsolete command] .
  • When you use this function, obey the following rules.
    • When the host PC transmits the function data, transmit the next data after receiving the corresponding data (the header – NUL) from the printer
    • When operating with a serial interface, be sure to configure operation so that the host computer only uses the printer when it is READY.
    • With a parallel interface, a [Header to NUL] is stored first in the transmission buffer with the other transmission data (except for ASB status). When the host enters Reverse Mode, the data is transmitted in order from the beginning. Data that exceeds the transmission buffer (99 bytes) is ignored. When using the command, the host should enter Reverse Mode immediately and start processing the status.
  • With serial interface, when communication with the printer uses XON/XOFF control, the XOFF code may interrupt the "Header to NUL" data string.
  • User NV memory data can be identified to other transmission data according to specific data of the transmission data block. When the header transmitted by the printer is [Hex = 5Fh / Decimal = 95], treat NUL [Hex = 00h / Decimal = 0] as a data group and identify it according to the combination of the header.
 

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