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

0 (0)
Command Reference
MODEL : CT-S280
CT-S300
CT-S2000
CT-S4000
BD2-2220
CT-S310
PMU2XXX
Revision 0.04 2007/8/29
CITIZEN is a registered trade mark of CITIZEN HOLDINGS CO., LTD., Japan.
CITIZEN es una marca registrada de CITIZEN HOLDINGS CO., LTD., Japón.
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
- 3 -

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
- 4 -
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 nValid 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
ESC
nL nH..................................................................................................................................67
ESC a n .......................................................................................................................................... 68
GS $ nL nH .................................................................................................................................... 69
GS L nL nH.....................................................................................................................................70
GS W nL nH...................................................................................................................................71
GS
nL nH ...................................................................................................................................73
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
- 5 -
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
- 6 -
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
- 7 -
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(USAEurope 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
- 8 -
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
- 9 -

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
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
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 -

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

2.1.2 CT-S300/CT-S310

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

2.1.3 CT-S2000

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

2.1.4 CT-S4000

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

2.1.5 BD2-2220

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

2.1.6 PMU2XXX

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

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
Loading...
+ 282 hidden pages