Supported PMU2300III
PMU2xxx Type I, II and III are integrated as PMU se r ie s .
0.13
2011/02/23
Supported CT-S291
x series is changed
accordingly.
0.14
2011/03/25
Supported CT-S310II
GS1Databar is added.
0.15
2012/06/07
Changed CT-S281 GS FF command (added MSW5-6)
0.16
Not issued
Function is added to Japanes e model only.
0.17
2014/1/8
Supported additional memory switch and command of
Corrected/Added Japanese Kanji
2014/7/30
Remarks for CT-S8xx/6xx/310II memory swtic hes are add ed.
Functions of Vietnamese characters are added.
0.20
2015/2/16
CT-S8xx/6xx typeII and CT-S251 are added.
Kanji Code Table is deleted.
0.21
2015/7/8
GS I n=92 description of CT-S251 is changed.
MSW6-3, MSW13-3 and MSW13-6 description is changed.
0.22
2016/7/8
Logo on the top page is changed.
Bluetooth setting command is updated (GS ( E)
0.23
2017/2/7
Supported CT-D150 and CT-E351
0.24
2017/6/1
Supported CT-D151 and CT-E651
Model name description of CT-P29
CT-S281BD/CT-S8x1/6x1.
BD2-222x and PMU-2xxx are deleted.
Gray Scale Command is a dded.
- GS ( z GrayBMP
- GS ( z WaterMark
Bezel LED Control Command is added.
- GS R 2 n t1 t2
Explanation about UTF -8 is added to FS 2, FS C
ESC/POS is a trade mark of SEIKO EPSON Corporation.
CITIZEN is a registered trade mark of CITIZEN WATCH CO., LTD., Japan.
CITIZEN es una marca registrada de CITIZEN WATCH CO., LTD., Japón.
T ABLE OF CONTENTS
T ABLE OF CONTENTS ............................................................................................. 2
2.1.11 CT-P29x series ...................................................................................................................................... 44
FF (At selectio n of PAGE MODE) ...................................................................................................................... 64
FF (valid only for Black mark/Label specification) ............................................................................................. 65
ESC J n ............................................................................................................................................................... 67
ESC d n ............................................................................................................................................................... 68
2.2.3 Print Character Co mmands................................................................................................................... 69
ESC SP n ............................................................................................................................................................ 70
ESC ! n ................................................................................................................................................................ 71
ESC % n .............................................................................................................................................................. 73
- 2 -
ESC & s n m [ a [p] s x a ] m-n+1 ..................................................................................................................... 74
ESC - n ................................................................................................................................................................ 76
ESC ? n ............................................................................................................................................................... 77
ESC E n ............................................................................................................................................................... 78
ESC G n .............................................................................................................................................................. 79
ESC M n .............................................................................................................................................................. 80
ESC R n .............................................................................................................................................................. 81
ESC V n ............................................................................................................................................................... 82
ESC t n ................................................................................................................................................................ 83
ESC { n ................................................................................................................................................................ 84
ESC ˜ J n (V alid in C BM-270-Compati ble Mode) ................................................................................................ 85
ESC ˜ J n (V alid in CBM100 0-Compatible Mode) ............................................................................................... 86
DC3 n (Valid in CBM-270-Compatible Mode) ..................................................................................................... 87
DC3 n (Valid in CBM1000-Compatible Mode) .................................................................................................... 89
GS ! n .................................................................................................................................................................. 90
GS B n ................................................................................................................................................................. 92
GS b n ................................................................................................................................................................. 93
2.2.4 Print Position Commands ..................................................................................................................... 94
ESC D [n] k NULL .............................................................................................................................................. 96
ESC T n ............................................................................................................................................................... 97
ESC a n ............................................................................................................................................................. 101
ESC 3 n ............................................................................................................................................................. 108
2.2.6 Bit Image Commands ......................................................................................................................... 109
ESC * m n1 n2 [d] k ......................................................................................................................................... 109
GS / m ............................................................................................................................................................... 112
GS v 0 m xL xH yL yH d1 ... dk ......................................................................................................................... 113
2.2.7 Status Commands .............................................................................................................................. 115
DLE EOT n ........................................................................................................................................................ 115
ESC u n(V alid in CBM1000-Compatible Mode) ............................................................................................... 138
ESC v ................................................................................................................................................................ 139
GS a n ............................................................................................................................................................... 140
GS r n ................................................................................................................................................................ 144
2.2.8 Paper Detecting Com mands .............................................................................................................. 146
ESC c 3 n .......................................................................................................................................................... 146
ESC c 4 n .......................................................................................................................................................... 147
ESC c 5 n .......................................................................................................................................................... 148
ESC i ................................................................................................................................................................. 151
ESC m ............................................................................................................................................................... 152
GS V m --- (1) ..................................................................................................................................................... 153
GS V m n --- (2) .................................................................................................................................................. 153
2.2.12 Bar Code Commands ....................................................................................................................... 154
GS H n ............................................................................................................................................................... 154
GS f n ................................................................................................................................................................ 155
GS h n ............................................................................................................................................................... 156
(1)GS k m [d1... dk] NUL .................................................................................................................................. 157
(2)GS k m n [d1...dn] ........................................................................................................................................ 157
GS w n .............................................................................................................................................................. 163
2.2.13 Commands for Non -volatile Memory ............................................................................................... 164
GS ( L pL pH m fn [para meter]......................................................................................................................... 164
GS 8 L p1 p2 p3 p 4 m fn [parameter] .............................................................................................................. 164
fn=2, 50: Function 50 Printing Graphics Data Stored in Print Buffer ....................................................................................... 166
fn=3, 51: Function 51 Sending the Remaining Amount of NV Graphics Memory ................................................................ 167
fn=4,52: Function 52 Sending the Remaining Amount of download graphics Memory ....................................................... 167
fn=64: Function 64 Sending Key Code List of Defined NV Graphics .................................................................................... 168
fn=65: Function 65 Erasing All Data of NV Graphics in a Lump ............................................................................................. 169
fn=66: Function 66 Erasing Specified NV Graphics Data ....................................................................................................... 169
fn=67: Function 67 Defining Raster Type Graphics Data to NV Memory .............................................................................. 170
fn=69: Function 69 Printing Specified Graphics ....................................................................................................................... 171
fn=80: Function 80 Sending Key Code List of Defined Download Graphics ........................................................................ 172
fn=81: Function 81 Erasing All Data of Download Graphics in a Lump ................................................................................. 173
fn=82: Function 82 Erasing Specified Download Graphics Data ........................................................................................... 173
fn=85: Funciton 85 Printing Specified Download Grahics Data ............................................................................................. 174
fn=112: Function 1 12 Storing Raster Ty pe Graphics Data to Print Buffer .............................................................................. 175
GS D m fn a kc1 kc2 b c d1…dk ...................................................................................................................... 176
fn=67: Function 67 Defining Windows Bitmap to NV Memory .............................................................................................. 177
fn=83: Function 83 Defining Windows Bitmap to Download Memory ................................................................................... 178
FS p n m ............................................................................................................................................................ 179
FS q n [xL xH yL yH d1...dk] 1... [xL xH yL yH d1...dk] n .................................................................................. 180
2.2.14 Kanji Control Com mands ................................................................................................................. 182
FS ! n ................................................................................................................................................................. 182
FS - n ................................................................................................................................................................. 184
FS 2 a1 a2 [d] k ................................................................................................................................................. 186
FS C n ............................................................................................................................................................... 188
FS S n1 n2 ......................................................................................................................................................... 191
FS W n .............................................................................................................................................................. 192
FS ( A pL pH f n […] .......................................................................................................................................... 193
fn=48: Function 48 Set Kanji fonts ............................................................................................................................................ 193
2.2.15 Black Mark Contro l Commands ....................................................................................................... 194
GS A m n ........................................................................................................................................................... 197
- 4 -
GS C 0 m n ........................................................................................................................................................ 198
GS c .................................................................................................................................................................. 202
GS l n1L n1H n2L n2H ...................................................................................................................................... 203
GS p n ............................................................................................................................................................... 204
2.2.16 Printer Function Setting Commands ............................................................................................... 206
GS ( E pL pH fn […] .......................................................................................................................................... 206
fn=1: Function 1 Transferring to Printer Function Setting Mode .............................................................................................. 207
fn=2: Function 2 End of Printer Function Setting Mode .......................................................................................................... 207
fn=3: Function 3 Setting Memory Switch Value ....................................................................................................................... 208
fn=4: Function 4 Sending the Set Memory Switch Value ....................................................................................................... 238
fn=5: Function 5 Setting Customized Value ............................................................................................................................. 239
fn=6: Function 6 Sending the Set Customized Value ............................................................................................................. 298
fn=7: Function 7 Copying User-defined Page ......................................................................................................................... 354
fn=8: Function 8 Defining Data by the Column Format to Character Code Page of Work Area .......................................... 355
fn=9: Function 9 Defining Data in the Raster Format to the Character Code Page of Work Area ....................................... 356
fn=10: Function 10 Erasing Data of Character Code Page Data in Work Area .................................................................... 357
fn=11: Function 1 1 Setting Communication Conditions .......................................................................................................... 358
fn=12: Function 12 Sending the Set Communication Conditions .......................................................................................... 359
fn=101: Function 101 Changing Bluetooth setting .................................................................................................................. 360
fn=102: Function 102 Sending setting of Bluetooth ................................................................................................................. 361
fn=255: Function 255 Setting All Contents Set by Printer Function Setting Mode to the State at Shipment ........................ 362
GS ( K pL pH fn m ............................................................................................................................................. 363
fn=49: Function 49 Setting Printing Density ............................................................................................................................. 364
fn=50: Function 50 Setting Printing Speed .............................................................................................................................. 365
fn=97: Function 97 Setting Number of Divisions for Head Conducting .................................................................................. 366
GS ( N pL pH fn m ............................................................................................................................................. 367
fn=48: Function 48 Selects character color .............................................................................................................................. 367
GS ( k pL pH cn fn [parameter] ........................................................................................................................ 368
fn=65: Function 65 Setting the number of digits of PDF417 ................................................................................................... 370
fn=66: Function 66 Setting the number of steps of PDF417 .................................................................................................. 370
fn=67: Function 67 Setting module width of PDF417 ............................................................................................................. 371
fn=68: Function 68 Setting the height of step of PDF417 ....................................................................................................... 371
fn=69: Function 69 Setting error correction level of PDF417 .................................................................................................. 372
fn=70: Function 70 Setting Options for PDF417 ..................................................................................................................... 373
fn=80: Function 80 Storing received data to 2D code data storage area ............................................................................... 373
fn=81: Function 81 Printing 2D code data in 2D code data storage area .............................................................................. 374
fn=65: Function 165 Specifying QRCode model .................................................................................................................... 375
fn=67: Function 167 Sets the module width of QRCode ........................................................................................................ 375
fn=69: Function 169 Setting QRCode error correction level ................................................................................................... 376
fn=80: Function 180 Storing received data to 2D code data storage area ............................................................................ 376
fn=81: Function 181 Printing 2D code data in 2D code data storage area ............................................................................ 377
fn=67: Function 367 Setting module width of 2D GS1 DataBar ............................................................................................ 378
fn=71: Function 371 Setting maximum width of 2D GS1 DataBar Expanded Stacked ...................................................... 378
fn=80: Function 380 Storing 2D GS1 DataBar data to 2D code data storage area ............................................................. 379
fn=81: Function 381 Printing 2D GS1 Databar data in 2D code data storage area ............................................................ 379
GS ( z GrayBMP , ............................................................................................................................................... 380
GS ( z Wat erMark,size,star t,kc1,kc2,pass,f eed,repeat ..................................................................................... 382
2.2.19 Other Commands ............................................................................................................................. 384
DLE ENQ n ....................................................................................................................................................... 384
DLE DC4 fn m t (Specification of f n = 1) ........................................................................................................... 385
DLE DC4 fn d1...d7 (Specifica tion of fn = 8) ..................................................................................................... 386
ESC = n ............................................................................................................................................................. 387
ESC L ................................................................................................................................................................ 389
ESC S ................................................................................................................................................................ 390
ESC p m n1 n2 .................................................................................................................................................. 391
GS ( A pL pH n m .............................................................................................................................................. 392
GS I n................................................................................................................................................................. 394
GS P x y ............................................................................................................................................................ 411
GS R 2 n t1 t2 .................................................................................................................................................... 414
3. CHARACTER CODE TABLE ............................................................................ 415
4.1.13 CT-P29x series .................................................................................................................................. 454
5.3IDENTIFICATION OF SEND STATUS ...................................................................................................... 509
5.4CAUTIONS ON BLACK MARK/LABEL PAPER ............................................................................ 510
- 7 -
1. OUTLINE
1.1 Operation Mode
The control commands used on printers covered by this document are comformed to ESC/POS.
1.2 Ch aracter Set
All print data sent from the host computer to the printer are automatically converted to one-byte alphanumeric or katakana
characters (ANK) or two-byte Kanji corresponding to the characters and symbols.
NOTE: For the contents of character set, refer to Character Code Table of this document.
1.3 Control Com mands
1.3.1 Control Command Details
Control Commands are used for controlling the operations of the printer such as starting/stopping of printing, line feeding, paper
feeding, etc. They control all functions related to printing, such as type of characters, enlargement of characters or setting of
format.
1.3.2 How to Send Control Commands
Some methods are available for sending Control Commands from the host computer to the printer. Here, a method of sending
by BASIC programming is explained.
Example 1
Let’s print a character string “CITIZEN” in enlarged (double-height, double-width) and in normal format.
Program coding
The Control Command shows that the command name for setting the size of a character is GS !. Let’s make a program using
this code. An example is shown below.
In lines 20 and 50, setting and canceling of enlarging a character is sent. As a result, lines 30 and 60 print the same character
string but line 30 prints enlarged characters and line 60 cancels the enlargement and prints in normal format.
* In this document, sample programs are in BASIC. For details of BASIC programming, refer to the manual for BASIC.
CITIZEN
CITIZEN
- 8 -
Commands
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P 62
CR
Back to printing
S・P
63
Printing in PAGE MODE and returning to STANDARD MODE
(at the selection of PAGE MODE)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
80
DC3
Specifies/cancels printing in red (black-based paper)
S 87
GS !
Specifying the character size
S・P 90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
2. DETAIL
2.1 ESC/POS Command List
2.1.1 CT-S280
Print Control Commands
FF
Print Character Commands
P 64
- 9 -
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P 107
ESC 3
Setting line feed rate of minimum pitch
S・P
○
108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P 111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Print Position Commands
GS $
GS \
Line Feed Span Command s
Bit Image Commands
Status Commands
P ○ 102
S・P
○106
Paper Detecting Command s
Panel Sw itch Commands
Macro Commands
- 10 -
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Command
Function
MODE
GS P
Page
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P 185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Buffer clear
S・P
386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
Bar Code Commands
Commands for Non-volatile Memory
Kanji Control Commands
Printer Function Setting Co mmands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 11 -
Commands
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
position (with Black mark/Label paper selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P ○ 70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P
77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
80
DC3
Specifies/cancels printing in red (black-based paper)
S 87
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.2 CT-S281
Print Control Commands
FF
MODE (at the selection of P AGE MODE)
(2)Printing of Black mark and paper feeding to the top of the print
Print Character Commands
P 60
Print Position Commands
GS $
GS \
- 12 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P
○
108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P 109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P
152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P
155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P 157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Command
Function
MODE
GS P
Page
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Line Feed Span Command s
Bit Image Commands
Status Commands
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
Bar Code Commands
Commands for Non-volatile Memory
- 13 -
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P 184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark paper/Label Paper
S・P
194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
GS l
Setting the Black mark length
S・P
203
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Buffer clear
S・P
386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P 388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
Kanji Control Commands
Black Mark and Label C ontrol Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 14 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.3 CT-S300
Print Control Commands
FF
Print Character Commands
MODE (at the selection of P AGE MODE)
(2)Printing of Black mark/Label paper and feeding paper to the
top of the print position (with Black mark/Label paper
P 64
Print Position Commands
GS $
GS \
- 15 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 16 -
Command
Function
MODE
GS P
Page
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P 185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark/Label paper
S・P
194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Commands for Non-volatile Memory
Kanji Control Commands
Black Mark Control Comm ands
Printer Function Setting Co mmands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 17 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.4 CT-S310
Print Control Commands
FF
Print Character Commands
MODE (at the selection of P AGE MODE)
(2)Printing of Black mark/Label paper and feeding paper to the
top of the print position (with Black mark/Label paper
P 64
Print Position Commands
GS $
GS \
- 18 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 19 -
Command
Function
MODE
GS P
Page
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P 185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark/Label paper
S・P
194
GS <
Initializing the printer mechanism
S・P
196
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Commands for Non-volatile Memory
Kanji Control Commands
Black Mark Control Comm ands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 20 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
position (with Black mark/Label paper
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.5 CT-S310II
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of PAGE MODE)
top of the print
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 21 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P
152
GS V
Cutting the paper
S・P ○ 153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P
155
GS h
Specifying the height of the bar code
S・P 156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 22 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 23 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
90
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.6 CT-S2000
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of P AGE MODE)
top of the print position (with Black mark/Label paper
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 24 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 25 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark paper/Label Paper
S・P 194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark/Label paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P 199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
GS l
Setting the Black mark/Label length
S・P 203
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Mark and Label Control Com mands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 26 -
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 27 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.7 CT-S4000
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of P AGE MODE)
top of the print position (with Black mark/Label paper
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 28 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 29 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark paper/Label Paper
S・P 194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark/Label paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P 199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
GS l
Setting the Black mark/Label length
S・P 203
GS p
Changing the paper type
S・P
204
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Mark and Label Control Com mands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 30 -
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 31 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.8 CT-S601/651/801/851
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of P AGE MODE)
top of the print position (with Black mark/Label paper
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 32 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 33 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark/Label paper
S・P 194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark/Label paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P 199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
GS l
Setting the Black mark/Label length
S・P 203
GS p
Changing the paper type
S・P
204
FS FF
Printing and feeding pa per to manual cut pos ition
S・P
205
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Markand LabelControl Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 34 -
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 35 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
position (with Black mark/Label paper
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
ESC ~ J
Specifies/cancels printing in red (black-based paper)
S・P
86
DC3
Specifies/cancels printing in red (black-based paper)
S 89
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.9 CT-S601 II/CT-S651 II/CT-S801 II/CT-S851 II
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of PAGE MODE)
top of the print
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 36 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 37 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
GS D
Definition to NV Memory of Windows Bitmap
S
176
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P 182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P 186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P 193
Command
Function
MODE
GS P
Page
GS FF
Printing and ejecting Black mark/Label paper
S・P
194
GS <
Initializing the printer mechanism
S・P
196
GS A
Correcting the leader position of Black mark/Label paper
S・P
197
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
GS l
Setting the Black mark/Label length
S・P
203
GS p
Changing the paper type
S・P
204
FS FF
Printing and feed ing paper to manua l cut position
S・P
205
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Markand LabelControl Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 38 -
Command
Function
MODE
GS P
Page
GS
_z_GrayBMP
GS ( z
WaterMark
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Gray Scale Commands
(
Print of the gray scale raster graphics S 380
Specifying Wat erMark Printing S 382
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
The meaning of th e number indicated on the model name i s as follows.
Nothing: Only type I
II : Only type II
(II) : Common Setting(type I and type II)
- 39 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
Printing in PAGE MODE and returning to STANDARD MODE
(at the selection of PAGE MODE)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P 74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P
77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P 79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P 92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P ○ 95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.10 CT-S251
Print Control Commands
FF
Print Character Commands
P 64
Print Position Commands
GS $
GS \
P ○ 102
S・P
○106
- 40 -
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 41 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
GS D
Definition to NV Memory of Windows Bitmap
S
176
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P 182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P 186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P 193
Command
Function
MODE
GS P
Page
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P 368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Mark and Label C ontrol Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 42 -
Command
Function
MODE
GS P
Page
GS_
_z_GrayBMP
GS ( z
WaterMark
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
GS R 2
Controlling bezel LED
S・P
414
Gray Scale Commands
(
Print of the gray scale raster graphics S 380
Specifying Wat erMark Printing S 382
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 43 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
with Black mark/Label paper
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P
77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.11 CT-P29x series
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of P AGE MODE)
top of the print position (
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 44 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P
○
108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P
152
GS V
Cutting the paper
S・P ○ 153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P
155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Command
Function
MODE
GS P
Page
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Line Feed Span Command s
Bit Image Commands
Status Commands
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
Bar Code Commands
Commands for Non-volatile Memory
- 45 -
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P 183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Buffer clear
S・P
386
ESC =
Data input control
S・P 387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
Kanji Control Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 46 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
position (with Black mark/Label paper
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P
79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P 81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P
○
95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.12 CT-D150
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of PAGE MODE)
top of the print
Print Character Commands
P 64
Print Position Commands
GS $
GS \
- 47 -
P ○ 102
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P
152
GS V
Cutting the paper
S・P ○ 153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P
155
GS h
Specifying the height of the bar code
S・P 156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 48 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 49 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
(1)Printing in PAGE MODE and returning to STANDARD
position (with Black mark/Label paper
selected)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P 71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P
74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P 77
ESC E
Specifying/canceling emphasis printing
S・P
78
Specifying/canceling doub
le strike printing
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P
92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P ○ 95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.13 CT-E351
Print Control Commands
FF
(2)Printing of Black mark/Label paper and feeding paper to the
MODE (at the selection of PAGE MODE)
top of the print
Print Character Commands
P 64
ESC G
Print Position Commands
GS $
S・P
P ○ 102
79
GS \
- 50 -
S・P
○106
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P
152
GS V
Cutting the paper
S・P ○ 153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P
155
GS h
Specifying the height of the bar code
S・P 156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 51 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P
182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P
186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P ○ 191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P
193
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
GS ( N
Designating font attribute
S 367
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P
368
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 52 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
Printing in PAGE MODE and returning to STANDARD MODE
(at the selection of PAGE MODE)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P 74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P
77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P 79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P 92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P ○ 95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.14 CT-D151
Print Control Commands
FF
Print Character Commands
P 64
Print Position Commands
GS $
GS \
P ○ 102
S・P
○106
- 53 -
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 54 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
GS D
Definition to NV Memory of Windows Bitmap
S
176
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P 182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P 186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P 193
Command
Function
MODE
GS P
Page
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P 368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Mark and Label C ontrol Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 55 -
Command
Function
MODE
GS P
Page
GS_
_z_GrayBMP
GS ( z
WaterMark
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Gray Scale Commands
(
Print of the gray scale raster graphic s S 380
Specifying Wat erMark Printing S 382
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 56 -
Command
Function
MODE
GS P
Page
LF
Printing and paper feed
S・P
62
CR
Back to printing
S・P
63
Printing in PAGE MODE and returning to STANDARD MODE
(at the selection of PAGE MODE)
ESC FF
Printing data in PAGE MODE
P 66
ESC J
Printing and feeding paper in minimum pitch
S・P
○
67
ESC d
Printing and feeding the paper by “n” lines
S・P
68
Command
Function
MODE
GS P
Page
CAN
Canceling print data in PAGE MODE
P 69
ESC SP
Setting the right spacing of the character
S・P
○
70
ESC !
Collectively specifying the printing mode
S・P
71
ESC %
Specifying/Canceling download character set
S・P
73
ESC &
Defining the download characters
S・P 74
ESC -
Specifying/canceling underline
S・P
76
ESC ?
Deleting download characters
S・P
77
ESC E
Specifying/canceling emphasis printing
S・P
78
ESC G
Specifying/canceling double strike printing
S・P 79
ESC M
Selection of character fonts
S・P
80
ESC R
Selecting the international character set
S・P
81
ESC V
Specifying/canceling 90°-right-turned characters
S 82
ESC t
Selecting the character code table
S・P
83
ESC {
Specifying/canceling the inverted characters
S 84
GS !
Specifying the character size
S・P
90
GS B
Specifying/canceling the black/white inverted printing
S・P 92
GS b
Specifying/canceling the smoothing
S・P
93
Command
Function
MODE
GS P
Page
HT
Horizontal tab
S・P
94
ESC $
Specifying the absolute positions
S・P ○ 95
ESC D
Setting horizontal tab position
S・P
96
ESC T
Selecting the character printing direction in PAGE MODE
P 97
ESC W
Defining the print area in PAGE MODE
P ○ 98
ESC \
Specifying the relative position
S・P
○
100
ESC a
Aligning the characters
S 101
Specifying the absolute vertical position of char acters in PAGE
MODE
GS L
Setting the left margin
S ○ 103
GS W
Setting the print area width
S・P
○
104
Specifying the relative vertical position of a character in PAGE
MODE
2.1.15 CT-E651
Print Control Commands
FF
Print Character Commands
P 64
Print Position Commands
GS $
GS \
P ○ 102
S・P
○106
- 57 -
Command
Function
MODE
GS P
Page
ESC 2
Specifying initial line feed rate
S・P
107
ESC 3
Setting line feed rate of minimum pitch
S・P ○ 108
Command
Function
MODE
GS P
Page
ESC *
Specifying the bit image mode
S・P
109
GS *
Defining the download bit image
S・P
111
GS /
Printing the downloaded bit image
S・P
112
GS v 0
Printing of raster bit image
S 113
Command
Function
MODE
GS P
Page
DLE EOT
Sending status in real-time
S・P
115
Transmitting the status of peripheral equipment
(Serial Mode Only)
ESC v
Sending Printer status
S・P
139
GS a
Enabling/disabling ASB (Automatic Status Back)
S・P
140
GS r
Sending status
S・P
144
Command
Function
MODE
GS P
Page
ESC c 3
Selecting the Paper Sensor valid for Paper-end signal output
S・P
146
ESC c 4
Selecting the Paper Near-end Sensor valid for print stop
S・P
147
Command
Function
MODE
GS P
Page
ESC c 5
Enabling/disabling the panel switches
S・P
148
Command
Function
MODE
GS P
Page
GS :
Starting/ending macro definition
S・P
149
GS ^
Executing the macro
S・P
150
Command
Function
MODE
GS P
Page
ESC i
Full cut
S・P
151
ESC m
Partial cut
S・P 152
GS V
Cutting the paper
S・P
○
153
Command
Function
MODE
GS P
Page
GS H
Selecting of printing position of HRI characters
S・P
154
GS f
Selecting the font of HRI characters
S・P 155
GS h
Specifying the height of the bar code
S・P
156
GS k
Printing the bar code
S・P
157
GS w
Specifying the horizontal size (magnification) of bar code
S・P
163
Line Feed Span Command s
Bit Image Commands
Status Commands
ESC u
Paper Detecting Command s
Panel Switch Commands
Macro Commands
Cutter Commands
S・P
138
Bar Code Commands
- 58 -
Command
Function
MODE
GS P
Page
GS ( L
GS 8 L
GS D
Definition to NV Memory of Windows Bitmap
S
176
FS p
Printing the download NV bit images
S 179
FS q
Defining the download NV bit image
S 180
Command
Function
MODE
GS P
Page
FS !
Collectively setting Kanji print mode
S・P 182
FS &
Setting Kanji mode
S・P
183
FS -
Setting/Canceling Kanji underline
S・P
184
FS .
Canceling Kanji mode
S・P
185
FS 2
Defining external character
S・P 186
FS C
Selecting Kanji code system
S・P
188
FS S
Setting Kanji space amount
S・P
○
191
FS W
Setting/Canceling four times enlargement of Kanji
S・P
192
FS ( A
Setting font attribute of Kanji
S・P 193
Command
Function
MODE
GS P
Page
GS C 0
Setting the numbering print mode
S・P
198
GS C 1
Setting the numbering counter mode (A)
S・P
199
GS C 2
Setting the numbering counter
S・P
200
GS C ;
Setting the numbering counter mode (B)
S・P
201
GS c
Print the counter
S・P
202
Command
Function
MODE
GS P
Page
GS ( E
Printer function setting command
S 206
GS ( K
Selecting print control method
S 363
Command
Function
MODE
GS P
Page
GS ( k
Setting and printing 2-dimensional code
S・P 368
Commands for Non-volatile Memory
Specifying graphics data S 164
Kanji Control Commands
Black Mark and Label C ontrol Commands
Printer Function Setting Co mmands
2-dimensional Code Commands
- 59 -
Command
Function
MODE
GS P
Page
GS_
_z_GrayBMP
GS ( z
WaterMark
Command
Function
MODE
GS P
Page
DLE ENQ
Real-time request to printer
S・P
384
DLE DC4
Outputting specified pulse in real-time/Buffer clear
S・P
385/386
ESC =
Data input control
S・P
387
ESC @
Initializing the printer
S・P
388
ESC L
Selecting PAGE MODE
S 389
ESC S
Selecting STANDARD MODE
P 390
ESC p
Generating the specified pulses
S・P
391
GS ( A
Execution of test printing
S 392
GS I
Sending the printer ID
S・P
394
GS P
Specifying the basic calculation pitch
S・P
411
ESC RS
Sound buzzer
S・P
413
Gray Scale Commands
(
Print of the gray scale raster graphic s S 380
Specifying Wat erMark Printing S 382
Other Commands
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
- 60 -
support model
2.2 Command Details
2.2.1 Description of Items
XXXX
[Function] The name of a command.
[Code] The string of codes comprising the command is represented by < >H for hexadecimal numbers, < >B for binary
numbers, and < > for decimal numbers, [ ] k denotes the number of repetition of “k” times.
[Range] Indicates the values (setting range) of arguments of the command.
Note: If values outside the defined domain specified with control codes are used, malfunctions could
possibly occur, so be sure to use the values within the defined domain.
*The defined domain may differ depending on the model or printer setting.
[Outline] [The specification which is common to the model]
Indicates command functions common to relevant models.
[The specification which depe nd on the model]
Indicates the command function dependent on the model.
[Caution] Describes important points and cautionary notes, as required.
[Default] Initial values for the command if it has arguments.
[See Also] Describes commands related to the command when it is used.
[Sample Program]
Describes examples of coding on Quick-Basic.
* Examples are only for reference. They may vary depending on language and version. For details, please refer to a manual
in your language.
[Print Results]
Describes the print results obtained by executing the above programs. However, the print results shown are different in scale
from actual print results
- 61 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
Print and line feed
AAA
model
2.2.2 Print Control Commands
LF
[Function] Printing and paper feed
[Code] <0A>H
[Outline] [The specification which is common to the model]
• Prints data inside the print buffer and feeds paper based on the line feed amount having been set.
[Caution] [The specification which is common to the model]
• After this command is executed, the beginning of the line is taken as the start position for the next point.
[Caution] • With double height and double width being specified simultaneously, quadruple characters are
created.
• An underline is attached to the full character width, which, however, is not attached to the part having been
skipped by the horizontal tab (HT). Neither is it attached to 90°-right-turned characters.
• The underline width is as specified by the ESC – command. (The default setting is 1 dot width.)
• Setting by this command is invalid for Kanji except setting and canceling of enhanced printing.
• In case characters with different vertical magnification ratios coexist on the same line, they are printed on the
same base line.
• ESC E, ESC M, ESC –, and GS ! can individually set or cancel the mode but the command processed last is
valid.
• Setting or canceling of enhanced 3rd bit is valid for alphanumeric and kana and kanji. Other print mode is
valid only for alphanumeric and kana characters.
• Setting memory SW 3-7 to ON allows the horizontal and vertical relations to be interchanged when
Font A + Double width
Font A + Double height
Font A + Emphasis
Font B
Font A
- 72 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
n0
Function
0
Canceling download character set
1
Specifying download character set
model
ESC % n
[Function] Specifying/canceling download character set
[Code] <1B>H<25>H<n>
[Range] 0≤n≤255
[Outline] [The specification which is common to the model]
Specifying/canceling download characters.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
[Default] n=0
[See Also] ESC &
[Sample Program]
GOSUB SETCHR DATA 6
LPRINT CHR$(&H1B);"%";CHR$(0); DAT A &HFF ,&H80,&H00
LPRINT "@A";CHR$(&HA); DA T A &H80,&H80,&H00
LPRINT CHR$(&H1B);"%";CHR$(1); DAT A &H80,&H80,&H00
LPRINT "@A";CHR$(&HA); DA T A &H80,&H80,&H00
END DA T A &HFF,&HFF,&HFF
SETCHR: DA TA &HFF ,&HFF , &HFF
LPRINT CHR$(&H1B);"&"; DATA 12
LPRINT CHR$(3);"@";"A"; DA T A &HFF ,&HFF ,&HFF
FOR J=1 TO 2 DATA &H80,&H07,&HF9
READ REP DA T A &H80,&HFF ,&HF9
LPRINT CHR$(REP); DAT A &H87,&HFE,&H01
FOR I=1 TO REP*3 DA T A &H9F ,&H06,&H01
READ D DAT A &HF8,&H06,&H01
LPRINT CHR$(D); DA T A &HF8,&H06,&H01
NEXT I DA T A &H9F ,&H06,&H01
NEXT J DAT A &H87,&HFE,&H01
RETURN DA T A &H80,&HFF ,&HF9
DAT A &H80,&H07,&HF9
DAT A &HFF ,&HFF ,&HFF
32≤n≤m≤126
0≤a≤12(Font A)
0≤a≤9 (Font B)
0≤a≤8 (Font C)
0≤p1--ps×a≤255
[Outline] [The specification which is common to the model]
• Defines the font of download characters of alphanumeric characters.
• “s” indicates the number of bytes in vertical direction.
• “n” indicates the start character code and “m” the end character code. To define only one character, set n =
m.
• Character codes definable includes 95 ASCII codes in total in the range of 20H to 7EH.
• “a” indicates the number of dots to be defined in horizontal direction.
• “p” is the data to be defined, which indicate a pattern equal to “a” dots in horizontal direction from the left end.
The rest of the pattern on the right side is filled with space.
• The number of data to be defined is “s × a ”.
• Download characters thus defined remain valid until redefinition, execution of ESC @, GS *, FS q, GS (A,
deletion by ESC ?, or power OFF is performed.
[Caution] [The specification whic h depend on the model]
CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series
• Running this command clears the definition of the download bit image.
[Outline] [The specification which is common to the model]
Deletes the downloaded characters of specified code.
[Caution] [The specification which is common to the model]
• The character “n” indicates the character code used to delete the defined pattern. After the deletion,
characters are printed in the same pattern as the internal characters.
• This command deletes the code-defined pattern of the character font selected by ESC !.
• This command is ignored if the specified character code is undefined.
[See Also] ESC &, ESC %
- 77 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
n0
Function
0
Canceling emphasis printing
1
Specifying emphasis printing
model
ESC E n
[Function] Specifying/canceling emphasis printing
[Code] <1B>H<45>H<n>
[Range] 0≤n≤255
[Outline] [The specification which is common to the model]
• Specifying/canceling the emphasized characters.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
[Caution] [The specification which is common to the model]
• Emphasis printing can also be specified/canceled by ESC ! but the setting of command last
processed is valid.
• Valid for all character types except HRI characters.
* When dedicated thermal paper (black-based paper) is used.
- 86 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
Function
black-based paper
red-based paper
0
Canceling red printing.
Canceling black printing.
1
Specifying red printing.
Specifying black printing.
MSW4-7:DC3 command function
OFF=2 color printing
ON=Black/White reverse
0
2 color printing is invalid
B/W reverse printing is invalid.
1
2 color printing is valid.
B/W reverse printing is valid.
model
DC3 n (V alid in CBM-270-Compatible Mode)
[Function] Specifies/cancels printing in red (black-based paper)
[Code] <13>H<n>
[Range] 0≤n≤255
[Outline] [The specification which is common to the model]
• Specifies or cancels printing in red.
• Red printing is valid on black-based thermal paper. Specifies or cancels printing in black on red-based
thermal paper.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
n0
[Caution] [The specification which is common to the model]
• Valid only at the top of a line.
• This command must not be used for normal thermal paper.
• At the time of setting, conducting pulse amount is increased to change the coloring.
• In case of MSW3-7=OFF, this command is invalid.
• Valid only in standard mode.
[The specification whic h depend on the model]
CT-S281
When normal thermal paper mode is specified, the command is used, it becomes2-color paper mode.
It executes command <ESC @> or becomes effective until turning off power.
CT-S280
• Depending on the setting of MSW4-7, function set by DC3 command is switched as per the table below.
[Caution] [The specification which is common to the model]
• This command is valid for all characters (alphanumeric, kana, and kanji) except for HRI characters.
• This command is ignor ed if either the vertical m agnif ication or horizontal m agnif ic ation is out of the defined
range.
• In PAGE MODE, the vertical direction m eans the top-bottom direction of each charac ter. The horizontal
direction means the side-to-side direction of each character. If characters of different vertical magnification are
contained in a line, the baseline of each character is lined up.
• Horizontal and vertical magnification can also be specified/canceled by ESC ! but the setting of command last
processed is valid.
• In STANDARD MODE, the vertical direction is defined as the paper feed direction, and the horizontal
direction is defined as the direction perpendicular to the paper feed.
• Setting memory SW 3-7 to ON allows the horizontal and vertical relations to be interchanged when
90°-right-turnning of character is specified.
[Default] n=0
[See Also] ESC !
- 91 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
n0
Function
0
The black/white inverted printing is canceled.
1
The black/white inverted printing is specified.
model
GS B n
[Function] Specifying/canceling the black/white inverted printing
[Code] <1D>H<42>H<n>
[Range] 0≤n≤255
[Outline] [The specification which is common to the model]
• This command specifies or cancels the black/white inverted printing.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
[Caution] [The specification which is common to the model]
• The black/white inversion works on internal and downloaded characters.
• The black/white inversion works also on the right spacing of characters defined by ESC SP.
• This command does not affect the bit image, downloaded bit image, bar code, HRI characters, or the skip
area specified by HT, ESC $, or ESC \.
• This command does not affect the space between lines.
• Black/white inversion specification takes precedence over underline specification. Underline printing specified
is, therefore, nullified if black/white inversion is specified; the underline setting, however, remains unchanged.
[Default] n=0
- 92 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
n0
Function
0
The smoothing is canceled.
1
The smoothing is specified.
model
GS b n
[Function] Specifying/canceling the smoothing
[Code] <1D>H<62>H<n>
[Range] 0≤n≤255
[Outline] [The specification which is common to the model]
• This command specifies or cancels the smoothing.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:
[Caution] [The specification which is common to the model]
• Smoothing is effective to printer’s internal characters, download characters, and non-standard
characters.
• Smoothing is not effective to characters with either of their vertical or horizontal magnification is x1.
[Default] n=0
[See Also] ESC! , GS !
- 93 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
model
2.2.4 Print Position Commands
HT
[Function] Horizontal tab
[Code] <09>H
[Outline] [The specification which is common to the model]
• Shifts the printing position to the next horizontal tab position.
• Ignored when the next horizontal tab position has not been set.
[Caution] [The specification which is common to the model]
• The horizontal tab position is set by ESC D.
[Default] At the selection of font A, tabs are set every 8 characters (at 9th, 17th, 25th, ...) with right space amount of a
character set at 0 and horizontal enlargement rate of a character set at 1.
Initially set horizontal tab
When set to the 4th, 8th, and 15th columns
- 94 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
model
ESC $ n1 n2
[Function] Specifying the absolute positions
[Code] <1B>H<24>H<n1><n2>
[Range] 0≤n1≤255
0≤n2≤255
[Outline] [The specification which is common to the model]
• The printing start position is specified by the absolute position from the left margin with the num ber of dots
divided by 256 and quotient specified as “n2” and remainder as “n1”. Therefore, the printing start position is
designated as n1+n2×256×basic calculation pitch from the left margin.
[Caution] [The specification which is common to the model]
• The basic calculation pitch is set by GS P. After the line feed width is set, if the basic calculation by
GS P leaves a fraction, the fraction is corrected with the minimum pitch of the mechanism, and
the remainder is omitted.
• In STANDARD MODE, this command uses the horizontal (Paper feed direction) basic calculation pitch (x).
• In PAGE MODE, this command acts differently depending on the start point:
(1) If the start point specified by ESC T is top right or bottom left, the command uses the vertical (Paper feed
direction) basic calculation pitch (y).
(2) If the start point specified by ESC T is top left or bottom right, the command uses the horizontal
(Perpendicular to the paper feed direction) basic calculation pitch (x). Specification beyond the end of the
line is ignored.
[Outline] [The specification which is common to the model]
• Specifying a horizontal tab position.
• “n” indicates the number of columns from the beginning to the horizontal tab position. Note, however, that “n =
set position – 1”. For example, to set the position at 9th column, n = 8 is to be specified.
• “k” denotes the number of horizontal tab positions you want to set.
• The tab position is set at a position where it is “character width×n” from the beginning of a line. The character
width, at this time, includes the space on the right. In double width characters, it is made double the ordinary
case.
• Tab positions that can be specified are maximum 32. Specifying tab positions exceeding this limit is ignored.
• <n> k, which denotes a setting position, is input in the increasing order and ends at 00H.
• ESC D <NULL> clears all the set tab positions. Following clearing, the horizontal tab command is ignored.
[Caution] [The specification which is common to the model]
• When the data, <n> k, is equal to or smaller than its preceding data, <n> k-1, it is assumed that
tab setting is finished. If this is the case, the next data onward will be processed as normal data.
• When the data, <n> k, exceeds a 1-line print area, set the horizontal tab position, as “Set column position =
Maximum print columns + 1”.
• The horizontal tab position does not change even if the character width is altered after setting the horizontal
tab position.
[Default] At the selection of font A, tabs are set every 8 characters (at 9th, 17th, 25th, ...) with right space amount of a
character set at 0 and horizontal enlargement rate of a character set at 1.
[See Also] HT
[Sample Program]
Refer to Sample Program and Print Results for HT.
- 96 -
Support
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
n
Printing Direction
Start Point
0, 48
Left to right
Top left (“A” in the figure)
1, 49
Bottom to top
Bottom left (“B” in the figure)
2, 50
Right to left
Bottom right (“C” in the figure)
3, 51
Top to bottom
Top right (“D” in the figure)
B
model
ESC T n
[Function] Selecting the character printing direction in PAGE MODE
[Code] <1B>H<54>H<n>
[Range] 0≤n≤3, 48≤n≤51
[Outline]
[The specification which is common to the model]
• Selects the direction and start point of character printing in PAGE MODE.
A
D
[Caution] [The specification which is common to the model]
• When STANDARD MODE is selected, this command only executes the internal flagging of the
printer without affecting the printing in STANDARD MODE.
• The character mapping position will be the start point of the print area specified by ESC W.
• The basic calculation pitch (x or y) used by the following commands varies with the start point.
(1) If the start point is the top left or bottom right (The characters are mapped in the direction perpendicular to
the paper feed),
• Commands using x: ESC SP, ESC S, ESC
• Commands using y: ESC 3, ESC J, GS $, GS
(2) If the start point is the top right or bottom left (The characters are mapped in the paper feed direction),
• Commands using x: ESC 3, ESC J, GS $, GS
• Commands using y: ESC SP, ESC S, ESC
[Default] n=0
[See Also] Appendix 5.1 “Explanation on PAGE MODE”
[Caution] [The specification which is common to the model]
• When STANDARD MODE is selected, this command only executes the internal flagging of the
printer without affecting the printing in STANDARD MODE.
• If the horizontal start point or vertical start point is out of the printable area, this command is canceled and the
next data is handled as normal data.
• If the horizontal length or vertical length is 0, this com mand is canceled and the next data is handled as
normal data.
• The character mapping position will be the start point specified by ESC T in the print area.
• If the “horizontal start point + horizontal length” is greater than the horizontal printable area, the “horizontal
printable area – horizontal start point” is taken as the horizontal length.
• If the “vertical start point + vertical length” is greater than the vertical printable area, the “vertical printable area –
vertical start point” is taken as the vertical length.
• The basic calculation pitch is defined b y GS P. Once defined, the print area is not changed if the basic
calculation pitch is changed by GS P.
• Fractions resulting from calculations are corrected with the m inimum pitch of the mechanism, and the
remainder is omitted.
• The horizontal start point and horizontal length are calculated with the basic calculation pitch (x). The vertical
start point and vertical length are calculated with the basic calculation pitch (y).
• The figure below illustrates the print area, where X = horizontal start point, Y = vertical start point, Dx =
horizontal length, and Dy = vertical length.
dyL=126, dyH=6 (In the case of basic calculation pitch (y) = 360: V ertical direction length = about 1 17mm)
(In the case of basic calculation pitch(y) = 406: Vertical direction length = about 103 mm)
dxL,dxH depends on paper width. (Refer to the below Table)