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 c   [obsolete command]


[Name]

Print counter

[Format]

ASCII
   
GS
  
c
Hex
1D
63
Decimal
29
99

[Description]

Stores the serial number counter value in the print buffer and counts up or down the serial number counter value.

[Recommended Functions]

This command is supported by some printer models and will not be supported by future models.
ESC/POS does not have a substitute command.

[Notes]

  • If the counter value is smaller than minimum value or bigger than maximum value when executing this command, the counter value is changed based on the count mode set before stored in the print buffer.
    • In the Count-up mode, the counter value is set to the minimum.
    • In the Count-down mode, the counter value is set to the maximum.
    • In the Count-stop mode, the counter value is not changed.
  • After setting the current counter value in the print buffer as print data (a character string), the printer updates counter value based on the count mode set.
    • In count-up mode, the counter value is updated as [counter value + increase and decrease value].
    • In count-down mode, the counter value is updated as [counter value - increase and decrease value].
    • In count-stop mode, the counter value is not updated.
  • The counter value in the print buffer is printed when the printer receives a print command or is in the buffer-full state.
  • The counter print mode is set by GS C 0   [obsolete command] .
  • The count mode (count-up, count-down, count-stop) and details of counter (maximum value, minimum value, stepping amount of incrementing or decrementing of a counter value, the repetition number of printing) are set by GS C 1   [obsolete command] or GS C ;   [obsolete command] .
 

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