Manuals
/
Brands
/
Computer Equipment
/
Printer
/
Citizen Systems
/
Computer Equipment
/
Printer
Citizen Systems
BD2-2220, CT-S310, PMU2XXX manual
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
312
Download
312 pages, 4.86 Mb
1
2
3
4
5
6
7
8
9
10
11
Command Reference
MODEL
: CT-S280
CT-S300
CT-S2000
CT-S4000
BD2-2220
CT-S310
PMU2XXX
Revision 0.04 2007/8/29
Contents
Main
Command Reference
REVISON
Rev No. Date Comment
- 3 -
TABLE OF CONTENTS
2. CONTROL COMMANDS ..........................................................................10
Page
Page
Page
- 7 -
3. CHARACTER CODE TABLE ...................................................................237
- 8 -
- 9 -
1. OUTLINE
1.1 Operation Mode
1.2 Character Set
CITIZEN
- 10 -
2. CONTROL COMMANDS
2.1 ESC/POS Command List
2.1.1 CT-S280 Print Control Commands
Commands Function MODE GS P Page
Print Character Commands
Page
Page
2.1.2 CT-S300/CT-S310 Print Contorl Commands
Print Character Commands
Print Position Commands
Page
Page
2.1.3 CT-S2000 Print Contorl Commands
Print Character Commands
Print Position Commands
Page
2-dimensional Code Commands
Page
2.1.4 CT-S4000 Print Contorl Commands
Print Character Commands
Print Position Commands
Page
2-dimensional Code Commands
Page
2.1.5 BD2-2220 Print Contorl Commands
Print Character Commands
Print Position Commands
Line Feed Span Commands
Page
Page
2.1.6 PMU2XXX Print Contorl Commands
Print Character Commands
Print Position Commands
Line Feed Span Commands
Page
Page
- 30 -
2.2 Command Details
2.2.1 Description of Items
XXXX
2.2.2 Print Control Commands
LF
CR
FF At selection of PAGE MODE
FF valid only for Black mark specification
ESC FF
ESC J n
- 36 -
ESC d n
AAAAA
AAAAA
2.2.3 Print Character Commands
CAN
ESC SP n
ESC ! n
Page
ESC % n
ESC & s n m [ a [p] s x a ] m-n+1
Page
ESC - n
ESC ? n
ESC E n
ESC G n
ESC M n
ESC R n
CT-S2000/CT-S4000/CT-S310
CT-S300/CT-S310
CT-S2000
ESC V n
ESC t n
ESC { n
- 53 -
ESC ~ J n Valid in CBM-270-Compatible Mode
Red printing
ESC ~ J n Valid in CBM1000-Compatible Mode
DC3 n Valid in CBM-270-Compatible Mode
DC3 n Valid in CBM1000-Compatible Mode
GS ! n
Page
GS B n
GS b n
2.2.4 Print Position Commands
HT
AAA BBB CCC
ESC $ n1 n2
ESC D [n]k NULL
- 64 -
ESC T n
A
D
B
ESC W xL xH yL yH dxL dxH dyL dyH
Page
ESC
nL nH
ESC a n
GS $ nL nH
GS L nL nH
GS W nL nH
Page
GS
nL nH
2.2.5 Line Feed Span Commands
ESC 2
CT-S280/CT-S300/BD2-2220/CT-S310/PMU2XXX
CT-S2000/CT-S4000
ESC 3 n
CT-S2000/CT-S4000
2.2.6 Bit Image Commands
ESC * m n1 n2 [d] k
GS * n1 n2 [d] n1xn2x8
GS / m
GS v 0 m xL xH yL yH d1 ... dk
Page
2.2.7 Status Commands
DLE EOT n
head temperature falls. At this time, bit 6 = 1.
Page
Page
Page
Page
Page
ESC u n
ESC v
GS a n
CT-S280/BD2-2220/PMU2XXX
Page
Page
GS r n
CT-S300/CT-S2000/CT-S4000/CT-S310
CT-S280/BD2-2220/ PMU2XXX
Page
2.2.8 Paper Detecting Commands
ESC c 3 n
ESC c 4 n
2.2.9 Panel Switch Commands
ESC c 5 n
2.2.10 Macro Commands
GS :
GS ^ n1 n2 n3
2.2.11 Cutter Commands
ESC i
CT-S300/CT-S2000/CT-S4000/CT-S310/PMU2XXX
ESC m
GS V m (1) GS V m n (2)
2.2.12 Bar Code Commands
GS H n
GS f n
GS h n
(1)GS k m [d1...dk] NUL (2)GS k m n [d1...dn]
Page
Page
Page
Page
GS w n
2.2.13 Commands for Non-volatile Memory
GS ( C pL pH m fn b [c1 c2][d1...dk]
- 113 -
fn=048 Function 0 Erasing Specified Record
GS ( C pL pH m fn b kc1 kc2
fn=149 Function 1 Storing Data to Specified Record
GS ( C pL pH m fn b c1 c2 d1...dk
- 114 -
fn=250 Function 2 Sending Data Stored in Specified Record
GS ( C pL pH m fn b c1 c2
- 115 -
fn=351 Function 3 Sending Use Amount
fn=452 Function 4 Sending Remaining Capacity
- 116 -
fn=553 Function 5 Sending Key Code List of Stored Record
- 117 -
fn=654 Function 6 Erasing All User NV Memory Area in a Lump
GS ( C pL pH m fn b [d1 d2 d3]
GS ( L pL pH m fn [parameter] GS 8 L p1 p2 p3 p4 m fn [parameter]
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX
- 119 -
fn=048 Function 48 Sending NV Graphics Memory Capacity
fn=250 Function 50 Printing Graphics Data Stored in Print Buffer
- 120 -
fn=351 Function 51 Sending the Remaining Amount of NV Graphics Memory
- 121 -
fn=64 Function 64 Sending Key Code List of Defined NV Graphics
GS ( L pL pH m fn d1 d2
- 122 -
fn=65 Function 65 Erasing All Data of NV Graphics in a Lump
GS ( L pL pH m fn d1 d2 d3
fn=66 Function 66 Erasing Specified NV Graphics Data
GS ( L pL pH m fn kc1 kc2
- 123 -
fn=67 Function 67 Defining Raster Type Graphics Data to NV Memory
GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b
- 124 -
fn=69 Function 69 Printing Specified Graphics
GS ( L pL pH m fn kc1 kc2 x y
- 125 -
fn=112 Function 112 Storing Raster Type Graphics Data to Print Buffer
GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk
GS g 0 m nL nH
GS g 2 m nL nH
FS p n m
CITIZEN When Normal mode is specified CITIZEN When Quadruple size mode is specified
FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n
CT-S280/CT-S300/BD2-2220/CT-S310/PMU2XXX
CT-S2000/CT-4000
Page
2.2.14 Kanji Control Commands
FS ! n
- 133 -
FS &
4A;z
- 134 -
FS - n
FS .
FS 2 a1 a2 [d]k
Page
FS C n
- 139 -
FS S n1 n2
- 141 -
FS W n
- 142 -
FS ( A pL pH fn []
fn=48 Function 48 Set Kanji fonts
FS ( A pL pH fn m
2.2.15 Black Mark Control Commands
GS FF
CT-S4000
GS <
GS A m n
GS C 0 m n
GS C 1 n1 n2 n3 n4 n5 n6
GS C 2 n1 n2
GS C ; n1 ; n2 ; n3 ; n4 ; n5 ;
GS c
GS l n1L n1H n2L n2H
GS p n
2.2.16 Printer Function Setting Commands
GS ( D pL pH m [a1 b1]...[ak bk]
GS ( E pL pH fn []
- 154 -
fn=1 Function 1 Transferring to Printer Function Setting Mode
GS ( E pL pH fn d1 d2
fn=2 Function 2 End of Printer Function Setting Mode
GS ( E pL pH fn d1 d2 d3
fn=3 Function 3 Setting Memory Switch Value
GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1]
CT-S280/BD2-2220
CT-S300
CT-S2000/CT-S4000/CT-S310/PMU2XXX
CT-S2000/CT-S4000/CT-S310
Setting memory switch 3 (a = 3) Setting memory with 1 (a = 1)
Setting memory switch 2 (a = 2)
CT-S300
Setting memory with 1 (a = 1)
Setting memory switch 2 (a = 2)
CT-S300
Setting memory with 1 (a = 1) Setting memory switch 3 (a = 3)
Setting memory switch 2 (a = 2)
Setting memory switch 4 (a = 4)
Page
Page
Page
Setting memory with 1 (a = 1) Setting memory switch 3 (a = 3)
LT2X20
Setting memory switch 2 (a = 2) LT2X21 series platen-close/platen-open
CT-S310
Setting memory switch 3 (a = 3) Setting memory with 1 (a = 1)
*
Setting memory switch 2 (a = 2)
CT-S310
Setting memory switch 4 (a = 4)
* Memory switches 4-1, -2 are valid when memory switch 3-4 is ON.
Setting memory switch 5 (a = 5)
PMU2XXX
Base style is
Base style is PMU2XX0/PMU2XX2.
Setting memory with 1 (a = 1)
Page
- 168 -
fn=4 Function 4 Sending the Set Memory Switch Value
CT-S280/BD2-2220
CT-S300/PMU2XXX
CT-S2000/CT-S4000/CT-S310
GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH]
- 169 -
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
fn=6 Function 6 Sending the Set Customized Value
- 181 -
a = 5: When print density is specified
a = 6: When printing speed is specified
a = 116: When kind of paper is specified
a = 201: When ACK output position is specified
a = 202: Input buffer full Busy output/cancel timing
Page
a = 201: When ACK output position is specified
a = 202: Input buffer full Busy output/cancel timing
a=220: When maximum black mark width is specified
a=221: When maximum length of black mark page is specified
a=222: When head margin is specified
a = 1: When user NV memory capacity is specified
a = 2: When NV graphics memory capacity is specified
a = 3: When paper width is specified
a = 5: When print density is specified
a = 116: When kind of paper is specified
a = 201: When ACK output position is specified Setting Status Sending Data
a = 202: Input buffer full Busy output/cancel timing
a=212 Wen DMA (Direct Memory Access) control of serial communication is specified
a=213 When the flow control of virtual COM is specified.
Page
a = 1: When user NV memory capacity is specified
a = 2: When NV graphics memory capacity is specified
a = 3: When paper width is specified
a = 5: When print density is specified
Page
Page
Page
a=220: When maximum black mark width is specified
a=221: When maximum length of black mark page is specified
a=222: When head margin is specified
a=223: When bottom margin is specified
a=224: When cut distance is specified
GS ( E pL pH fn a d1 d2
- 194 -
Work Area
fn=8 Function 8 Defining Data by the Column Format to Character Code Page of
GS ( E pL pH fn y c1 c2 [xd1...d(yx)]k
- 195 -
Work Area
fn=9 Function 9 Defining Data in the Raster Format to the Character Code Page of
GS ( E pL pH fn x c1 c2 [y d1...d(xy)]k
Data structure(1224) d1 (odd number) d2 (even number)
GS ( E pL pH fn c1 c2
- 197 -
fn=11 Function 11 Setting Communication Conditions
GS ( E pL pH fn a d1...dk
- 198 -
fn=12 Function 12 Sending the Set Communication Conditions
- 199 -
State at Shipment
fn=255: Function 255 Setting All Contents Set by Printer Function Setting Mode to the
Page
- 201 -
fn=49 Function 49 Setting Printing Density
- 202 -
fn=50 Function 50 Setting Printing Speed
- 203 -
fn=97 Function 97 Setting Number of Divisions for Head Conducting
Page
- 205 -
fn=149 Function 1 Copies the set value stored in work area to the storage area
fn=250 Function 2 Copies the set value stored in storage area to the work area
Page
- 207 -
GS ( N pL pH fn m
fn=48 Function 48 Selects character color
GS ( N pL pH fn m
2.2.17 2-dimensional code Commands
GS ( k pL pH cn fn [parameter]
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX
- 209 -
fn=65 Function 65 Setting the number of digits of PDF417
fn=66 Function 66 Setting the number of steps of PDF417
- 210 -
fn=67 Function 67 Setting module width of PDF417
fn=68 Function 68 Setting the height of step of PDF417
- 211 -
fn=69 Function 69 Setting error correction level of PDF417
GS ( k pL pH cn fn m n
- 212 -
fn=70 Function 70 Setting Options for PDF417
GS ( k pL pH cn fn m
fn=80 Function 80 Storing received data to 2-dimensional code data storage area
GS ( k pL pH cn fn m d1...dk
- 213 -
storage area
fn=81 Function 81 Printing 2-dimensional code data in 2-dimensional code data
- 214 -
code data storage area
fn=82 Function 82 Sending the size of 2-dimensional code data in 2-dimensional
- 215 -
fn=65 Function 165 Specifying QRCode model
GS ( k pL pH cn fn n1 n2
fn=67 Function 167 Sets the modul e width of QRCode
GS ( k pL pH cn fn n
- 216 -
fn=69 Function 169 Sett ing QRCod e error co rrection level
GS ( k pL pH cn fn n
fn=80 Function 180 Stor ing recei ved data t o 2-dimen sional co de data st orage area
GS ( k pL pH cn fn m d1...dk
- 217 -
data storage area
fn=81 Function 181 Prin ting 2-di mensiona l code dat a in 2-dime nsional c ode
- 218 -
2-dimensional code da
fn=82 Function 182 Send ing the si ze of 2-dim ensional code data in ta storage area
2.2.18 Other Commands
DLE ENQ n
DLE DC4 fn m t Specification of fn = 1
DLE DC4 fn d1...d7 Specification of fn = 8
ESC = n
ESC @
ESC L
ESC S
ESC p m n1 n2
GS ( A pL pH n m
GS I n
CT-S280
- 229 -
CT-S300/CT-S310
- 230 -
CT-S2000
- 231 -
CT-S4000
- 232 -
BD2-2220
- 233 -
- 234 -
PMU2XXX
GS P x y
ESC RS
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
- 250 -
3.3 Kanji Code Table
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
- 265 -
4. Memory Switch
4.1 Memory Switches
4.1.1 CT-S280
4.1.2 CT-S300
4.1.3 CT-S2000
No.
4.1.4 CT-S4000
Page
4.1.5 BD2-2220
*This function is enabled for platen close/open operation when LT-2x21 is used.
4.1.6 CT-S310
Page
4.1.7 PMU2XXX
Page
- 276 -
4.2 Details of Memory Switches
4.2.1 MSW1
Page
Page
4.2.2 MSW2
Page
Page
4.2.3 MSW3
Page
Page
4.2.4 MSW4
Page
4.2.5 MSW5
4.2.6 MSW6
4.2.7 MSW7
Page
4.2.8 MSW8
4.2.9 MSW9
4.2.10 MSW10
- 294 -
5. APPENDIX
5.1 Explanation on PAGE MODE
5.1.1 Overview
5.1.2 Values Set by Each Command in STANDARD MODE and PAGE MODE
5.1.3 Mapping of Print Data in the Print Area
Page
5.1.4 Example of Using PAGE MODE
Page
Page
Page
- 301 -
5.2 Bidirectional Parallel Interface
Overview
5.2.1 Parallel Interface Communication Mode
5.2.2 Interfacing Phases
Data Xfer
Data
5.2.3 Negotiation
Overview
Page
Data Communication from Printer to Host
Nibble Mode
Page
Byte Mode
Page
Page
- 310 -
5.3 Identification of Send Status
- 311 -
5.4 Cautions on Black Mark/Label Paper