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

ESC c 4


[Name]

Select paper sensor(s) to stop printing

[Format]

ASCII
   
ESC
  
c
  
4
  
n
Hex
1B
63
34
n
Decimal
27
99
52
n

[Range]

n = 0 – 255

[Default]

n = 0

[Description]

Selects the paper sensor(s) to use to stop printing when a paper end is detected using n as follows:
n: Bit
Binary
Function
Hex
Decimal
0
0
Roll paper near-end sensor disabled
00
0
1
Roll paper near-end sensor enabled
01
1
1
0
Roll paper near-end sensor disabled
00
0
1
Roll paper near-end sensor enabled
02
2
2
0
Roll paper end sensor disabled
00
0
1
Roll paper end sensor enabled
04
4
3
0
Roll paper end sensor disabled
00
0
1
Roll paper end sensor enabled
08
8
4 – 7
(Reserved)

[Notes]

  • It is possible to select multiple sensors to stop printing. When any sensor detects a paper-end, printing stops.
  • Some sensors are not present, depending on the printer model.
  • The names of some sensors differ, depending on the printer model.
  • The roll paper near-end sensor is enabled when either bit 0 or bit 1 is on or both are on.
  • The roll paper end sensor is enabled when either bit 2 or bit 3 is on or both are on.
  • When a paper near-end is detected, the printer stops after the current printing completed and goes offline. To resume printing, cancel the "roll paper near-end" status by replacing the roll paper.
  • If the roll paper near-end sensor is disabled and a paper near-end is detected, printing does not stop and the printer does not go offline, but the paper out LED does come on.
  • When a roll paper end is detected, the printer performs the same operations as when a roll paper near-end is detected.
  • Settings of this command are effective until 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