Citizen PMU2XXX, CT-S310, BD2-2220 User Manual

Command Reference
MODEL : CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 PMU2XXX
Revision 0.04 2007/8/29
REVISON
Rev No. Date Comment
0.00 2006/9/26 Newly isuued
0.01 2006/11/22 Add program sample for FS p and FS q
0.02 2007/2/26 Revised page 153,155,159,169,205-207
0.03 2007/5/21 Supported CT-S310
0.04 2007/8/29 Supported PMU2XXX
CITIZEN is a registered trade mark of CITIZEN HOLDINGS CO., LTD., Japan. CITIZEN es una marca registrada de CITIZEN HOLDINGS CO., LTD., Japón.

TABLE OF CONTENTS

TABLE OF CONTENTS................................................................................... 3
1. OUTLINE................................................................................................... 9
1.1 OPERATION MODE .........................................................................................................9
1.2 CHARACTER SET.............................................................................................................9
1.3 CONTROL COMMANDS.....................................................................................................9
1.3.1 Control Command Details .................................................................................................9
1.3.2 How to Send Control Commands......................................................................................9
2. CONTROL COMMANDS .......................................................................... 10
2.1 ESC/POS COMMAND LIST .......................................................................................... 10
2.1.1 CT-S280............................................................................................................................ 10
2.1.2 CT-S300/CT-S310........................................................................................................... 13
2.1.3 CT-S2000 ......................................................................................................................... 16
2.1.4 CT-S4000 ......................................................................................................................... 20
2.1.5 BD2-2220......................................................................................................................... 24
2.1.6 PMU2XXX......................................................................................................................... 27
2.2 COMMAND DETAILS.................................................................................................... 30
2.2.1 Description of Items ....................................................................................................... 30
2.2.2 Print Control Commands ................................................................................................ 31
LF ...................................................................................................................................................31
CR .................................................................................................................................................. 32
FF (At selection of PAGE MODE................................................................................................ 33
FF (valid only for Black mark specification.............................................................................. 33
ESC FF ...........................................................................................................................................34
ESC J n...........................................................................................................................................35
ESC d n ..........................................................................................................................................36
2.2.3 Print Character Commands............................................................................................ 37
CAN................................................................................................................................................37
ESC SP n........................................................................................................................................38
ESC ! n ...........................................................................................................................................39
ESC % n ........................................................................................................................................ 41
ESC & s n m [ a [p] s x a ] m-n+1 ............................................................................................... 42
ESC - n...........................................................................................................................................44
ESC ? n .......................................................................................................................................... 45
ESC E n .......................................................................................................................................... 46
ESC G n.......................................................................................................................................... 47
ESC M n .........................................................................................................................................48
ESC R n.......................................................................................................................................... 49
ESC V n .......................................................................................................................................... 50
- 3 -
ESC t n ...........................................................................................................................................51
ESC { n ..........................................................................................................................................52
ESC ~ J n (Valid in CBM-270-Compatible Mode...................................................................... 53
ESC ~ J n (Valid in CBM1000-Compatible Mode..................................................................... 54
DC3 n (Valid in CBM-270-Compatible Mode........................................................................... 55
DC3 n (Valid in CBM1000-Compatible Mode........................................................................... 56
GS ! n ............................................................................................................................................. 57
GS B n............................................................................................................................................ 59
GS b n ............................................................................................................................................60
2.2.4 Print Position Commands.............................................................................................. 61
HT ..................................................................................................................................................61
ESC $ n1 n2................................................................................................................................... 62
ESC D [n]k NULL........................................................................................................................... 63
ESC T n ..........................................................................................................................................64
ESC W xL xH yL yH dxL dxH dyL dyH.......................................................................................... 65
nL nH..................................................................................................................................67
ESC
ESC a n .......................................................................................................................................... 68
GS $ nL nH .................................................................................................................................... 69
GS L nL nH.....................................................................................................................................70
GS W nL nH...................................................................................................................................71
nL nH ...................................................................................................................................73
GS
2.2.5 Line Feed Span Commands............................................................................................ 74
ESC 2 .............................................................................................................................................74
ESC 3 n .......................................................................................................................................... 75
2.2.6 Bit Image Commands..................................................................................................... 76
ESC * m n1 n2 [d] k ..................................................................................................................... 76
GS * n1 n2 [d] n1xn2x8............................................................................................................... 77
GS / m ........................................................................................................................................... 78
GS v 0 m xL xH yL yH d1 ... dk..................................................................................................... 79
2.2.7 Status Commands........................................................................................................... 81
DLE EOT n ..................................................................................................................................... 81
ESC u n .......................................................................................................................................... 88
ESC v .............................................................................................................................................89
GS a n ............................................................................................................................................ 90
GS r n............................................................................................................................................. 93
2.2.8 Paper Detecting Commands .......................................................................................... 95
ESC c 3 n .......................................................................................................................................95
ESC c 4 n .......................................................................................................................................96
2.2.9 Panel Switch Commands................................................................................................ 97
ESC c 5 n .......................................................................................................................................97
2.2.10 Macro Commands ......................................................................................................... 98
GS : ................................................................................................................................................ 98
GS ^ n1 n2 n3...............................................................................................................................99
- 4 -
2.2.11 Cutter Commands....................................................................................................... 100
ESC i ............................................................................................................................................100
ESC m ..........................................................................................................................................101
GS V m ・・・ (1)........................................................................................................................... 102
GS V m n ・・・ (2)........................................................................................................................102
2.2.12 Bar Code Commands .................................................................................................. 103
GS H n..........................................................................................................................................103
GS f n...........................................................................................................................................104
GS h n..........................................................................................................................................105
(1)GS k m [d1...dk] NUL ............................................................................................................106
(2)GS k m n [d1...dn] .................................................................................................................106
GS w n .........................................................................................................................................111
2.2.13 Commands for Non-volatile Memory ........................................................................ 112
GS ( C pL pH m fn b [c1 c2][d1...dk]......................................................................................... 112
fn=048: Function 0 Erasing Specified Record.........................................................................................113
fn=149: Function 1 Storing Data to Specified Record .............................................................................113
fn=250: Function 2 Sending Data Stored in Specified Record.................................................................114
fn=351: Function 3 Sending Use Amount ..............................................................................................115
fn=452: Function 4 Sending Remaining Capacity...................................................................................115
fn=553: Function 5 Sending Key Code List of Stored Record..................................................................116
fn=654: Function 6 Erasing All User NV Memory Area in a Lump............................................................117
GS ( L pL pH m fn [parameter]..................................................................................................118
GS 8 L p1 p2 p3 p4 m fn [parameter]....................................................................................... 118
fn=048: Function 48 Sending NV Graphics Memory Capacity .................................................................119
fn=250: Function 50 Printing Graphics Data Stored in Print Buffer..........................................................119
fn=351: Function 51 Sending the Remaining Amount of NV Graphics Memory.......................................120
fn=64 Function 64 Sending Key Code List of Defined NV Graphics ..........................................................121
fn=65 Function 65 Erasing All Data of NV Graphics in a Lump.................................................................122
fn=66 Function 66 Erasing Specified NV Graphics Data ...........................................................................122
fn=67 Function 67 Defining Raster Type Graphics Data to NV Memory....................................................123
fn=69 Function 69 Printing Specified Graphics ........................................................................................124
fn=112 Function 112 Storing Raster Type Graphics Data to Print Buffer ..................................................125
GS g 0 m nL nH ........................................................................................................................... 126
GS g 2 m nL nH ........................................................................................................................... 127
FS p n m ......................................................................................................................................128
FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n............................................................ 130
2.2.14 Kanji Control Commands ........................................................................................... 132
FS ! n............................................................................................................................................132
FS & ............................................................................................................................................. 133
FS - n ...........................................................................................................................................134
FS ................................................................................................................................................135
FS 2 a1 a2 [d]k ...........................................................................................................................136
FS C n .......................................................................................................................................... 138
FS S n1 n2 ...................................................................................................................................140
FS W n .........................................................................................................................................141
FS ( A pL pH fn […].....................................................................................................................142
fn=48 Function 48 Set Kanji fonts...........................................................................................................142
- 5 -
2.2.15 Black Mark Control Commands ................................................................................. 143
GS FF ...........................................................................................................................................143
GS < ............................................................................................................................................ 143
GS A m n......................................................................................................................................144
GS C 0 m n................................................................................................................................... 145
GS C 1 n1 n2 n3 n4 n5 n6 ..........................................................................................................146
GS C 2 n1 n2 ...............................................................................................................................147
GS C ; n1 ; n2 ; n3 ; n4 ; n5 ; ...................................................................................................... 148
GS c .............................................................................................................................................149
GS l n1L n1H n2L n2H ................................................................................................................ 150
GS p n ..........................................................................................................................................151
2.2.16 Printer Function Setting Commands......................................................................... 152
GS ( D pL pH m [a1 b1]...[ak bk]............................................................................................... 152
GS ( E pL pH fn […] ....................................................................................................................153
fn=1 Function 1 Transferring to Printer Function Setting Mode................................................................154
fn=2 Function 2 End of Printer Function Setting Mode.............................................................................154
fn=3 Function 3 Setting Memory Switch Value........................................................................................155
fn=4 Function 4 Sending the Set Memory Switch Value ..........................................................................168
fn=5 Function 5 Setting Customized Value..............................................................................................169
fn=6 Function 6 Sending the Set Customized Value ................................................................................181
fn=7 Function 7 Copying User-defined Page...........................................................................................193
fn=8 Function 8 Defining Data by the Column Format to Character Code Page of Work Area ..................194
fn=9 Function 9 Defining Data in the Raster Format to the Character Code Page of Work Area................195
fn=10 Function 10 Erasing Data of Character Code Page Data in Work Area ...........................................196
fn=11 Function 11 Setting Communication Conditions ............................................................................197
fn=12 Function 12 Sending the Set Communication Conditions ...............................................................198
fn=255: Function 255 Setting All Contents Set by Printer Function Setting Mode to the State at Shipment..199
GS ( K pL pH fn m .......................................................................................................................200
fn=49 Function 49 Setting Printing Density .............................................................................................201
fn=50 Function 50 Setting Printing Speed ...............................................................................................202
fn=97 Function 97 Setting Number of Divisions for Head Conducting ......................................................203
GS ( M pL pH fn m ......................................................................................................................204
fn=149: Function 1 Copies the set value stored in work area to the storage area ...................................205
fn=250: Function 2 Copies the set value stored in storage area to the work area ...................................205
fn=351: Function 3 Specifies the auto loading function of the set value at initialization to be valid or invalid
................................................................................................................................................................206
GS ( N pL pH fn m.......................................................................................................................207
fn=48 Function 48 Selects character color...............................................................................................207
2.2.17 2-dimensional code Commands............................................................................... 208
GS ( k pL pH cn fn [parameter] .................................................................................................208
fn=65 Function 65 Setting the number of digits of PDF417 ...............................................................209
fn=66 Function 66 Setting the number of steps of PDF417 ...............................................................209
fn=67 Function 67 Setting module width of PDF417...........................................................................210
fn=68 Function 68 Setting the height of step of PDF417 ...................................................................210
fn=69 Function 69 Setting error correction level of PDF417 ..............................................................211
fn=70 Function 70 Setting Options for PDF417 ...................................................................................212
fn=80 Function 80 Storing received data to 2-dimensional code data storage area ........................212
fn=81 Function 81 Printing 2-dimensional code data in 2-dimensional code data storage area .....213
- 6 -
fn=82 Function 82 Sending the size of 2-dimensional code data in 2-dimensional code data storage
area.........................................................................................................................................................214
fn=65 Function 165 Specifying QRCode model ..................................................................................215
fn=67 Function 167 Sets the module width of QRCode ......................................................................215
fn=69 Function 169 Setting QRCode error correction level ................................................................216
fn=80 Function 180 Storing received data to 2-dimensional code data storage area ......................216
fn=81 Function 181 Printing 2-dimensional code data in 2-dimensional code data storage area ...217 fn=82 Function 182 Sending the size of 2-dimensional code data in 2-dimensional code data storage
area.........................................................................................................................................................218
2.2.18 Other Commands....................................................................................................... 219
DLE ENQ n................................................................................................................................... 219
DLE DC4 fn m t Specification of fn = 1.................................................................................220
DLE DC4 fn d1...d7 Specification of fn = 8........................................................................... 221
ESC = n .......................................................................................................................................222
ESC @ ..........................................................................................................................................223
ESC L ...........................................................................................................................................224
ESC S ...........................................................................................................................................225
ESC p m n1 n2 ............................................................................................................................226
GS ( A pL pH n m ........................................................................................................................227
GS I n........................................................................................................................................... 228
GS P x y ....................................................................................................................................... 235
ESC RS.........................................................................................................................................236
3. CHARACTER CODE TABLE ...................................................................237
3.1 CODE PAGE .............................................................................................................. 237
3.1.1 Codepage 00H to 7FH & PC437(USA、Europe Standard) .......................................... 237
3.1.2 Codepage 00H to 7FH & Katakana.............................................................................. 238
3.1.3 Codepage 00H to 7FH & PC850(Multilingual) ............................................................ 239
3.1.4 Codepage 00H to 7FH & PC860(Portuguese)............................................................. 240
3.1.5 Codepage 00H to 7FH & PC863(Canadian-French)................................................... 241
3.1.6 Codepage 00H to 7FH & PC865(Nordic)..................................................................... 242
3.1.7 Codepage 00H to 7FH & PC852(Easern Europe)........................................................ 243
3.1.8 Codepage 00H to 7FH & PC857(Russian)................................................................... 244
3.1.9 Codepage 00H to 7FH & PC857(Turkish) ................................................................... 245
3.1.10 Codepage 00H to 7FH & PC864(ArabiC)................................................................... 246
3.1.11 Codepage 00H to 7FH & Windows Codepage .......................................................... 247
3.1.12 Codepage 00H to 7FH & Thai code 18 ...................................................................... 248
3.2 INTERNATINAL CHARACTER CODE TABLE ...................................................................... 249
3.3 KANJI CODE TABLE.................................................................................................... 250
3.3.1 JIS non-Kanji................................................................................................................. 250
3.3.2 JIS Kanji Level 1............................................................................................................ 252
3.3.3 JIS Kanji Level 2............................................................................................................ 258
- 7 -
4. MEMORY SWITCH................................................................................ 265
4.1 MEMORY SWITCHES .................................................................................................. 265
4.1.1 CT-S280.......................................................................................................................... 265
4.1.2 CT-S300.......................................................................................................................... 266
4.1.3 CT-S2000 ....................................................................................................................... 267
4.1.4 CT-S4000 ....................................................................................................................... 269
4.1.5 BD2-2220....................................................................................................................... 271
4.1.6 CT-S310.......................................................................................................................... 272
4.2 DETAILS OF MEMORY SWITCHES ................................................................................ 276
4.2.1 MSW1 ............................................................................................................................. 276
4.2.2 MSW2 ............................................................................................................................. 279
4.2.3 MSW3 ............................................................................................................................. 282
4.2.4 MSW4 ............................................................................................................................. 285
4.2.5 MSW5 ............................................................................................................................. 287
4.2.6 MSW6 ............................................................................................................................. 288
4.2.7 MSW7 ............................................................................................................................. 289
4.2.8 MSW8 ............................................................................................................................. 291
4.2.9 MSW9 ............................................................................................................................. 292
4.2.10 MSW10......................................................................................................................... 293
5. APPENDIX ............................................................................................ 294
5.1 EXPLANATION ON PAGE MODE ................................................................................. 294
5.1.1 Overview........................................................................................................................ 294
5.1.2 Values Set by Each Command in STANDARD MODE and PAGE MODE..................... 294
5.1.3 Mapping of Print Data in the Print Area ...................................................................... 295
5.1.4 Example of Using PAGE MODE..................................................................................... 297
5.2 BIDIRECTIONAL PARALLEL INTERFACE ......................................................................... 301
5.2.1 Parallel Interface Communication Mode .................................................................... 301
5.2.2 Interfacing Phases ........................................................................................................ 302
5.2.3 Negotiation .................................................................................................................... 303
5.3 IDENTIFICATION OF SEND STATUS ............................................................................... 310
5.4 CAUTIONS ON BLACK MARK/LABEL PAPER .............................................................. 311
- 8 -

1. OUTLINE

1.1 Operation Mode

Our printer has ESC/POSTM as control commands.

1.2 Character 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 Commands

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.
Program List Print Result
CITIZEN
CITIZEN
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.
10 A$="CITIZEN" 20 LPRINT CHR$(&H1D);"!"; CHR$(&H11); 30 LPRINT A$; 40 LPRINT CHR$(&HA); CHR$(&HA); 50 LPRINT CHR$(&H1D);"!"; CHR$(&H00); 60 LPRINT A$; 70 END
- 9 -

2. CONTROL COMMANDS

2.1 ESC/POS Command List

2.1.1 CT-S280

Print Control Commands
Commands Function MODE GS P Page
LF Printing and paper feed CR Back to printing
FF
Printing in PAGE MODE and returning to STANDARD
MODE (at the selection of PAGE MODE)
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table ESC { Specifying/canceling the inverted characters S 52 ESC ~ J Specifies/cancels printing in red (black-based paper) DC3 Specifies/cancels printing in red (black-based paper) S 55 GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P
P 33
S・P S・P
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
S・P
S・P
S・P S・P S・P
31 32
35
36
38 39 41 42 44 45 46 47 48 49
51
53
57 59 60
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
- 10 -
62
65 67
69
70 71
73
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image GS / Printing the downloaded bit image GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time ESC v Sending Printer status GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
S・P S・P S・P S・P
Paper Detecting Commands
74
75
76 77 78
81
89
90
93
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
Panel Switch Commands
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
S・P S・P S・P S・P S・P
95
96
97
98
99
103
104
105
106
111
Commands for Non-volatile Memory
Command Function MODE GS P Page
FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
- 11 -
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
S・P S・P S・P S・P S・P S・P S・P S・P S・P
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204 GS ( N Designating font attribute S 207
Other Commands
132 133 134 135 136 138
140 141 142
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4 Buffer clear ESC
Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225 GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch
S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
219 221 222 223
228 235
- 12 -

2.1.2 CT-S300/CT-S310

Print Contorl Commands
Command Function MODE GS P Page
LF Printing and paper feed CR Back to printing
S・P S・P
(1)Printing in PAGE MODE and returning to STANDARD
FF
MODE (at the selection of PAGE MODE)
(2)Printing of Black mark and paper feeding to the top of
P 33
the print position (with Black mark paper selected)
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
S・P S・P
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table
S・P
ESC { Specifying/canceling the inverted characters S 52
ESC ~ J Specifies/cancels printing in red (black-based paper)
S・P
DC3 Specifies/cancels printing in red (black-based paper) S 56
GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P S・P
31 32
35
36
38 39 41 42 44 45 46 47 48 49
51
54
57 59 60
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
- 13 -
62
65
67
69
70
71
73
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image
GS / Printing the downloaded bit image
GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time
GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
S・P S・P S・P
Paper Detecting Commands
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
74
75
76 77 78
81 90 93
95
96
Panel Switch Commands
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
97
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
98 99
Cutter Commands
Command Function MODE GS P Page
ESC i Full cut ESC m Partial cut GS V Cutting the paper
S・P S・P S・P
100 101
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
S・P S・P S・P S・P S・P
103 104 105 106 111
102
Commands for Non-volatile Memory
Command Function MODE GS P Page
FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
- 14 -
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
Black Mark Control Commands
Command Function MODE GS P Page
GS FF Printing and ejecting Black mark paper GS < Initializing the printer mechanism GS A Correcting the leader position of Black mark paper GS C 0 Setting the numbering print mode GS C 1 Setting the numbering counter mode (A) GS C 2 Setting the numbering counter GS C ; Setting the numbering counter mode (B) GS c Print the counter
S・P S・P S・P S・P S・P S・P S・P S・P S・P
S・P S・P S・P S・P S・P S・P S・P S・P
132 133 134 135 136 138
140 141 142
143 143 144 145 146 147 148 149
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( D Enabling or disabling real-time command S 152 GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204 GS ( N Designating font attribute S 207
Other Commands
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4 ESC
Outputting specified pulse in real-time/Buffer clear Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225 ESC p Generating the specified pulses
S・P
GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch ESC RS Sound buzzer
S・P S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
219
220/221
222 223
226
228 235 236
- 15 -

2.1.3 CT-S2000

Print Contorl Commands
Command Function MODE GS P Page
LF Printing and paper feed CR Back to printing
S・P S・P
31 32
(1)Printing in PAGE MODE and returning to STANDARD
FF
MODE (at the selection of PAGE MODE)
(2)Printing of Black mark and paper feeding to the top of
P 33
the print position (with Black mark paper selected)
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
S・P S・P
36
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
39 41 42 44 45 46 47 48
49
ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table
S・P
51
ESC { Specifying/canceling the inverted characters S 52 ESC ~ J Specifies/cancels printing in red (black-based paper)
S・P
54
DC3 Specifies/cancels printing in red (black-based paper) S 56 GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P S・P
57
59
60
35
38
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
- 16 -
62
65 67
69
70 71
73
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image GS / Printing the downloaded bit image GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time
ESC u
ESC v Sending Printer status GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
Transmitting the status of peripheral equipment (Serial Mode Only)
S・P
S・P
S・P S・P S・P
74
75
76 77 78
81
88
89
90
93
Paper Detecting Commands
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
95
96
Panel Switch Commands
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
97
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
98
99
Cutter Commands
Command Function MODE GS P Page
ESC i Full cut ESC m Partial cut GS V Cutting the paper
S・P S・P S・P
100
101
102
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
- 17 -
S・P S・P S・P S・P S・P
103
104
105
106
111
Commands for Non-volatile Memory
Command Function MODE GS P Page
GS ( C Editing user NV memory S 112 GS ( L GS 8 L
Specifying graphics data S 118
GS g 0 Initializing maintenance counter S 126 GS g 2 Sending maintenance counter S 127 FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
S・P S・P S・P S・P S・P S・P
132 133 134 135 136 138
S・P S・P S・P
141 142
140
Black Mark Control Commands
Command Function MODE GS P Page
GS FF GS < GS A GS C 0 GS C 1 GS C 2 GS C ; GS c GS l
Printing and ejecting Black mark paper
Initializing the printer mechanism
Correcting the leader position of Black mark paper
Setting the numbering print mode
Setting the numbering counter mode (A)
Setting the numbering counter
Setting the numbering counter mode (B)
Print the counter
Setting the Black mark length
S・P S・P S・P S・P S・P S・P S・P S・P S・P
143 143 144 145 146 147 148 149 150
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( D Enabling or disabling real-time command S 152 GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204 GS ( N Designating font attribute S 207
2-dimensional Code Commands
Command Function MODE GS P Page
GS ( k Setting and printing 2-dimensional code
S・P
208
- 18 -
Other Commands
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4
ESC
Outputting specified pulse in real-time/Buffer clear
Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225
ESC p Generating the specified pulses
S・P
GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch
ESC RS Sound buzzer
S・P S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
219
220/221
222 223
226
228 235 236
- 19 -

2.1.4 CT-S4000

Print Contorl Commands
Command Function MODE GS P Page
LF Printing and paper feed CR Back to printing
S・P S・P
31 32
(1)Printing in PAGE MODE and returning to STANDARD
FF
MODE (at the selection of PAGE MODE)
(2)Printing of Black mark and paper feeding to the top of
P 33
the print position (with Black mark paper selected)
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
S・P S・P
36
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
39 41 42 44 45 46 47 48
49
ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table
S・P
51
ESC { Specifying/canceling the inverted characters S 52 ESC ~ J Specifies/cancels printing in red (black-based paper)
S・P
54
DC3 Specifies/cancels printing in red (black-based paper) S 56 GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P S・P
57
59
60
35
38
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
- 20 -
62
65 67
69
70 71
73
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image
GS / Printing the downloaded bit image
GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time
ESC u
ESC v Sending Printer status
GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
Transmitting the status of peripheral equipment (Serial Mode Only)
S・P
S・P
S・P S・P S・P
74
75
76 77 78
81
88
89
90
93
Paper Detecting Commands
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
95
96
Panel Switch Commands
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
97
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
98
99
Cutter Commands
Command Function MODE GS P Page
ESC i Full cut ESC m Partial cut GS V Cutting the paper
S・P S・P S・P
100
101
102
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
S・P S・P S・P S・P S・P
103
104
105
106
111
- 21 -
Commands for Non-volatile Memory
Command Function MODE GS P Page
GS ( C Editing user NV memory S 112 GS ( L GS 8 L
Specifying graphics data S 118
GS g 0 Initializing maintenance counter S 126 GS g 2 Sending maintenance counter S 127 FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
S・P S・P S・P S・P S・P S・P S・P S・P S・P
132 133 134 135 136 138
140 141 142
Black Mark Control Commands
Command Function MODE GS P Page
GS FF Printing and ejecting Black mark paper GS < Initializing the printer mechanism GS A Correcting the leader position of Black mark paper GS C 0 Setting the numbering print mode GS C 1 Setting the numbering counter mode (A) GS C 2 Setting the numbering counter GS C ; Setting the numbering counter mode (B) GS c Print the counter GS l Setting the Black mark length GS p Changing the paper type
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
143 143 144 145 146 147 148 149 150 151
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( D Enabling or disabling real-time command S 152 GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204 GS ( N Designating font attribute S 207
2-dimensional Code Commands
Command Function MODE GS P Page
GS ( k Setting and printing 2-dimensional code
S・P
208
- 22 -
Other Commands
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4
ESC
Outputting specified pulse in real-time/Buffer clear Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225
ESC p Generating the specified pulses
S・P
GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch
ESC RS Sound buzzer
S・P S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
219
220/221
222 223
226
228 235 236
- 23 -

2.1.5 BD2-2220

Print Contorl Commands
Command Function MODE GS P Page
LF Printing and paper feed CR Back to printing
FF
Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE)
S・P S・P
31 32
P 33
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
S・P S・P
36
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
39 41 42 44 45 46 47 48 49
ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table
S・P
51
ESC { Specifying/canceling the inverted characters S 52 GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P S・P
57 59 60
35
38
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
74
62
65 67
69
70 71
73
75
- 24 -
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image GS / Printing the downloaded bit image GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
S・P S・P S・P
Paper Detecting Commands
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
Panel Switch Commands
76 77 78
81 90 93
95
96
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
97
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
98 99
Cutter Commands
Command Function MODE GS P Page
ESC i Full cut ESC m Partial cut GS V Cutting the paper
S・P S・P S・P
100 101
102
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
S・P S・P S・P S・P S・P
103 104 105 106 111
Commands for Non-volatile Memory
Command Function MODE GS P Page
FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
- 25 -
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
S・P S・P S・P S・P S・P S・P
132 133 134 135 136 138
S・P S・P S・P
141 142
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204
Other Commands
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4 Buffer clear ESC
Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225 GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch
S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
140
219 221 222 223
228 235
- 26 -

2.1.6 PMU2XXX

Print Contorl Commands
Command Function MODE GS P Page
LF Printing and paper feed CR Back to printing
S・P S・P
31 32
(1)Printing in PAGE MODE and returning to STANDARD
FF
MODE (at the selection of PAGE MODE)
(2)Printing of Black mark and paper feeding to the top of
P 33
the print position (with Black mark paper selected)
ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch ESC d Printing and feeding the paper by “n” lines
S・P S・P
36
Print Character Commands
Command Function MODE GS P Page
CAN Canceling print data in PAGE MODE P 37 ESC SP Setting the right spacing of the character ESC ! Collectively specifying the printing mode ESC % Specifying/Canceling download character set ESC & Defining the download characters ESC - Specifying/canceling underline ESC ? Deleting download characters ESC E Specifying/canceling emphasis printing ESC G Specifying/canceling double strike printing ESC M Selection of character fonts ESC R Selecting the international character set
S・P S・P S・P S・P S・P S・P S・P S・P S・P S・P
39 41 42 44 45 46 47 48
49
ESC V Specifying/canceling 90°-right-turned characters S 50 ESC t Selecting the character code table
S・P
51
ESC { Specifying/canceling the inverted characters S 52 GS ! Specifying the character size GS B Specifying/canceling the black/white inverted printing GS b Specifying/canceling the smoothing
S・P S・P S・P
57
59
60
35
38
Print Position Commands
Command Function MODE GS P Page
HT Horizontal tab ESC $ Specifying the absolute positions ESC D Setting horizontal tab position
S・P S・P S・P
61
63
ESC T Selecting the character printing direction in PAGE MODE P 64 ESC W Defining the print area in PAGE MODE P ESC
Specifying the relative position
S・P
ESC a Aligning the characters S 68
GS $
Specifying the absolute vertical position of characters in PAGE MODE
P
GS L Setting the left margin S GS W Setting the print area width
GS
Specifying the relative vertical position of a character in PAGE MODE
S・P
S・P
Line Feed Span Commands
Command Function MODE GS P Page
ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch
S・P S・P
74
- 27 -
62
65 67
69
70 71
73
75
Bit Image Commands
Command Function MODE GS P Page
ESC * Specifying the bit image mode GS * Defining the download bit image GS / Printing the downloaded bit image GS v 0 Printing of raster bit image S 79
S・P S・P S・P
Status Commands
Command Function MODE GS P Page
DLE EOT Sending status in real-time GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status
S・P S・P S・P
Paper Detecting Commands
Command Function MODE GS P Page
ESC c 3
ESC c 4 Selecting the Paper Near-end Sensor valid for print stop
Selecting the Paper Sensor valid for Paper-end signal output
S・P
S・P
Panel Switch Commands
76 77 78
81
90
93
95
96
Command Function MODE GS P Page
ESC c 5 Enabling/disabling the panel switches
S・P
97
Macro Commands
Command Function MODE GS P Page
GS : Starting/ending macro definition GS ^ Executing the macro
S・P S・P
98
99
Cutter Commands
Command Function MODE GS P Page
ESC i Full cut ESC m Partial cut GS V Cutting the paper
S・P S・P S・P
100
101
102
Bar Code Commands
Command Function MODE GS P Page
GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code
S・P S・P S・P S・P S・P
103
104
105
106
111
Commands for Non-volatile Memory
Command Function MODE GS P Page
FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130
- 28 -
Kanji Control Commands
Command Function MODE GS P Page
FS ! Collectively setting Kanji print mode FS & Setting Kanji mode FS - Setting/Canceling Kanji underline FS
Canceling Kanji mode
FS 2 Defining external character FS C Selecting Kanji code system FS S Setting Kanji space amount FS W Setting/Canceling four times enlargement of Kanji FS ( A Setting font attribute of Kanji
S・P S・P S・P S・P S・P S・P
132 133 134 135 136 138
S・P S・P S・P
141 142
Black Mark Control Commands
Command Function MODE GS P Page
GS FF Printing and ejecting Black mark paper
S・P
Printer Function Setting Commands
Command Function MODE GS P Page
GS ( E Printer function setting command S 153 GS ( K Selecting print control method S 200 GS ( M Customizing the printer S 204
140
143
Other Commands
Command Function MODE GS P Page
DLE ENQ Real-time request to printer DLE DC4 Buffer clear ESC
Data input control
ESC @ Initializing the printer
S・P S・P S・P S・P
ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225 GS ( A Execution of test printing S 227 GS I Sending the printer ID GS P Specifying the basic calculation pitch
S・P S・P
In the Mode column: S = STANDARD MODE, P = PAGE MODE
O = shows the command affected by GS P.
219 221 222 223
228 235
- 29 -

2.2 Command Details

2.2.1 Description of Items

XXXX
support model
[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 depend 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
- 30 -
Loading...
+ 282 hidden pages