2.3. Standard Command Details ....................................................................................................................... 2-3
2.3.1. Font style and Character Set ............................................................................................................. 2-3
ESC RS F n ..................................................................................................................................................... 2-3
ESC GS t n ...................................................................................................................................................... 2-4
ESC R n .......................................................................................................................................................... 2-9
ESC / n .......................................................................................................................................................... 2-10
ESC SP n ...................................................................................................................................................... 2-10
ESC & c1 c2 n d1…d48 .................................................................................................................................. 2-11
ESC & c1 c2 n ............................................................................................................................................... 2-12
ESC % n ........................................................................................................................................................ 2-12
2.3.2. Kanji characters .............................................................................................................................. 2-13
ESC p ............................................................................................................................................................ 2-13
ESC $ n ......................................................................................................................................................... 2-13
ESC s n1 n2 .................................................................................................................................................. 2-14
ESC t n1 n2 ................................................................................................................................................... 2-14
ESC r c1 c2 d1...dk ........................................................................................................................................ 2-15
ESC i n1 n2 ................................................................................................................................................... 2-16
ESC W n ........................................................................................................................................................ 2-17
ESC h n ......................................................................................................................................................... 2-17
ESC E ............................................................................................................................................................ 2-18
ESC F ............................................................................................................................................................ 2-18
ESC – n ......................................................................................................................................................... 2-19
ESC _ n ......................................................................................................................................................... 2-19
SI ................................................................................................................................................................... 2-21
2.3.4. Horizontal Direction Printing Position .............................................................................................. 2-22
ESC l n .......................................................................................................................................................... 2-22
ESC Q n ........................................................................................................................................................ 2-22
ESC D n1 n2…nk NUL .................................................................................................................................. 2-23
ESC D NUL ................................................................................................................................................... 2-23
ESC GS A n1 n2 ............................................................................................................................................ 2-24
ESC GS R n1 n2 ........................................................................................................................................... 2-24
Star PRNT Command Specifications
ESC GS a n ................................................................................................................................................... 2-24
2.3.5. Line Spacing .................................................................................................................................... 2-25
ESC a n ......................................................................................................................................................... 2-25
ESC z n ......................................................................................................................................................... 2-26
ESC J n ......................................................................................................................................................... 2-27
ESC I n .......................................................................................................................................................... 2-27
2.3.6. Page Control Commands ................................................................................................................ 2-28
ESC C n ........................................................................................................................................................ 2-28
ESC C 0 n ..................................................................................................................................................... 2-28
2.3.7. Top margin ...................................................................................................................................... 2-29
ESC RS T n ................................................................................................................................................... 2-29
2.3.8. Page Function ................................................................................................................................. 2-30
ESC GS h 0 k m n ......................................................................................................................................... 2-30
2.3.9. Cutter Control .................................................................................................................................. 2-31
ESC d n ......................................................................................................................................................... 2-31
2.3.10. Reduced Printing Function Command Details ................................................................................. 2-32
ESC GS c h v ................................................................................................................................................ 2-32
ESC GS P 0................................................................................................................................................... 2-33
ESC GS P 1................................................................................................................................................... 2-34
ESC GS P 2 n ................................................................................................................................................ 2-34
ESC GS P 4 nL nH ........................................................................................................................................ 2-36
ESC GS P 5 nL nH ........................................................................................................................................ 2-36
ESC GS P 6................................................................................................................................................... 2-37
ESC GS P 7................................................................................................................................................... 2-37
ESC GS P 8................................................................................................................................................... 2-37
2.3.12. Bit Image Graphics .......................................................................................................................... 2-38
ESC K n1 n2 d1...dk ...................................................................................................................................... 2-38
ESC L n1 n2 d1...dk ...................................................................................................................................... 2-39
ESC k n1 n2 d1...dk ....................................................................................................................................... 2-40
ESC X n1 n2 d1...dk ...................................................................................................................................... 2-41
ESC GS S m xL xH yL yH n [d11 d12...d1k] .................................................................................................. 2-42
ESC GS X m xL xH yL yH p1 p2 p3 p4 n [d1 d2...dk] .................................................................................... 2-44
2.3.13. Logo ................................................................................................................................................ 2-45
ESC GS ( L pL pH m fn [parameter] ............................................................................................................. 2-45
ESC GS 8 L p1 p2 p3 p4 m fn [parameter] .................................................................................................... 2-45
<Function 48> ESC GS ( L pL pH m fn (fn=48) ............................................................................................. 2-46
<Function 48> ESC GS 8 L p1 p2 p3 p4 m fn (fn=48) ................................................................................... 2-46
<Function 51> ESC GS ( L pL pH m fn (fn=51) ............................................................................................. 2-47
<Function 51> ESC GS 8 L p1 p2 p3 p4 m fn (fn=51) ................................................................................... 2-47
Star PRNT Command Specifications
<Function 64> ESC GS ( L pL pH m fn d1 d2 (fn=64) ................................................................................... 2-48
<Function 64> ESC GS 8 L p1 p2 p3 p4 m fn d1 d2 (fn=64) ......................................................................... 2-48
<Function 65> ESC GS ( L pL pH m fn d1 d2 d3 (fn=65) .............................................................................. 2-49
<Function 65> ESC GS 8 L p1 p2 p3 p4 m fn d1 d2 d3 (fn=65) .................................................................... 2-49
<Function 66> GS ( L pL pH m fn kc1 kc2 (fn=66) ........................................................................................ 2-50
<Function 66> GS 8 L p1 p2 p3 p4 m fn kc1 kc2 (fn=66) .............................................................................. 2-50
<Function 67> ESC GS ( L pL pH m fn a kc1 kc2 b xL xH y L yH [c d1 ... dk] 1 ... [c d1 ... dk] b (fn=67) ..... 2-51
<Function 67> ESC GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b xL xH y L yH [c d1 ... dk] 1 ... [c d1 ... dk] b (fn=67)2-51
<Function 69> ESC GS 8 L p1 p2 p3 p4 m fn kc1 kc2 x y (fn=69) ................................................................ 2-53
ESC GS ) L pL pH fn [parameter] .................................................................................................................. 2-54
2.3.14. Bar Code ......................................................................................................................................... 2-59
ESC b n1 n2 n3 n4 d1...dk RS ...................................................................................................................... 2-59
2.3.15. Two-Dimensional Bar Code QR Code Command Details ............................................................... 2-62
ESC GS y S 0 n ............................................................................................................................................. 2-64
ESC GS y S 1 n ............................................................................................................................................. 2-64
ESC GS y S 2 n ............................................................................................................................................. 2-64
ESC GS y D 1 m nL nH d1 d2 … dk .............................................................................................................. 2-65
ESC GS y D 2 a m1 n1L n1H d11 d12 ••• d1k m2 n2L n2H d21 d22 ••• d2k ml ••• dlk.................................. 2-66
ESC GS y P ................................................................................................................................................... 2-67
2.3.16. Two-Dimensional Bar Code PDF417 Command Details ................................................................. 2-68
ESC GS x S 0 n p1 p2 ................................................................................................................................... 2-70
ESC GS x S 1 n ............................................................................................................................................. 2-70
ESC GS x S 2 n ............................................................................................................................................. 2-70
ESC GS x S 3 n ............................................................................................................................................. 2-71
ESC GS x D nL nH d1 d2 … dk ..................................................................................................................... 2-71
ESC GS x P ................................................................................................................................................... 2-71
2.3.17. GS1 2D Code, Compound symbol Command Details ..................................................................... 2-72
ESC GS ( k pL pH cn fn [parameter].............................................................................................................. 2-72
<Function 367> ESC GS ( k pL pH cn fn n (cn=51, fn=67) ........................................................................... 2-73
ESC ACK CAN .............................................................................................................................................. 2-80
ESC GS # m N n1 n2 n3 n4 LF NUL ............................................................................................................. 2-82
2.3.20. Status .............................................................................................................................................. 2-83
ESC RS a n ................................................................................................................................................... 2-83
ESC RS E n ................................................................................................................................................... 2-84
ESC GS ETX s n1 n2 .................................................................................................................................... 2-85
ESC GS ) I pL pH fn [parameter] ................................................................................................................... 2-88
ESC RS d n ................................................................................................................................................... 2-95
ESC RS r n .................................................................................................................................................... 2-96
2.3.22. Special Command ........................................................................................................................... 2-97
ESC RS R n .................................................................................................................................................. 2-97
2.3.24. Black Mark Related Command Details .......................................................................................... 2-102
ESC d n ....................................................................................................................................................... 2-102
ESC C n ...................................................................................................................................................... 2-103
ESC C 0 n ................................................................................................................................................... 2-103
2.3.25. 2 Color Printing Command Details ................................................................................................ 2-104
ESC RS c n ................................................................................................................................................. 2-104
ESC RS C n ................................................................................................................................................ 2-105
SUB ............................................................................................................................................................. 2-109
EM ............................................................................................................................................................... 2-109
ESC GS BEL m t1 t2 .................................................................................................................................... 2-110
ESC GS EM DC1 m n1 n2 ........................................................................................................................... 2-111
Star PRNT Command Specifications
ESC GS EM DC2 m n1 n2 ........................................................................................................................... 2-112
ESC GS B 0 ................................................................................................................................................. 2-114
ESC GS B 1 ................................................................................................................................................. 2-114
ESC GS B 2 ................................................................................................................................................. 2-115
ESC GS B 3 ................................................................................................................................................. 2-115
2.3.29. Magnetic Card Reader Commands ................................................................................................ 2-116
ESC M C ...................................................................................................................................................... 2-116
ESC M D ...................................................................................................................................................... 2-116
ESC M E ....................................................................................................................................................... 2-116
ESC M F ....................................................................................................................................................... 2-11 7
ESC M G ...................................................................................................................................................... 2-117
ESC M J ....................................................................................................................................................... 2-11 7
ESC GS B @ ................................................................................................................................................ 2-11 8
ESC RS B A ................................................................................................................................................. 2-118
ESC GS B B ................................................................................................................................................. 2-119
ESC GS B C ................................................................................................................................................. 2-11 9
3. CHARACTER CODE TABLES .................................................................................................................. 3-1
4.2. Appendix 2: Status Specifications ............................................................................................................ 4-10
4.2.1. Automatic Status ............................................................................................................................. 4-10
4.2.2. Printer Status Transmission Specification for Ethernet I/F ............................................................... 4-16
4.7.2. Magnetic Card Data Transmission Format ...................................................................................... 4-29
4.8. Appendix 10 Specifications when a melody speaker is connected .......................................................... 4-30
5. SPECIAL APPENDIX ................................................................................................................................. 5-1
5.1. COMMAND LIST FOR EACH MODEL ...................................................................................................... 5-1
Star PRNT Command Specifications
This specification is a command specification for StarPRNT of line thermal printer.
Information contained herein applies to the following models.
< Applicable Models:>
・mPOP
・SM-L Series
SM-L200
SM-L300
・SM-S Series
SM-S210i (For Japanese market only)
SM-S220i (Other than Japanese market)
SM-S230i (Other than Japanese market)
・SM-L Series
SM-T300i
SM-T400i
・mC-Print3
MCP31
・mC-Print2
MCP20
MCP21
Star PRNT Command Specifications
Commands
Name
ESC RS F
Select font
ESC GS t
Specify code page
ESC GS =
Write blank code page data
ESC R
Specify international character set
ESC /
Specify/cancel slash zero
ESC SP
Set ANK right space
ESC &
Register/delete 12 x 24 dot font download characters
ESC %
Set/cancel download characters
Commands
Name
ESC p
Set to JIS Kanji character mode
ESC q
Cancel JIS Kanji character mode
ESC $
Set/cancel JIS Kanji character modes
ESC s
Set two byte Kanji characters left/right spaces
ESC r
Register Chinese download characters
Commands
Name
ESC i
Set/cancel the double wide/high printing
ESC W
Set/cancel the double wide printing
ESC h
Set/cancel the double high printing
ESC E
Select emphasized printing
ESC F
Cancel emphasized printing
ESC -
Select/cancels underling mode
ESC 4
Select white/black inverted printing
ESC 5
Cancel white/black inverted printing
SI
Select upside-down printing
DC2
Cancel upside-down printing
1. COMMAND FUNCTION LIST
• Font style and character set
• Chinese characters
ESC t Set 1 byte Kanji characters left/right spaces
• Kanji character control commands are ignored on printers not installed with Kanji character fonts (those intended for
overseas).
• All Kanji character control commands are ignored if the specification for the location of use is specified as SBCS (single
byte countries) by the memory switch.
• Print modes
ESC _ Select/cancels upperline mode
Star PRNT Command Specifications 1-1
Commands
Name
ESC l
Set left margin
ESC Q
Set right margin
ESC D
Set/cancel horizontal tab position
ESC GS A
Move absolute position
ESC GS R
Move relative position
ESC GS a
Specify position alignment
Commands
Name
LF
Line feed
ESC a
Feed paper n lines
ESC z
Select line feed amount
ESC 0
Specify line spacing to 3 mm
ESC J
n/4 mm line feed
ESC I
n/8 mm line feed
Commands
Name
FF
Form feed
ESC C
Set page length to n lines
ESC C 0
Set page length in 24 mm units
Commands
Name
ESC RS T
Set top margin
Commands
Name
ESC GS h 0
Invert 180˚
Commands
Name
ESC d
Paper cutter instruction
Commands
Name
ESC GS c h v
Set reduced printing
• Horizontal direction position
HT Move print position to horizontal tab position
• Line spacing
• Page control commands
• Top margin
• Page Function
• Cutter control
• Reduced Printing Function Command
Star PRNT Command Specifications 1-2
Commands
Name
ESC GS P 0
Selects page mode
ESC GS P 1
Cancels page mode
ESC GS P 3
Set print region in page mode
ESC GS P 4
Specify character vertical direction absolute position
ESC GS P 5
Specify character vertical direction relative position
ESC GS P 6
Prints
ESC GS P 7
Cancel printing and page mode
ESC GS P 8
Cancel print data
Commands
Name
ESC K
Standard density bit image
ESC L
High density bit image
ESC k
Fine bit image
ESC X
Fine bit image
ESC GS S m
Graphics Raster data printing
ESC GS X m
Commands
Name
ESC GS ( L (fn=0, 48)
Register logo data
ESC GS ( L (fn=3, 51)
Send key code of the registered NV graphics
ESC GS ( L (fn=64)
Send all key code of the NV graphics
ESC GS ( L (fn=65)
Erase entire NV graphics data
ESC GS ( L (fn=66)
Erase the specified NV graphics data
ESC GS ( L (fn=67)
Set the specified NV graphics data
ESC GS ( L (fn=69)
ESC GS 8 L (fn=0, 48)
Register logo data
ESC GS 8 L (fn=3, 51)
Send key code of the registered NV graphics
ESC GS 8 L (fn=64)
Send all key code of the NV graphics
ESC GS 8 L (fn=65)
Erase entire NV graphics data
ESC GS 8 L (fn=66)
Erase the specified NV graphics data
ESC GS 8 L (fn=67)
Set the specified NV graphics data
ESC GS 8 L (fn=69)
Print the specified NV graphics data
ESC GS ) L (fn=48)
Send the registered individual logo CRC
ESC GS ) L (fn=49)
Send the registered individual NV graphics memory capacity
ESC GS ) L (fn=50)
all key code of the registered NV graphics
ESC GS ) L (fn=51)
Send the registered NV graphics data
Commands
Name
ESC b
Print bar code
• Page Mode Commands
ESC GS P 2 Select printing direction
• Bit image Graphics
• Logos
Graphics Raster data printing (Compress data)
Print the specified NV graphics data
• Bar code
Star PRNT Command Specifications 1-3
Commands
Name
ESC GS y S0
Set QR code model
ESC GS y S1
Set QR code mistake correction level
ESC GS y D1
Set QR code data
ESC GS y D2
Set QR code data (Manual)
ESC GS y P
Print QR code
Commands
Name
ESC GS x S0
Set PDF417 bar code size
ESC GS x S1
Set PDF417 ECC (security level)
ESC GS x S2
Set PDF417 module X direction size
ESC GS x S3
Set PDF417 module aspect ratio
ESC GS x D
Set PDF417 bar code data
ESC GS x P
Print PDF417 bar code
Commands
Name
ESC GS ( k(cn=51,fn=67)
Set 2D module siz
ESC GS ( k(cn=51,fn=71)
Set The maximum width of the 2D GS1DataBar Expanded Stacked
ESC GS ( k(cn=51,fn=80)
Store data in 2D symbol saving region
ESC GS ( k(cn=51,fn=81)
Print 2D symbol data of symbol saving region
ESC GS ( k(cn=52,fn=67)
Compound symbol: Set module size
Compound symbol: Set The maximum width of the 2D GS1DataBar
Expanded Stacked
ESC GS ( k(cn=52,fn=72)
Compound symbol: Set HRI Font
ESC GS ( k(cn=52,fn=80)
Compound symbol: Store data in symbol saving region
ESC GS ( k(cn=52,fn=81)
Compound symbol: Print symbol data of symbol saving region
Commands
Name
ESC @
Command initialization
ESC ACK CAN
Real-time printer reset
ESC ?
Reset printer
Commands
Name
ESC GS #
Set memory switch
• QR Code commands
ESC GS y S2 Set QR code cell size
• PDF417 commands
• 2D GS1 code, Compound symbol Commands
ESC GS ( k(cn=52,fn=71)
• Initialization Command
• Memory Switch Command
Star PRNT Command Specifications 1-4
Commands
Name
ESC RS a
Set status transmission conditions
ESC ACK SOH
Real-time printer status (ASB Status)
ESC RS E
Clear ETB counter, ETB status
ESC GS ETX
Send print end counter and initialize
Print data cancel function
Data time out setting
ESC GS ) I (fn = 48)
Transmit multibyte font kind
ESC GS ) I (fn = 49)
Transmit Printer information
ESC GS ) I (fn = 50)
ESC GS ) I (fn = 51)
ESC GS ) I (fn = 52)
Transmit external device information
Commands
Name
ESC RS d
Set print density
ESC RS r
Set printing speed
Commands
Name
ESC RS R
Specify the special location of use
Commands
Name
ESC GS ) U (fn = 48)
Selects UTF code
ESC GS ) U (fn = 64)
Setting of the Unicode ambiguous character
ESC GS ) U (fn = 65)
Commands
Name
ESC d
Paper cut instruction
FF
Form feed
ESC C
Set page length to n lines
Commands
Name
ESC RS c
Specify printing color in 2 color printing mode
ESC RS C
Select/cancel 2 color printing mode
ESC 4
Specify white/black inversion and printing color red
ESC 5
Cancel white/black inversion and specify printing color black
• Status
ETB Update ETB status
Transmit Remaining battery power
Transmit installed I/F kind
• Print settings
• Special Commands
• UTF Commands
Set the UTF-8 CJK Unified Ideograph font
• Black mark Commands
ESC C 0 Set page length in 24 mm units
• 2 color printing related commands
Star PRNT Command Specifications 1-5
Commands
Name
ESC BEL
Set pulse width for external device drive
BEL
External device 1 drive instruction
FS
External device 1 drive instruction
SUB
External device 2 drive instruction
EM
External device 2 drive instruction
ESC GS BEL
Ring buzzer
ESC GS EM DC1
External buzzer drive pulse condition settings
ESC GS EM DC2
External buzzer drive execution
Commands
Name
ESC GS s R
Commands
Name
ESC GS B 0
ESC GS B 1
Status Request
ESC GS B 2
Barcode data request
ESC GS B 3
Commands
Name
ESC M E
Read ISO 2 tracks
ESC M J
Read JIS II track
Commands
Name
ESC GS B @
ESC RS B A
Status request
ESC GS B B
Customer display data request
ESC GS B C
• External device drive
• Melody Speaker Command
• Barcode Reader Command
Playback of received data
Send data to a barcode reader
Buffer clear
• Magnetic Card Reader Commands
ESC M C Read ISO track
ESC M D Read ISO track
ESC M F Read ISO 3 tracks
ESC M G Read ISO track (Track 3)
EOT Cancel MSR mode
• Customer Display Command
Send data to a customer display
Star PRNT Command Specifications 1-6
Buffer clear
2. COMMAND DETAILS
2.1. Explanation of Terms
• Reception buffer
The buffer for storing data (reception data) received from the host, as it is called the reception buffer.
Reception data is temporarily stored in the reception buffer, then processed sequentially.
• Line buffer
The buffer for storing image data for printing is called the line buffer.
• Line buffer full
The state in which the buffer has no more space available is called line buffer full. When the buffer is full in standard mode,
data in the line buffer is printed and a line feed is performed when new print data is processed. This is the same as a Line
Feed. When the line buffer is full in the page mode, the printer move the print position to the head of the next line then starts
with the new print data.
• Top of line
The top of line is a state that satisfies the following conditions.
- There is currently no print data in the line buffer.
- The position is not specified with the horizontal direction position command.
• Printable region
This is the maximum printable area with the printer’s specifications.
• Print region
This is the printing area specified by a command. (Print region ≤ printable region)
• ANK character base line
* For SM-S and T series, the base line is the upper end of each data.
• ASB Function
Sends the automatic status to the host each time the printer’s status changed.
• NSB Function
When the printer uses a parallel I/F or USB I/F, sends the automatic status each time the reverse transfer mode is entered.
When the printer uses Ethernet I/F or wireless I/F, sends the automatic status when the printer is connected to the print port
(TCP#9100). The ASB and NSB status formats are the same.
Star PRNT Command Specifications 2-1
2.2. Exception Processing
1) Undefined codes
Codes from <00>H to <1F>H are targeted. When codes not defined as commands in this region are received, they are
discarded.
(Ex.) If processing the data string of <30>H<31>H<03>H<32>H<0A>H<33>H, the printer will discard <03>H as an
undefined code.
2) Undefined commands
When data continuing the codes of ESC, FS, GS, DLE are codes not defined as commands, ESC, FS,GS and subsequent
codes are discarded.
(Ex.) If processing the data string of <30>H<1B>H<22>H<31>H<32>H, the printer will read and discard <1B>H<22>H as
an undefined command.
3) Settings outside of the defined area
Processing values outside of the defined area in commands accompanying arguments, those commands are ignored and
the preset values are unchanged.
(Ex.) If processing the data string of <1B>H<52>H<15>H, the printer will discard the data string of <1B>H<52>H<15>H
because although <1B>H<52>H is defined as a commands (ESC R), the argument <15>H is outside of the
definition. Therefore, the international character set that is already set experiences no change.
Star PRNT Command Specifications 2-2
ESC RS F n
[Name]
Select font
[Code]
ASCII
ESC
RS F n
Hex.
1B
1E
46 n Decimal
27
30
70 n
mPOP
mC-Print3
S, T Series
0
Font-A (12 x 24 dots)
O O O
1
Font-B (9 x 24 dots)
O O O
2
Font-C ( 9 x 17 dots)
X O O
2.3. Standard Command Details
2.3.1. Font style and Character Set
[Defined Region] 0≤n≤2
[Initial Value] n = 0
[Function] Selects a font
n Font
mC-Print2
SM-L Series SM-
Star PRNT Command Specifications 2-3
ESC GS t n
[Name]
Select code page
[Code]
ASCII
ESC
GS t n
Hex.
1B
1D
74 n Decimal
27
29
116 n
n
Code Page
mPOP
mC-Print3
0
Normal*
O
1
CodePage437 (USA,Std. Europe)
O
2
Katakana
O
3
CodePage437 (USA,Std. Europe)
O
4
Codepage 858 (Multilingual)
O
5
Codepage 852 (Latin-2)
O
6
Codepage 860 (Portuguese)
O
7
Codepage 861 (Icelandic)
O
8
Codepage 863 (Canadian French)
O
9
Codepage 865 (Nordic)
O
10
Codepage 866 (Cyrillic Russian)
O
11
Codepage 855 (Cyrillic Bulgarian)
O
12
Codepage 857 (Turkey)
O
13
Codepage 862 (Israel (Hebrew) )
O
14
Codepage 864 (Arabic)
O
15
Codepage 737 (Greek)
O
16
Codepage 851 (Greek)
O
17
Codepage 869 (Greek)
O
18
Codepage 928 (Greek)
O
19
Codepage 772 (Lithuanian)
O
20
Codepage 774 (Lithuanian)
O
21
Codepage 874 (Thai)
O
32
Codepage 1252 (Windows Latin-1)
O
33
Codepage 1250 (Windows Latin-2)
O
34
Codepage 1251 (Windows Cyrillic)
O
64
Codepage 3840 (IBM-Russian)
O
65
Codepage 3841 (Gost)
O
66
Codepage 3843 (Polish)
O
67
Codepage 3844 (CS2)
O
68
Codepage 3845 (Hungarian)
O
69
Codepage 3846 (Turkish)
O
70
Codepage 3847 (Brazil-ABNT)
O
71
Codepage 3848 (Brazil-ABICOMP)
O
72
Codepage 1001 (Arabic)
O
73
Codepage 2001 (Lithuanian-KBL)
O
[Defined Region] Spec. A
For SBCS
0≤ n ≤ 21,32 ≤ n ≤ 34,64 ≤ n ≤ 79, 96 ≤ n ≤ 98, n=102, n=255
For DBCS
n=0,128
0≤ n ≤ 255
Spec. B
For SBCS
0≤ n ≤ 21,32 ≤ n ≤ 34,64 ≤ n ≤ 79, 96 ≤ n ≤ 98, n=102, n=255
For DBCS
0 ≤da ≤ 255 (Font-A data)
0 ≤db ≤ 255 (Font-B data)
0 ≤ dc ≤ 255 (Font-C data)
k = (n1 + n2 x 256) / 2
[Initial Value] - - [Function] A blank code page indicates a character code table where character codes from 80h to FFh are all blank.
A blank code page can be selected using the ESC GS t n command n = 255.
The following is the data written to the blank code page. Font-A: 1 character = 48 bytes 6144 bytes = 48 bytes x 128 characters Font-B: 1 character = 48 bytes 6144 bytes = 48 bytes x 128 characters Font-C: 1 character = 34 bytes 4352 bytes = 34 bytes x 128 characters
Send Font-A, Font-B and Font-C data continuously.
For mPOP, mC-Print2 and mC-Print3 which does not support Font-C, send Font A and Font-B data only.
The printer is reset when writing with this command is completed.
n Font
mC-Print2
SM-L Series SM-
Star PRNT Command Specifications 2-7
Star PRNT Command Specifications 2-8
ESC R n
[Name]
Specify international character set
[Code]
ASCII
ESC
R n
Hex.
1B
52 n
Decimal
27
82 n
n
International Characters
0, 48
USA
1, 49
France
2, 50
Germany
3, 51
UK
4, 52
Denmark
5, 53
Sweden
6, 54
Italy
7, 55
Spain
8, 56
Japan
9, 57
Norway
10, 65
Denmark II
11, 66
Spain II
12, 67
Latin America
13, 68
Korea
14, 69
Ireland
64
Legal
[Defined Area] 0≤n≤14
n = 64
48≤n≤57 (”0”≤n≤”9”)
65≤n≤69 (”A”≤n≤”E”)
[Initial Value] Memory switch setting
When installed with Japanese language characters and DBCS setting: Fixed at n=8
When installed with Hangeul language characters and DBCS setting: Fixed at n=13
[Function] Specifies international characters
When installed with Japanese language characters and DBCS setting, this command is ignored.
When installed with Hangeul language characters and DBCS setting, this command is ignored.
Star PRNT Command Specifications 2-9
ESC / n
[Name]
Specify/cancel slash zero
[Code]
ASCII
ESC / n
Hex.
1B
2F n
Decimal
27
47 n
n
International Characters
0, 48
Cancels slash zero
1, 49
Specifies slash zero
ESC SP n
[Name]
Set ANK right space
[Code]
ASCII
ESC
SP n
Hex.
1B
20 n
Decimal
27
32 n
[Defined Area] n = 0, 1, 48, 49
[Initial Value] Memory switch setting
[Function] Specifies and cancels slash zeros.
[Defined Area] 0≤n≤15
48≤n≤57 (”0”≤n≤”9”)
65≤n≤70 (”A”≤n≤”F”)
[Initial Value] Memory switch setting
[Function] Specify the right space amount of ANK characters in n dots.
The ANK character width is "left space amount” + "ANK font dot count” + right space amount.”
(See the information on character specifications in the appropriate printer specifications manual for
details on the ANK font dot count.)
Standard mode and page mode can be set independently of each other.
Star PRNT Command Specifications 2-10
ESC & c1 c2 n d1…d48
[Name]
Register 12 x 24 dot font download characters
[Code]
ASCII
ESC
&
c1
c2 n d1
...
d48
Hex.
1B
26
c1
c2 n d1
...
d48
Decimal
27
38
c1
c2 n d1
...
d48
d1 ● ● ● ● ● ● ● ●
d2 ● ● ● ● ○ ○ ○ ○
d3 ● ● ● ● ● ● ● ●
d4 ● ● ● ● ○ ○ ○ ○
d5 ● ● ● ● ● ● ● ●
d6 ● ● ● ● ○ ○ ○ ○
d7 ● ● ● ● ● ● ● ●
d8 ● ● ● ● ○ ○ ○ ○
d9 ● ● ● ● ● ● ● ●
d10 ● ● ● ● ○ ○ ○ ○
d11 ● ● ● ● ● ● ● ●
d12 ● ● ● ● ○ ○ ○ ○
d13 ● ● ● ● ● ● ● ●
d14 ● ● ● ● ○ ○ ○ ○
d15 ● ● ● ● ● ● ● ●
d16 ● ● ● ● ○ ○ ○ ○
d17 ● ● ● ● ● ● ● ●
d18 ● ● ● ● ○ ○ ○ ○
d19 ● ● ● ● ● ● ● ●
d20 ● ● ● ● ○ ○ ○ ○
d21 ● ● ● ● ● ● ● ●
d22 ● ● ● ● ○ ○ ○ ○
d23 ● ● ● ● ● ● ● ●
d24 ● ● ● ● ○ ○ ○ ○
d25 ● ● ● ● ● ● ● ●
d26 ● ● ● ● ○ ○ ○ ○
d27 ● ● ● ● ● ● ● ●
d28 ● ● ● ● ○ ○ ○ ○
d29 ● ● ● ● ● ● ● ●
d30 ● ● ● ● ○ ○ ○ ○
d31 ● ● ● ● ● ● ● ●
d32 ● ● ● ● ○ ○ ○ ○
d33 ● ● ● ● ● ● ● ●
d34 ● ● ● ● ○ ○ ○ ○
d35 ● ● ● ● ● ● ● ●
d36 ● ● ● ● ○ ○ ○ ○
d37 ● ● ● ● ● ● ● ●
d38 ● ● ● ● ○ ○ ○ ○
d39 ● ● ● ● ● ● ● ●
d40 ● ● ● ● ○ ○ ○ ○
d41 ● ● ● ● ● ● ● ●
d42 ● ● ● ● ○ ○ ○ ○
d43 ● ● ● ● ● ● ● ●
d44 ● ● ● ● ○ ○ ○ ○
d45 ● ● ● ● ● ● ● ●
d46 ● ● ● ● ○ ○ ○ ○
d47 ● ● ● ● ● ● ● ●
d48 ● ● ● ● ○ ○ ○ ○ bit7
bit6
bit5
bit4
bit3
bit2
bit1
Bit0 bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Horizontal 12 Dots
Vertical
[Defined Area] c1 = 1, 49
c2 = 1, 49
32≤n≤127
0≤d≤255
[Initial Value] - - [Function] Registers 12 x 24 dot font download characters to the nth address.
Download characters can be registered to <20>H to <7F>H.
If one has been already registered to an address, it is overwritten.
When parameters c1 and c2 and n are outside of the defined area, subsequent data is handled as normal
data.
24 Dots
●: Font data○: Invalid data
Star PRNT Command Specifications 2-11
ESC & c1 c2 n
[Name]
Delete 12 x 24 dot font download characters
[Code]
ASCII
ESC
&
c1
c2 n
Hex.
1B
26
c1
c2 n
Decimal
27
38
c1
c2 n
ESC % n
[Name]
Specifies/cancels ANK download characters
[Code]
ASCII
ESC % n Hex.
1B
25 n
Decimal
27
37 n
n
Download characters
0, 48
Cancels ANK download characters
1, 49
Specifies ANK download characters
[Defined Area] c1 = 1, 49
c2 = 0, 48
32≤n≤127
[Initial Value] - - [Function] Deletes 12 x 24 dot font download characters registered to the nth address.
[Defined Area] - - [Initial Value] JIS Kanji character mode cancelled
[Function] Specifies JIS Kanji character mode
When in JIS Kanji character mode, character codes are all handled as 2 byte Kanji characters (First byte:
upper code; second byte: lower code).
This command is ignored for models not equipped with Japanese and Kanji characters and when the
specification for the location of use is specified as SBCS (single byte countries) by the memory switch.
This command is ignored when UTF-8 is specified (command: ESC GS t 128) for DBCS.
[Defined Area] - - [Initial Value] JIS Kanji character mode cancelled
[Function] Cancel JIS Kanji character mode
This command is ignored when UTF-8 is specified (command: ESC GS t 128) for DBCS.
[Defined Area] - - [Initial Value] Memory switch setting
[Function] Specifies and cancels the shift JIS Kanji character mode.
When in shift JIS Kanji character mode, character codes are all handled as 2 byte Kanji characters (First
byte: upper code; second byte: lower code).
This command is ignored for models not equipped with Japanese and Kanji characters and when the
specification for the location of use is specified as SBCS (single byte countries) by the memory switch.
This command is ignored when UTF-8 is specified (command: ESC GS t 128) for DBCS.
Star PRNT Command Specifications 2-13
ESC s n1 n2
[Name]
Set 2 byte Kanji character left/right spaces
[Code]
ASCII
ESC
s
n1
n2
Hex.
1B
73
n1
n2
Decimal
27
115
n1
n2
ESC t n1 n2
[Name]
Set 1 byte Kanji character left/right spaces
[Code]
ASCII
ESC
t
n1
n2
Hex.
1B
74
n1
n2
Decimal
27
116
n1
n2
[Defined Area] 0≤n1≤7 48≤n1≤55 (”0”≤n1≤”7”)
0≤n2≤15
48≤n2≤57 (”0”≤n2≤”9”)
65≤n2≤70 (”A”≤n2≤”F”)
[Initial Value] Memory switch setting
[Function] Adds n1 dots left space amount and n2 dots right space amount to Kanji characters.
The Kanji character width is "left space amount” + "Kanji font dot count” + "right space amount.”
(See the information on character specifications in the appropriate printer specifications manual for
details on the Kanji font dot count.)
This command is ignored for models not equipped with Chinese fonts (for overseas) and when the
specification for the location of use is specified as SBCS (single byte countries) by the memory switch.
Standard mode and page mode can be set independently of each other.
[Defined Area] 0≤n1≤7 48≤n1≤55 (”0”≤n1≤”7”)
0≤n2≤15
48≤n2≤57 (”0”≤n2≤”9”)
65≤n2≤70 (”A”≤n2≤”F”)
[Initial Value] Memory switch setting
[Function] Adds n1 dots left space amount and n2 dots right space amount to single-byte Kanji characters.
The single-byte Kanji character width is "left space amount” + "single-byte Kanji font dot count” + "right
Space amount.”
(See the information on character specifications in the appropriate printer specifications manual for
details on the single-byte Kanji font dot count.)
This command is ignored for models not equipped with Chinese fonts (for overseas) and when the
specification for the location of use is specified as SBCS (single byte countries) by the memory switch.
Standard mode and page mode can be set independently of each other.
Star PRNT Command Specifications 2-14
ESC r c1 c2 d1...dk
[Name]
Register Chinese download characters
[Code]
ASCII
ESC
r
c1
c2
d1
...
dk Hex.
1B
72
c1
c2
d1
...
dk
Decimal
27
114
c1
c2
d1
...
dk
Specification
c1
c2
Registration count
Japanese char./JIS type
c1=77h
21h≤c2≤7Eh
94 characters
Japanese char./Shift JIS type
c1=ECh
40h≤c2≤7Eh
80h≤c2≤9Eh
94 characters
Kanji characters
c1=FEh
A1h≤c2≤FEh
94 characters
Taiwan char./JIS type
c1=FEh
A1h≦c2≦FEh
94 characters
Hangeul char./JIS type
c1=FEh
A1h≦c2≦FEh
94 characters
d1 ● ● ● ● ● ● ● ●
d2 ● ● ● ● ● ● ● ●
d3 ● ● ● ● ● ● ● ●
d4 ● ● ● ● ● ● ● ●
d5 ● ● ● ● ● ● ● ●
d6 ● ● ● ● ● ● ● ●
d7 ● ● ● ● ● ● ● ●
d8 ● ● ● ● ● ● ● ●
d9 ● ● ● ● ● ● ● ●
d10 ● ● ● ● ● ● ● ●
d11 ● ● ● ● ● ● ● ●
d12 ● ● ● ● ● ● ● ●
d13 ● ● ● ● ● ● ● ●
d14 ● ● ● ● ● ● ● ●
d15 ● ● ● ● ● ● ● ●
d16 ● ● ● ● ● ● ● ●
d17 ● ● ● ● ● ● ● ●
d18 ● ● ● ● ● ● ● ●
d19 ● ● ● ● ● ● ● ●
d20 ● ● ● ● ● ● ● ●
d21 ● ● ● ● ● ● ● ●
d22 ● ● ● ● ● ● ● ●
d23 ● ● ● ● ● ● ● ●
d24 ● ● ● ● ● ● ● ●
d25 ● ● ● ● ● ● ● ●
d26 ● ● ● ● ● ● ● ●
d27 ● ● ● ● ● ● ● ●
d28 ● ● ● ● ● ● ● ●
d29 ● ● ● ● ● ● ● ●
d30 ● ● ● ● ● ● ● ●
d31 ● ● ● ● ● ● ● ●
d32 ● ● ● ● ● ● ● ●
d33 ● ● ● ● ● ● ● ●
d34 ● ● ● ● ● ● ● ●
d35 ● ● ● ● ● ● ● ●
d36 ● ● ● ● ● ● ● ●
d37 ● ● ● ● ● ● ● ●
d38 ● ● ● ● ● ● ● ●
d39 ● ● ● ● ● ● ● ●
d40 ● ● ● ● ● ● ● ●
d41 ● ● ● ● ● ● ● ●
d42 ● ● ● ● ● ● ● ●
d43 ● ● ● ● ● ● ● ●
d44 ● ● ● ● ● ● ● ●
d45 ● ● ● ● ● ● ● ●
d46 ● ● ● ● ● ● ● ●
d47 ● ● ● ● ● ● ● ●
d48 ● ● ● ● ● ● ● ●
d49 ● ● ● ● ● ● ● ●
d50 ● ● ● ● ● ● ● ●
d51 ● ● ● ● ● ● ● ●
d52 ● ● ● ● ● ● ● ●
d53 ● ● ● ● ● ● ● ●
d54 ● ● ● ● ● ● ● ●
d55 ● ● ● ● ● ● ● ●
d56 ● ● ● ● ● ● ● ●
d57 ● ● ● ● ● ● ● ●
d58 ● ● ● ● ● ● ● ●
d59 ● ● ● ● ● ● ● ●
d60 ● ● ● ● ● ● ● ●
d61 ● ● ● ● ● ● ● ●
d62 ● ● ● ● ● ● ● ●
d63 ● ● ● ● ● ● ● ●
d64 ● ● ● ● ● ● ● ●
d65 ● ● ● ● ● ● ● ●
d66 ● ● ● ● ● ● ● ●
d67 ● ● ● ● ● ● ● ●
d68 ● ● ● ● ● ● ● ●
d69 ● ● ● ● ● ● ● ●
d70 ● ● ● ● ● ● ● ●
d71 ● ● ● ● ● ● ● ●
d72 ● ● ● ● ● ● ● ●
bit7
bit6
bit5
Bit4
bit3
bit2
bit1
bit0 bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0 bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Horizontal
Vertical
24 Dots
[Defined Area] 0≤d≤255
k=72
c1 and c2 differ according to specifications and code type (see table below).
[Initial Value] All spaces
[Function] Registers Chinese download characters to c1 and c2 addresses.
Those already registered to these addresses are overwritten. If c1 and c2 are outside of the defined are or
the printer is model not equipped with Chinese fonts (for overseas) and when the specification for the
location of use is specified as SBCS (single byte countries) by the memory switch, the printer discards up
to d1 and dk.
(*) The registration region is the same for Japanese characters in JIS or shift JIS.
24 Dots
●: Font data/○: Invalid data
Star PRNT Command Specifications 2-15
ESC i n1 n2
[Name]
Set/cancel the double wide/high
[Code]
ASCII
ESC
i
n1
n2
Hex.
1B
69
n1
n2
Decimal
27
105
n1
n2
mPOP
mC-Print3
0, 48
Cancels expanded high
O O O O
1, 49
Specifies 2x high expansion
O O O O
2, 50
Specifies 3x high expansion
O O O O
3, 51
Specifies 4x high expansion
O X O O
4, 52
Specifies 5x high expansion
O X O O
5, 53
Specifies 6x high expansion
O X O O n2
Expanded wide
0, 48
Cancels expanded wide
1, 49
Specifies 2x wide expansion
2, 50
Specifies 3x wide expansion
3, 51
Specifies 4x wide expansion
4, 52
Specifies 5x wide expansion
5, 53
Specifies 6x wide expansion
2.3.3. Print Mode
[Defined Area] 0≤n1≤5 48≤n1≤53 (”0”≤n1≤”5”)
0≤n2≤5
48≤n2≤53 (”0”≤n2≤”5”)
[Initial Value] n1 = 0 (Double high cancelled)
n2 = 0 (Double wide cancelled)
[Function] Specifies/cancels double high/wide for ANK characters and Kanji characters.
This command is ignored if either n1 or n2 is outside of the defined area.
n1 Expanded high
mC-Print2
SM-L200 SM-L300 SM-S, T Series
Star PRNT Command Specifications 2-16
Loading...
+ 143 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.