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 ( E <Function 3>
[Name]
Change the memory switch
[Format]
ASCII
|
|
GS
|
|
(
|
|
E
|
|
pL
|
|
pH
|
|
fn
|
|
[a1 b18 ... b11]
|
|
...
|
|
[ak nk8 ... nk1]
|
Hex
|
1D
|
28
|
45
|
pL
|
pH
|
03
|
[a1 b18 ... b11]
|
...
|
[ak nk8 ... nk1]
|
|||||||||
Decimal
|
29
|
40
|
69
|
pL
|
pH
|
3
|
[a1 b18 ... b11]
|
...
|
[ak nk8 ... nk1]
|
[Range]
(pL + pH × 256) = 10 – 65530 (However, (pL + pH × 256) = 9 × k + 1)
fn = 3
b = 48, 49, 50
k = 1 – 7281
a: different depending on the printers
[Default]
different depending on the printers
[Description]
Changes the memory switch Msw specified by a to the values specified by b.
b
|
Function
|
---|---|
48
|
Set to OFF
|
49
|
Set to ON
|
50
|
Does not change the memory switch
Set the bit for [Reserved] to (b = 50)
|
-
Msw1 (a = 1) is set as follows:
-
MswFunctionSetting value (b)48 (OFF)49 (ON)1-1Transmission of Power-on noticeDisabledEnabled1-2Receive buffer capacityLargeSmall1-3Condition for BUSYReceive buffer full or OfflineReceive buffer full1-4Data processing for receive errorReplaced with "?"Ignored1-5Automatic line feedDisabledEnabled1-6DM-D connectionNot connectedConnected1-7#6 pin of RS-232Not usedUsed for reset signal1-8#25 pin of RS-232Not usedUsed for reset signal
-
-
[Msw1-2]: The receive buffer capacity differs, depending on the printer model.
-
[Msw1-4], [Msw1-6], [Msw1-7], [Msw1-8]: Valid only for serial interface
-
[Msw1-5]: Valid only for parallel interface
-
-
Msw2 (a = 2) is set as follows:
-
MswFunctionSetting value (b)48 (OFF)49 (ON)2-1(Reserved)Fixed to ON (Changing is prohibited)2-2Autocutter functionDisabledEnabled2-3Character code system for the simplified Chinese modelGB18030GB23122-4 – 2-8(Reserved)−−
-
Functions of Msw3 – Msw8 (a = 3 – 8) are different, depending on the printer models.
[Notes]
-
This function works only in the user setting mode.
-
The value of the memory switch is specified from bit 8 to bit 1 by b18 ... b11. When b = 50, the status of the bit applied is not changed.
-
Example:
-
Transmission data that specifies Msw1, "Transmits the Power-on notice" and does not change other settings.[Format]ASCIIGS(EpLpHfnab8b7b6b5b4b3b2b1Hex1D28450A0003013232323232323231Decimal294069100315050505050505049
-
Specifies b = 50 or depends on each model for a reserved bit.
-
Memory switches set are valid until the following operations are executed. They are not initialized by power off or ESC @.
-
-
Execution of this function.
-
Execution of memory switch setting mode by panel operation when the power is turned on (supported by some printer models.)
-
[Explanation for Msw1 (a = 1)]
-
Power-on notice specified by [Msw1-1]:
-
Power-on noticeHexDecimalNumber of bytesHeader3Bh591 byteIdentifier31h491 byteNUL00h01 byte
-
The printer transmits the Power-on notice for the following processes:
-
-
Initializing by turning on the power by switch.
-
Initializing by hardware reset.
-
Initializing by software reset, such as by transmitting Function 2.
-
Initializing after the self test.
-
-
With a serial interface, when communication with the printer uses XON/XOFF control, the XOFF code may interrupt the "Header to NUL" data string.
-
With a parallel interface, it is desirable for the host to be in a reverse idle state; however, because the host computer cannot always be in the reverse idle state, it is necessary to enter reverse mode regularly to watch for a power-on notice.
[Explanation for Msw2 (a = 2)]
-
The number of characters can be printed depends on the [Msw2-3] setting as shown in the following table.
-
Character code systemNumber of charactersGB23127,580GB1803028,553
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ESC/POS® includes patented or patent pending commands. The contents must not be disclosed
to third parties.
- Introduction
- Command Lists
- Commands in Code Order
- Applicable printers
- Command List by Model
- EU-m30
- TM-J2000, TM-J2100
- TM-L90
- TM-L90 LFC
- TM-L100
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60
- TM-P60II
- TM-P80
- TM-P80II
- TM-T100
- 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-U220
- TM-U220II
- TM-U230
- Obsolete Commands
- Commands Arranged by Function
- Print Commands
- Line Spacing Commands
- Character Commands
- Printing Paper Commands
- Label and black mark control
- Print Position Commands
- Paper Sensor Commands
- Mechanism Control Commands
- Bit Image Commands
- Bit Image
- GS ( L / GS 8 L
- GS D
- Graphics
- NV Graphics
- Download Graphics
- Panel Button Commands
- Status Commands
- Barcode Commands
- Two-dimensional Code Commands
- GS ( k
- PDF417
- QR Code
- MaxiCode
- 2-dimensional GS1 DataBar
- Composite Symbology
- Aztec Code
- DataMatrix
- Macro Function Commands
- Kanji Commands
- Miscellaneous Commands
- DLE ENQ
- DLE DC4 <fn=1>
- DLE DC4 <fn=2>
- DLE DC4 <fn=3>
- DLE DC4 <fn=7>
- DLE DC4 <fn=8>
- ESC ( Y
- ESC =
- ESC @
- ESC L
- ESC S
- ESC p
- GS ( A
- GS ( D
- GS I
- GS P
- GS g 0
- GS g 2
- GS z 0
- Response or status transmission
- Print control methods
- Beeper tone control
- Graphics drawing
- Receipt enhancement control
- Page mode control
- Customize Commands
- User setup
- GS ( E
- GS ( E <fn=1>
- GS ( E <fn=2>
- GS ( E <fn=3>
- GS ( E <fn=4>
- GS ( E <fn=5>
- GS ( E <fn=6>
- GS ( E <fn=7>
- GS ( E <fn=8>
- GS ( E <fn=9>
- GS ( E <fn=10>
- GS ( E <fn=11>
- GS ( E <fn=12>
- GS ( E <fn=13>
- GS ( E <fn=14>
- GS ( E <fn=15>
- GS ( E <fn=16>
- GS ( E <fn=48>
- GS ( E <fn=49>
- GS ( E <fn=50>
- GS ( E <fn=51>
- GS ( E <fn=52>
- GS ( E <fn=99>
- GS ( E <fn=100>
- Printer customization
- NV user memory
- User setup
- Counter Printing Commands
- Programming Examples
- Appendixes