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


[Name]

Select count mode (A)

[Format]

ASCII
   
GS
  
C
  
1
  
aL
  
aH
  
bL
  
bH
  
n
  
r
Hex
1D
43
31
aL
aH
bL
bH
n
r
Decimal
29
67
49
aL
aH
bL
bH
n
r

[Range]

(aL + aH × 256) = 0 – 65535
(bL + bH × 256) = 0 – 65535
n = 0 – 255
r = 0 – 255

[Default]

(aL + aH × 256) = 1
(bL + bH × 256) = 65535
n = 1, r = 1

[Description]

Sets the serial number counter range, the stepping amount, and the repetition number.
Count mode
Parameters
Counter range
Minimum value
Maximum value
Count-up
(aL + aH × 256) < (bL + bH × 256) and (n ≠ 0) and (r ≠ 0)
aL + aH × 256
bL + bH × 256
Count-down
(aL + aH × 256) > (bL + bH × 256) and (n ≠ 0) and (r ≠ 0)
bL + bH × 256
aL + aH × 256
Count-stop
(aL + aH × 256) = (bL + bH × 256) or (n = 0) or (r = 0)
  • aL, aH and bL, bH specify the serial number counter ranges (maximum or minimum value).
  • n specifies the stepping amount for counting up or down.
  • r specifies the repetition number with the 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]

  • When this command is executed, the internal counter which counts the repetition number of printing is 0.
  • This command does not change the counter value. The counter value is set by GS C 2   [obsolete command] .
  • The value of the counter is updated when executing GS c   [obsolete command] by following the count mode set by this command.
    • In the Count-up mode, if the counter value exceeds the maximum value (bL + bH × 256), counting is restarted from the minimum value (aL + aH × 256).
    • In the Count-down mode, if the counter value is below the minimum value (bL + bH × 256), counting is restarted from the maximum value (aL + aH × 256).
    • In the Count-stop mode, the counter value is not changed.
  • The settings for a range of a counter set by GS C ;   [obsolete command] , stepping amount of incrementing or decrementing of a counter value, the repetition number of printing is disabled by processing this command.
  • Settings of this command are effective until GS C ;   [obsolete command] is executed, ESC @ is executed, the printer is reset, or the power is turned off.
 

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