Citizen Systems BD2-2220 manual

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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Citizen Systems BD2-2220, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Citizen Systems BD2-2220 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Citizen Systems BD2-2220. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Citizen Systems BD2-2220 should contain:
- informations concerning technical data of Citizen Systems BD2-2220
- name of the manufacturer and a year of construction of the Citizen Systems BD2-2220 item
- rules of operation, control and maintenance of the Citizen Systems BD2-2220 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Citizen Systems BD2-2220 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Citizen Systems BD2-2220, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Citizen Systems service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Citizen Systems BD2-2220.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Citizen Systems BD2-2220 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Command Reference MODEL : CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 PMU2XXX Revision 0.04 2007/8/29[...]

  • Page 2

    CITIZEN is a registered trade mark of CI TIZEN HOLDINGS CO., L TD., Japan. CITIZEN es una marca registrada de CITI ZEN HOL DINGS CO., L TD., Japón. REVISON Rev No. Date Comment 0.00 2006/9/26 Newly isuued 0.01 2006/11/22 Add progr am sample for F S p and FS q 0.02 2007/2/26 Revised pag e 153,155,15 9,169,205-207 0.03 2007/5/21 Supported CT - S310 [...]

  • Page 3

    - 3 - TABLE OF CONTENTS TABLE OF CONTENTS ................................................................................... 3 1. OUTLINE ................................................................................................... 9 1.1 O PERATION M ODE ........................................................................................[...]

  • Page 4

    - 4 - ESC t n ............................................................................................................................... ............ 51 ESC { n ............................................................................................................................... ........... 52 ESC ~ J n ( Valid in CBM-270-Compatible[...]

  • Page 5

    - 5 - 2.2.11 Cutter Commands ....................................................................................................... 100 ESC i ............................................................................................................................... ............. 100 ESC m .......................................................[...]

  • Page 6

    - 6 - 2.2.15 Black Mark Control Commands ................................................................................. 143 GS FF ............................................................................................................................... ............ 143 GS < ................................................................[...]

  • Page 7

    - 7 - fn=82 : F u nc t i o n 8 2 Sending the size of 2-dimensional code data in 2-dimensio nal code data storage area ............................................................................................................................... ..........................214 fn=65 : Function 165 Specifying QRCode model .........................[...]

  • Page 8

    - 8 - 4. MEMORY SWITCH ................................................................................ 265 4.1 M EMORY S WITCHES .................................................................................................. 265 4.1.1 CT-S280 .......................................................................................................[...]

  • Page 9

    - 9 - 1. OUTLINE 1.1 Operation Mode Our printer has ESC/POSTM as control command s. 1.2 Character Set All print data sent from th e host compute r to the printer are aut omatically converted to one-byte alp hanumeric or katakana character s (ANK) or two-byte Kanji corresponding to the char acters and symbol s. NOTE: For the contents of character se[...]

  • Page 10

    - 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 f eed S ・ P 31 CR Back to printing S ・ P 32 FF Printing in P AGE MODE and returni ng to ST AN DARD MODE (at the selection of P AGE MODE) P 33 ESC FF Printing data in P AGE MODE P 34 ESC J Printing and f[...]

  • Page 11

    - 11 - Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line f eed rate S ・ P 74 ESC 3 Setting line feed rate of mini mum pitch S ・ P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the downl oad bit image S ・ P 77 GS / Printing the download[...]

  • Page 12

    - 12 - Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S ・ P 132 FS & Setting Kanji mode S ・ P 133 FS - Setting/Canceling Kanji underl ine S ・ P 134 FS . Canceling Kanji mode S ・ P 135 FS 2 Def ining external char acter S ・ P 136 FS C Selecting K anji code system S ・ P 138 FS S Set[...]

  • Page 13

    - 13 - 2.1.2 CT-S300/CT-S310 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper f eed S ・ P 31 CR Back to printing S ・ P 32 FF (1)Pri nting in PAGE MODE and re turning to STANDARD MODE (at the selection of P AGE MODE) (2)Printing of Black m ark and paper feeding to the top of the print position (with Bl ack mark paper [...]

  • Page 14

    - 14 - Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line f eed rate S ・ P 74 ESC 3 Setting line feed rate of mini mum pitch S ・ P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the downl oad bit image S ・ P 77 GS / Printing the do wnloa[...]

  • Page 15

    - 15 - Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S ・ P 132 FS & Setting Kanji mode S ・ P 133 FS - Setting/Canceling Kanji underl ine S ・ P 134 FS . Canceling Kanji mode S ・ P 135 FS 2 Def ining external char acter S ・ P 136 FS C Selecting K anji code system S ・ P 138 FS S Set[...]

  • Page 16

    - 16 - 2.1.3 CT-S2000 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper f eed S ・ P 31 CR Back to printing S ・ P 32 FF (1)Pri nting in PAGE MODE and re turning to STANDARD MODE (at the selection of P AGE MODE) (2)Printing of Black m ark and paper feeding to the top of the print position (with Bl ack mark paper sel ect[...]

  • Page 17

    - 17 - Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line f eed rate S ・ P 74 ESC 3 Setting line feed rate of mini mum pitch S ・ P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the download b it image S ・ P 77 GS / Printing the do wnloa[...]

  • Page 18

    - 18 - Commands for Non-volatile Memory Command Function MODE GS P Page G S ( C Editing user NV m emory S 112 G S ( L G S 8 L Specifying graphics data S 118 G S g 0 Initializing mainten ance counter S 126 G S g 2 Sending m aintenance counter S 127 FS p Printing the do wnload NV bit image s S 128 FS q Defining the downl oad NV bit image S 130 Kanji [...]

  • Page 19

    - 19 - Other Commands Command Function MODE GS P Page DLE ENQ Real-time r equest to print er S ・ P 219 DLE DC4 Outputting specified p ulse in real-time/Buff er clear S ・ P 220 / 221 ESC = Data input control S ・ P 222 ESC @ Initializing the printer S ・ P 223 ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MO DE P 225 ESC p Genera [...]

  • Page 20

    - 20 - 2.1.4 CT-S4000 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper f eed S ・ P 31 CR Back to printing S ・ P 32 FF (1)Pri nting in PAGE MODE and re turning to STANDARD MODE (at the selection of P AGE MODE) (2)Printing of Black m ark and paper feeding to the top of the print position (with Bl ack mark paper sel ect[...]

  • Page 21

    - 21 - Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line f eed rate S ・ P 74 ESC 3 Setting line feed rate of mini mum pitch S ・ P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the downl oad bit image S ・ P 77 GS / Printing the do wnloa[...]

  • Page 22

    - 22 - Commands for Non-volatile Memory Command Function MODE GS P Page G S ( C Editing user NV m emory S 112 G S ( L G S 8 L Specifying graphics data S 118 G S g 0 Initializing mainten ance counter S 126 G S g 2 Sending m aintenance counter S 127 FS p Printing the do wnload NV bit image s S 128 FS q Defining the downl oad NV bit image S 130 Kanji [...]

  • Page 23

    - 23 - Other Commands Command Function MODE GS P Page DLE ENQ Real-time r equest to print er S ・ P 219 DLE DC4 Outputting specified p ulse in real-time/Buff er clear S ・ P 220 / 221 ESC = Data input control S ・ P 222 ESC @ Initializing the printer S ・ P 223 ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MO DE P 225 ESC p Genera [...]

  • Page 24

    - 24 - 2.1.5 BD2-2220 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper f eed S ・ P 31 CR Back to printing S ・ P 32 FF Printing in P AGE MODE and returni ng to ST AN DARD MODE (at the selection of P AGE MODE) P 33 ESC FF Printing d ata in P AGE MODE P 34 ESC J Printing and f eeding paper in minimum pitch S ・ P ○ 3[...]

  • Page 25

    - 25 - Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the downl oad bit image S ・ P 77 GS / Printing the downloaded bit i mage S ・ P 78 G S v 0 Printing of raster bit image S 79 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real-time S ・ P 81 GS a Ena[...]

  • Page 26

    - 26 - Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S ・ P 132 FS & Setting Kanji mode S ・ P 133 FS - Setting/Canceling Kanji underl ine S ・ P 134 FS . Canceling Kanji mode S ・ P 135 FS 2 Def ining external char acter S ・ P 136 FS C Selecting K anji code system S ・ P 138 FS S Set[...]

  • Page 27

    - 27 - 2.1.6 PMU2XXX Print Contorl Commands Command Function MODE GS P Page LF Printing and paper f eed S ・ P 31 CR Back to printing S ・ P 32 FF (1)Pri nting in PAGE MODE and re turning to STANDARD MODE (at the selection of P AGE MODE) (2)Printing of Black m ark and paper feeding to the top of the print position (with Bl ack mark paper sel ecte[...]

  • Page 28

    - 28 - Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S ・ P 76 GS * Defining the downl oad bit image S ・ P 77 GS / Printing the downloaded bit i mage S ・ P 78 G S v 0 Printing of raster bit image S 79 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real-time S ・ P 81 GS a Ena[...]

  • Page 29

    - 29 - Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S ・ P 132 FS & Setting Kanji mode S ・ P 133 FS - Setting/Canceling Kanji underl ine S ・ P 134 FS . Canceling Kanji mode S ・ P 135 FS 2 Def ining external char acter S ・ P 136 FS C Selecting K anji code system S ・ P 138 FS S Set[...]

  • Page 30

    - 30 - 2.2 Command Details 2.2.1 Description of Items XXXX support model [Function] The name of a comman d. [Code] The string of code s comprising the comm and is represented by < > H f or hexadecimal number s, < > B for binary numbers, and < > for decimal numbers, [ ] k de notes the number of repetiti on of “k” time s. [Range[...]

  • Page 31

    - 31 - 2.2.2 Print Control Commands LF CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing and paper feed [Code] < 0A > H [Outline] [The specification which i s common to the model] Prints data inside the print buffer and f eeds paper based on the line feed am ount having been set . [Caution] After thi[...]

  • Page 32

    - 32 - CR CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Back to printing [Code] < 0D > H [Outline] [The specification which i s common to the model] (1) When me mory switch 1-5 is OFF: This comman d is ignored . (2) When memory switch 1-5 is ON: The same oper ation as LF is exec uted. [See Also] LF [Sampl[...]

  • Page 33

    - 33 - FF ( At selection of PAGE MODE ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing in PAG E MODE and returning to STANDARD MODE (at the sel ection of PAGE MODE) [Code] < 0C > H [Outline] [The specification which i s common to the model] Executes a ba tch printout of the d ata mapped in the[...]

  • Page 34

    - 34 - ESC FF CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing data in PAGE MODE [Code] < 1B > H < 0C > H [Outline] [The specification which i s common to the model] Executes a batch printout of the data mappe d in the entire print area in PAGE MOD E. [Caution] • This command is on ly effect[...]

  • Page 35

    - 35 - ESC J n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing and feeding paper in minimum pitch [Code] < 1B > H < 4A > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Prints the data held in the print buffer and feeds paper by [n × basic ca[...]

  • Page 36

    - 36 - ESC d n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing and feeding the paper by “n” lines [Code] < 1B > H < 64 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Prints data in the print buffer and feeds paper by “ n” lines. Spe[...]

  • Page 37

    - 37 - 2.2.3 Print Character Commands CAN CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Canceling print data in PAG E MODE [Code] < 18 > H [Outline] [The specification which i s common to the model] Erases all data contained i n the currently effective prin t area in PAGE MODE. [Caution] • This comma nd[...]

  • Page 38

    - 38 - ESC SP n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the right spacing of the ch aracter [Code] < 1B > H < 20 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Sets the right spacing of charact er to [n × basic calculation pitch] in[...]

  • Page 39

    - 39 - ESC ! n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Collectively specifying the prin ting mode [Code] < 1B > H < 21 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Printing mode is assig ned. [The specification whic h depend on the model] [...]

  • Page 40

    - 40 - [Caution] • With doubl e height and double width b eing specified simultaneou sly, quadruple characters are created. • An underline is attached to the full character wi dth, whic h, however, is not attached to the part having been skipped by the horizontal tab (HT) . Neither is it attached to 90°-right-turned characters . • The underl[...]

  • Page 41

    - 41 - ESC % n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling download character set [Code] < 1B > H < 25 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Specifying/canceling download characters. • “n” is valid only for th[...]

  • Page 42

    - 42 - ESC & s n m [ a [p] s x a ] m-n+1 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Defining the do wnload characters [Code] < 1B > H < 26 > H < s > H < n > H < m > H [< a > H < p1 > H < p2 >・・ ・< ps×a >] m-n+ 1 [Range] s=3(Font A, B) s=2 ([...]

  • Page 43

    - 43 - [Example] F o n t A 24dot 12dot p4 p5 p6 p36 p35 p34 MSB p3 p2 p1 LSB Create each data bi t by setting “1” for a printed dot and “0” for an unprinted dot. [Sample Program] Refer to Sample P rogram and P rint Results for ESC % .[...]

  • Page 44

    - 44 - ESC - n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying /canceling underlin e [Code] < 1B > H < 2D > H < n > [Range] 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] Specifying /canceling an underline. n Function 0,48 Canceling under[...]

  • Page 45

    - 45 - ESC ? n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Deleting downl oad charact ers [Code] < 1B > H < 3F > H < n > [Range] 32 ≦ n ≦ 126 [Outline] [The specification which i s common to the model] Deletes the d ownloaded char acters of spec ified code. [Caution] • The characte r ?[...]

  • Page 46

    - 46 - ESC E n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling emph asis printing [Code] < 1B > H < 45 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Specifying/canceling the emp hasized character s. • “n” is valid only fo[...]

  • Page 47

    - 47 - ESC G n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling double strike printing [Code] < 1B > H < 47 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Specifying /canceling th e double strike printing. • “n” is valid on[...]

  • Page 48

    - 48 - ESC M n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selection of ch aracter fonts [Code] < 1B > H < 4D > H < n > [Range] 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] Selects char acter font s. [The specification whic h depend on the mod[...]

  • Page 49

    - 49 - ESC R n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting the internation al character set [Code] < 1B > H < 52 > H < n > [Range] CT-S280 / CT-S300 / BD 2-2220 / PMU2XXX 0 ≦ n ≦ 13 CT-S2000 / C T-S4000 / CT-S310 0 ≦ n ≦ 15 [Outline] [The specification which i s common to t[...]

  • Page 50

    - 50 - ESC V n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling 90°-rig ht-turned characters [Code] < 1B > H < 56 > H < n > [Range] 0 ≦ n ≦ 1 、 48 ≦ n ≦ 49 [Outline] [The specification which i s common to the model] Specifying/canceling 90°-rig ht-turned character[...]

  • Page 51

    - 51 - ESC t n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selectin g the charac ter code table [Code] < 1B > H < 74 > H < n > [Range] 0 ≦ n ≦ 9 、 16 ≦ n ≦ 19 、 n=26 、 40 、 255 [Outline] [The specification which i s common to the model] Selecting the char acter code table. Th[...]

  • Page 52

    - 52 - ESC { n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling the inv erted charac ters [Code] < 1B > H < 7B > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] • “n” is valid only for the lowest bit (n0). • Rotate data in t[...]

  • Page 53

    - 53 - ESC ~ J n ( V alid in CBM-270-Compatible Mode ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifies/cancels printing in red (black-based paper) [Code] < 1B > H < 7E > H < 4A > H < n > [Range] 0 ≦ n ≦ 255 [Outline] Specifies or cancel s printing in red . • Red printin[...]

  • Page 54

    - 54 - ESC ~ J n ( V alid in CBM1000-Compatible Mode ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifies/cancels printing in red (black-based paper) [Code] < 1B > H < 7E > H < 4A > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Speci[...]

  • Page 55

    - 55 - DC3 n ( V alid in CBM-270-Compatible Mode ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifies/cancels printing in red (black-based paper) [Code] < 13 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] Specifies or cancel s printing in red . • Red printing is vali d on black-based thermal[...]

  • Page 56

    - 56 - DC3 n ( V alid in CBM1000-Compatible Mode ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifies/cancels printing in red (black-based paper) [Code] < 13 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Specifies or cancel s printing in red .[...]

  • Page 57

    - 57 - GS ! n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the character si ze [Code] < 1D > H < 21 > H < n > [Range] 0 ≦ n ≦ 255 Where: 1 ≤ vertical magnification ≤ 8, 1 ≤ horizontal magnification ≤ 8 [Outline] [The specification which i s common to the model] Specifie[...]

  • Page 58

    - 58 - [Caution] [The specific ation which is common to the model ] • This co mmand is val id for all cha racters (alpha numeric, kana , and kanji) e xcept for HRI characters . • This command is ignored if either the vert ical magnification or horizontal magnif ication is out of the defined ran ge. • In PAGE MODE, the verti cal direction m ea[...]

  • Page 59

    - 59 - GS B n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling the bl ack/white inverted printing [Code] < 1D > H < 42 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This comman d specifies or cancels the blac k/white inver ted p[...]

  • Page 60

    - 60 - GS b n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying/canceling the smoothing [Code] < 1D > H < 62 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This comman d specifies or cancels t he smoothing . • “n” is valid only for th[...]

  • Page 61

    - 61 - 2.2.4 Print Position Commands HT CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Horizontal tab [Code] < 09 > H [Outline] [The specification which i s common to the model] Shifts the printing position to th e ne xt horizontal tab po sition. • Ignored when t he next horizonta l tab position has no t[...]

  • Page 62

    - 62 - ESC $ n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the absolut e positions [Code] < 1B > H < 24 > H < n1 >< n2 > [Range] 0 ≦ n1 ≦ 255 0 ≦ n2 ≦ 255 [Outline] [The specification which i s common to the model] The printing start positi on is specifi ed by th[...]

  • Page 63

    - 63 - ESC D [n]k NULL CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting horizontal tab position [Code] < 1B > H < 44 > H[ < n > ]k < 00 > H [Range] 1 ≦ n ≦ 255 0 ≦ k ≦ 32 [Outline] [The specification which i s common to the model] Specifying a horizon tal tab position. • ?[...]

  • Page 64

    - 64 - ESC T n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting the char acter printing direc tion in PAGE MOD E [Code] < 1B > H < 54 > H < n > [Range] 0 ≦ n ≦ 3 、 48 ≦ n ≦ 51 [Outline] [The specification which i s common to the model] Selects the dire ction and star t point o[...]

  • Page 65

    - 65 - ESC W xL xH yL yH dxL dxH dyL dyH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Defining the print area in PAGE MODE [Code] < 1B > H < 57 > H < xL >< xH >< yL >< yH >< dx L >< dxH >< dyL >< dyH > [Range] 0 ≦ xL 、 xH 、 yL 、 yH 、 dx L ?[...]

  • Page 66

    - 66 - [Default] xL=xH=yL=yH=0 dyL=126 、 dyH=6 dxL,dyH depends on p aper width. (Ref er to the belo w Table) paper width print wid th/(dot) dxL dxH support model 112mm 104mm/(832) 96 3 CT-S4000 112mm 90mm/(720) 208 2 CT-S4000 83mm 82.5mm/(660) 148 2 CT-S4000 83mm 80mm/(640) 128 2 CT-S4000 / CT-S2000 80mm 72mm/(576) 64 2 CT-S4000 / CT-S2000 / CT-S[...]

  • Page 67

    - 67 - ESC \ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the relative position [Code] < 1B > H < 5C > H < nL >< nH > [Range] 0 ≦ nL ≦ 255 0 ≦ nH ≦ 255 [Outline] [The specification which i s common to the model] This command specifies the next print st art pos[...]

  • Page 68

    - 68 - ESC a n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Aligning the characters [Code] < 1B > H < 61 > H < n > [Range] 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] All the printed data withi n one line are align ed in the specified posi tio[...]

  • Page 69

    - 69 - GS $ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the ab solute position of character verti cal direction in PAGE MODE [Code] < 1D > H < 24 > H < nL >< nH > [Range] 0 ≦ nL ≦ 255 、 0 ≦ nH ≦ 255 [Outline] [The specification which i s common to the model] [...]

  • Page 70

    - 70 - GS L nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the left margin [Code] < 1D > H < 4C > H < nL >< nH > [Range] 0 ≦ nL ≦ 255 、 0 ≦ nH ≦ 255 [Outline] [The specification which i s common to the model] This command sets the left margin sp ecified by nL and n[...]

  • Page 71

    - 71 - GS W nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the print area width [Code] < 1D > H < 57 > H < nL >< nH > [Range] 0 ≦ nL ≦ 255 0 ≦ nH ≦ 255 [Outline] [The specification which i s common to the model] Sets the print area width specified by nL and nH. The p[...]

  • Page 72

    - 72 - (2) If a sufficient area c annot be provided as a r esult of step (1), the print area i s extended toward the left (so, th e left margin is decreased). Printable area A Left margin (1) Extended (2) The left m argin is trimmed toward the right Print area width (3) If a sufficient area c annot be provided as a r esult of step (2), the right [...]

  • Page 73

    - 73 - GS \ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the relativ e vertical position of a charac ter in PAGE MOD E [Code] < 1D > H < 5C > H < nL >< nH > [Range] 0 ≦ nL ≦ 255 、 0 ≦ nH ≦ 255 [Outline] [The specification which i s common to the model] T h i[...]

  • Page 74

    - 74 - 2.2.5 Line Feed Span Commands ESC 2 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying 1/6-inch lin e feed rate [Code] < 1B > H < 32 > H [Outline] [The specification which i s common to the model] [The specification whic h depend on the model] CT-S280 / CT-S300 / BD 2-2220 / CT-S310 / P[...]

  • Page 75

    - 75 - ESC 3 n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting line feed rate of mini mum pitch [Code] < 1B > H < 33 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Sets the line feed wid th per line to [n × b asic calculati on pitch] inches[...]

  • Page 76

    - 76 - 2.2.6 Bit Image Commands ESC * m n1 n2 [d] k CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the bit image mode [Code] < 1B > H < 2A > H < m > H < n1> < n2 > [ < d > ]k [Range] m=0 、 1 、 32 、 33 0 ≦ n1 ≦ 255 、 0 ≦ n2 ≦ 2 0 ≦ d ≦ 255 k=n1+25[...]

  • Page 77

    - 77 - GS * n1 n2 [d] n1xn2x8 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Defining the downl oad bit image [Code] < 1D > H < 2A > H < n1 >< n2 > [ < d > ]n 1×n2×8 [Range] 1 ≦ n1 ≦ 255 1 ≦ n2 ≦ 48 n1×n2 ≦ 1536 [Outline] [The specification which i s common to the model[...]

  • Page 78

    - 78 - GS / m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing the do wnloaded bit im age [Code] < 1D > H < 2F > H < m > [Range] 0 ≦ m ≦ 3 、 48 ≦ m ≦ 51 [Caution] [The specific ation which is common to the model ] Prints downloaded bit image in a mod e specified by “m”. Mod[...]

  • Page 79

    - 79 - GS v 0 m xL xH yL yH d1 ... dk CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing of raster bit imag e [Code] < 1D > H < 76 > H < 30 > H < m >< xL >< xH >< yL >< yH >〔< d >〕 k [Range] 0 ≦ m ≦ 3 、 48 ≦ m ≦ 51 、 0 ≦ xL ≦ 255 、 [...]

  • Page 80

    - 80 - [Example] When xL + xH x 256 = 64 ( xL+xH×256 )×8 dots = 512 dots ド ト ドト 2 3 1 62 64 63 7 6 5 4 3 2 1 0 yL+yH×256 dots 128 127 126 68 67 65 K- 1 K- 2 K MSB LSB[...]

  • Page 81

    - 81 - 2.2.7 Status Commands DLE EOT n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [See Also] [Caution] • Each statu s represents the current statu s. It is 1 byte data. [Outline] [The specification which i s common to the model] [Range] 1 ≦ n ≦ 4 [Code] < 10 > H < 04 > H < n > [Function] Sending[...]

  • Page 82

    CT-S280 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (w hen n = 3 is specified) Bit Status Hex. Decimal Bit Status Hex. Decimal 0 Fixed 00 0 0 Fixed 00 0 1 Fixed 02 2 1 Fixed 02 2 2 Fixed 04 4 2 Fixed 00 0 Online status 00 0 3 Fixed 00 0 3 Offline status 08 8 4 Fixed 10 16 4 Fixed 10 16 Unrecoverable error not occurred[...]

  • Page 83

    CT-S300 / CT-S310 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (w hen n = 3 is specified) Bit Status Hex. Decimal Bit Status Hex. Decimal 0 Fixed 00 0 0 Fixed 00 0 1 Fixed 02 2 1 Fixed 02 2 No B.M detection error occurred Status of pin 3 of drawer kick-out connector = L 00 0 00 0 2 (only when B.M paper is selected) Sta[...]

  • Page 84

    CT-S2000 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (w hen n = 3 is specified) Bit Status Hex. Decimal Bit Status Hex. Decimal 0 Fixed 00 0 0 Fixed 00 0 1 Fixed 02 2 1 Fixed 02 2 Status of pin 3 of drawer kick-out connector = L 00 0 No B.M detection error occurr ed 00 0 2 (only when B.M paper is selected) Status of p[...]

  • Page 85

    CT-S4000 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (w hen n = 3 is specified) Bit Status Hex. Decimal Bit Status Hex. Decimal 0 Fixed 00 0 0 Fixed 00 0 1 Fixed 02 2 1 Fixed 02 2 Status of pin 3 of drawer kick-out connector = L 00 0 No B.M detection error occurr ed 00 0 2 (only when B.M paper is selected) Status of p[...]

  • Page 86

    BD2-2220 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (w hen n = 3 is specified) Bit Status Hex. Decimal Bit Status Hex. Decimal 0 Fixed 00 0 0 Fixed 00 0 1 Fixed 02 2 1 Fixed 02 2 2 Fixed 04 4 2 Fixed 00 0 Online status 00 0 Auto cutter error not occurred 00 0 3 3 Offline status 08 8 Auto cutter error occurred 08 8 4 [...]

  • Page 87

    Hex. Decimal - 87 - PMU2XXX (1) Printer status (When n = 1 is specified) Bit Status Hex. Decimal 0 Fixed 00 0 1 Fixed 02 2 2 Fixed 04 4 Online status 00 0 3 Offline status 08 8 4 Fixed 10 16 Not waiting online recovery 00 0 5 Waiting online recovery 20 32 LF-SW signal is High-Level 00 0 6 LF-SW signal is Low-Level 40 64 7 Fixed 00 0 (2) Status caus[...]

  • Page 88

    - 88 - ESC u n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Sending the peripheral device status [Code] < 1B > H < 75 > H < n > [Outline] [The specification which i s common to the model] Send the current drawer kick connector pin# 3 status. • n has the t ype shown in the table below: n Con[...]

  • Page 89

    - 89 - ESC v CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Transmis sion of printer status [Code] < 1D > H < 76 > H [Outline] [The specification which i s common to the model] Transmits curr ent printer status . [Caution] • Stat us is transmi tted in 1byte with t he content shown in the following [...]

  • Page 90

    - 90 - GS a n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Enabling/disab ling ASB (Automatic S tatus Back) [Code] < 1D > H < 61 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This comman d selects the statu s item to be addressed by ASB (Autom a[...]

  • Page 91

    - 91 - (1) 1st b yte (Printer informa tion) Bit Status Hex. Decimal 0 Unused 00 0 1 Unused 00 0 Status of pin 3 of dr awer kick-out connector = “L” 00 0 2 Status of pin 3 of drawer ki ck-out connector = “H” 04 4 Online status 00 0 3 Offline status 08 8 4 Unused 01 16 Cover closed 00 0 5 Cover open 20 32 Not in paper feed state trigg ered by[...]

  • Page 92

    - 92 - (4) 4t h byte (Pape r Sensor info rmation) In case of MSW3-7 ON Bit Status Hex. Decimal 0 Undefined - - 1 Undefined - - 2 Undefined - - 3 Undefined - - 4 Unused 00 0 5 Undefined - - 6 Undefined - - 7 Unused 00 0 In case of MSW3-7 OFF (CBM100 0 non-compatible mode ) Bit Status Hex. Decimal 0 Reserved 01 1 1 Reserved 02[...]

  • Page 93

    - 93 - GS r n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Sending status [Code] < 1D > H < 72 > H < n > [Range] CT-S280 / BD2 -2220 / P MU2XXX n=1 、 49 CT-S300 / CT-S2000 / CT-S4000 / CT-S310 1 ≦ n ≦ 2 、 49 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] Send[...]

  • Page 94

    - 94 - • Paper Sensor status (n = 1, 49) Bit Status Hex. Decimal Paper found b y Paper Near-end Sensor 00 0 0,1 Paper not found by Paper Near-end Sensor 03 3 Paper found b y Paper-end Sensor 00 0 2,3 Paper not found by Paper-end Sensor (0C) (12) 4 Unused 00 0 5 Undefined - - 6 Undefined - - 7 Unused 00 0 • Drawer kick-out connect or sta[...]

  • Page 95

    - 95 - 2.2.8 Paper Detecting Commands ESC c 3 n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting the Paper Sensor valid for a Paper-end signal output [Code] < 1B > H < 63 > H < 33 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This co[...]

  • Page 96

    - 96 - ESC c 4 n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting the Paper Ne ar-end Sensor valid fo r print stop [Code] < 1B > H < 63 > H < 34 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This command selects the P aper Near-end S[...]

  • Page 97

    - 97 - 2.2.9 Panel Switch Commands ESC c 5 n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Enabling/disab ling the panel switches [Code] < 1B > H < 63 > H < 35 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Enabling/disab ling the FEED switc[...]

  • Page 98

    - 98 - 2.2.10 Macro Commands GS : CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Starting/ending macro d efinition [Code] < 1D > H < 3A > H [Outline] [The specification which i s common to the model] Specifying starting/ending m acro definition. Reception of this command during macro d efin ition sig[...]

  • Page 99

    - 99 - GS ^ n1 n2 n3 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Executing the macro [Code] < 1D > H < 5E > H < n1 >< n2 >< n3 > [Range] 0 ≦ n1 ≦ 255 0 ≦ n2 ≦ 255 0 ≦ n3 ≦ 1 [Outline] [The specification which i s common to the model] Executing contents defined in macr[...]

  • Page 100

    - 100 - 2.2.11 Cutter Commands ESC i CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Full cutting of paper [Code] < 1B > H < 69 > H [Outline] [The specification which i s common to the model] Execut es full cutti ng of paper. [Caution] [The specific ation which is common to the model ] • This comman[...]

  • Page 101

    - 101 - ESC m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Partial cutting of paper [Code] < 1B > H < 6D > H [Outline] [The specification which i s common to the model] Executes partial cutting of p aper. [Caution] [The specific ation which is common to the model ] • This command only works it is[...]

  • Page 102

    - 102 - GS V m ・・・ (1) GS V m n ・・・ (2) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Cutting the pa per [Code] (1) < 1D > H < 56 > H < m > (2) < 1D > H < 56 > H < m >< n > [Range] (1)0 ≦ m ≦ 1 、 48 ≦ m ≦ 49 (2)m=65 、 66 0 ≦ n ≦ 255 [Outline][...]

  • Page 103

    - 103 - 2.2.12 Bar Code Commands GS H n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting of pri nting position of HRI charact ers [Code] < 1D > H < 48 > H < n > [Range] 0 ≦ n ≦ 3 、 48 ≦ n ≦ 51 [Outline] [The specification which i s common to the model] Selecting printing posit[...]

  • Page 104

    - 104 - GS f n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting the font of HRI characters [Code] < 1D > H < 66 > H < n > [Range] 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] Selecting the font of HRI characters in prin ting bar code. The[...]

  • Page 105

    - 105 - GS h n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the height of th e bar code [Code] < 1D > H < 68 > H < n > [Range] 1 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Selecting bar code height. “n” denotes the number of d ots in the vertical [...]

  • Page 106

    - 106 - (1)GS k m [d1...dk] NUL (2)GS k m n [d1...dn] CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing the ba r code [Code] (1) < 1D > H < 6B > H < m > [d1…dk] NULL (2) < 1D > H < 6B > H < m >< n > [d1…dn] [Range] (1)0 ≦ m ≦ 6 The definitions of “k” an[...]

  • Page 107

    - 107 - [Caution] For (1): • This comman d ends with a NULL code. • For UPC -A or UPC-E, the bar code is printe d when 12 bytes of bar code data have been entered , and the subsequent data is handled as nor mal data. • For JAN13, the bar code is printed when 13 byte s of bar c ode data have been entered, and th e subse quent data is handle d [...]

  • Page 108

    - 108 - [Description of Bar Codes] UPC-A This bar code, consisting of numerals only, ha s a fixed length of 12 columns; a 11- column number entered fr om the host or ap plication sof tware plus a check digit (12th column) automatically calculated inside the p rinter. If th e 12th-c olumn numeral i s sent from the host, the entire bar code will be p[...]

  • Page 109

    - 109 - CODE93 This bar code, consisting of alph anumeric and cont rol character s, has a variable le ngth of columns. Th e HRI character string is prec eded and follow ed by a “ ■ ” ch aracter. H RI character s for control charact ers (00H - 1FH, and 7 FH) are each printed as a combinati on of a “ ■ ” character and an alphabetic chara [...]

  • Page 110

    - 110 - CODE128 This bar code consists of 103 bar code charac ters and three code sets, en abling 128 ASCII code characters to be printed. It has a variable l ength of colum ns. • Code set A ASCII characters 00H - 5FH can be represented. • Code set B ASCII characters 20H - 7FH can be represented. • Code set C Two-digit numbers 00 - 99 can eac[...]

  • Page 111

    - 111 - GS w n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the horiz ontal size (magnificati on) of bar code [Code] < 1D > H < 77 > H < n > [Range] 2 ≦ n ≦ 6 [Outline] [The specification which i s common to the model] Selecting bar code width. [Default] n=3 [Sample Program] LP[...]

  • Page 112

    - 112 - 2.2.13 Commands for Non-volatile Memory GS ( C pL pH m fn b [c1 c2][d1...dk] CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Editing user NV m emory [Outline] [The specification which i s common to the model] • Erases/stores/send s data of user NV mem ory area and se nds the use amount/r emaining capaci[...]

  • Page 113

    - 113 - fn=0 、 48 : Function 0 Erasing Specified Record GS ( C pL pH m fn b kc1 kc2 [Code] < 1D > H < 28 > H < 43 > H < pL >< pH >< m >< fn >< b > [c1 c2] [Range] (pL+pH×256)=5(pL=5 、 pH=0) m=0 fn=0 、 48 b=0 32 ≦ c1 ≦ 126 32 ≦ c2 ≦ 126 [Outline] [The specification which i s common to [...]

  • Page 114

    - 114 - fn=2 、 50 : Function 2 Sen ding Data St ored in Specified Record GS ( C pL pH m fn b c1 c2 [Code] < 1D > H < 28 > H < 43 > H < pL >< pH >< m >< fn >< b > [c 1 c2] [Range] (pL+pH×256)=5(pL=5 、 pH=0) m=0 fn=2 、 50 b=0 32 ≦ c1 ≦ 126 、 32 ≦ c2 ≦ 126 [Outline] [The specification [...]

  • Page 115

    - 115 - fn=3 、 51 : Function 3 Sending Use Amo unt GS ( C pL pH m fn b [Code] < 1D > H < 28 > H < 43 > H < pL >< pH >< m >< fn >< b > [Range] (pL+pH×256)=3(pL=3 、 pH=0) m=0 fn=3 、 51 b=0 [Outline] [The specification which i s common to the model] Sends the use am ount of user NV m emory (numb[...]

  • Page 116

    - 116 - fn=5 、 53 : Function 5 Sending Key Code List of Stored Record GS ( C pL pH m fn b [Code] < 1D > H < 28 > H < 43 > H < pL >< pH >< m >< fn >< b > [Range] (pL+pH×256)=3(pL=3 、 pH=0) m=0 fn=5 、 53 b=0 [Outline] [The specification which i s common to the model] Sends key code li st of rec[...]

  • Page 117

    - 117 - fn=6 、 54 : Function 6 Erasing All User NV Memory Area in a Lump GS ( C pL pH m fn b [d1 d2 d3] [Code] < 1D > H < 28 > H < 43 > H < pL >< pH >< m >< fn >< b >[ d1 d2 d3 ] [Range] (pL+pH×256)=6(pL=6 、 pH=0) m=0 fn=6 、 54 b=0 d1=67(“C”) d2=76(“L ”) d3=82(“R ”) [Outline] [...]

  • Page 118

    - 118 - 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 [Function] Specifying graphics data [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn > < 1D > H < 38 > H < 4C > H < p1 >< p2 &g[...]

  • Page 119

    - 119 - fn=0 、 48 : Function 48 Sendi ng NV Graphics Memory Capacity GS ( L pL pH m fn [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn > [Range] (pL+pH×256)=2(pL=2 、 pH=0) m=48 fn=0 、 48 [Outline] [The specification which i s common to the model] Sends all capacity of NV graphics area in th[...]

  • Page 120

    - 120 - fn=3 、 51 : Function 51 Sendi ng the Remaining A mount of NV Graphics Memory GS ( L pL pH m fn [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn > [Range] (pL+pH×256)=2(pL=2 、 pH=0) m=48 fn=3 、 51 [Outline] [The specification which i s common to the model] Sends the remaining amou nt [...]

  • Page 121

    - 121 - fn=64 : Function 64 Sending Key Code List of Defined NV Graphics GS ( L pL pH m fn d1 d2 [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn >< d1 >< d2 > [Range] (pL+pH×256)=4(pL=4 、 pH=0) m=48 fn=64 d1=75(“K”) d2=67(“C”) [Outline] [The specification which i s common to[...]

  • Page 122

    - 122 - fn=65 : Function 65 Erasing All Data of NV Graphics in a Lu mp GS ( L pL pH m fn d1 d2 d3 [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn >< d1 >< d2 >< d3 > [Range] (pL+pH×256)=5(pL=5 、 pH=0) m=48 fn=65 d1=67(“C”) d2=76(“L ”) d3=82(“R ”) [Outline] [The spe[...]

  • Page 123

    - 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 [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn >< a >< kc1 >< kc2 >< b >< xL >< xH >< yL >< yH > [c d1?[...]

  • Page 124

    - 124 - fn=69 : Function 69 Printing Specified Graphics GS ( L pL pH m fn kc1 kc2 x y [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn >< kc1 >< kc2 >< x >< y > [Range] (pL+pH×256)=6(pL=6 、 pH=0) m=48 fn=69 32 ≦ kc1 ≦ 126 32 ≦ kc2 ≦ 126 x=1 、 2 y=1 、 2 [Outlin[...]

  • Page 125

    - 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 [Code] < 1D > H < 28 > H < 4C > H < pL >< pH >< m >< fn >< a >< bx >< by >< c >< xL >< xH >< yL >< yH > [d1 …dk] [Range] Paramet[...]

  • Page 126

    - 126 - GS g 0 m nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Initializing maintenance counter [Code] < 1D > H < 67 > H < 30 > H < m >< nL >< nH > [Range] m=0 20 ≦ (nL+nH×256) ≦ 70(nL=20 、 21 、 50 、 70 、 nH=0) [Outline] [The specification which i s common [...]

  • Page 127

    - 127 - GS g 2 m nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Sending maintenance counter [Code] < 1D > H < 67 > H < 32 > H < m >< nL >< nH > [Range] m=0 20 ≦ (nL+nH×256) ≦ 198 nL=20 、 21 、 50 、 70 、 148 、 149 、 178 、 198 nH=0 [Outline] [The specific[...]

  • Page 128

    - 128 - FS p n m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing the do wnload NV bit image s [Code] < 1C > H < 70 > H < n >< m > [Range] 1 ≦ n ≦ 255 、 0 ≦ m ≦ 3 、 48 ≦ m ≦ 51 [Outline] [The specification which i s common to the model] This command prints the downl[...]

  • Page 129

    - 129 - [Sample Program] GOSUB SETNV LPRINT CHR$(&H1C); “p”; CHR$(1); CHR$(0); DA T A &H00, &H00, &H00, &H00, &H07 , &HF0 LPRINT CHR$(&HA); DA T A &H1E, &H78, &H18, &H18 , &H30, &H0C LPRINT CHR$(&H1C); “p” ; CHR$(1); CHR$(3); DA T A &H30, &H0C, &H30, &H0C, &H30,[...]

  • Page 130

    - 130 - FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Defining the downl oad NV bit image [Code] < 1C > H < 71 > H < n >[< xL >< xH >< yL >< yH >< d1…dk >] 1…[ < xL >< xH >< yL >< [...]

  • Page 131

    - 131 - • The definition data of one N V bit image consi sts of [xL xH yL yH d1… dk]. Th erefore, when only one NV b it image is defined, n = 1; the data group [x L xH yL yH d1… dk] is mani pulated once, an d ([Data: (xL + xH x256) x( yL + yH x256 ) x8 ] + [Header: 4]) bytes of n on-volatile memory is used to store it • The maximu m def ini[...]

  • Page 132

    - 132 - 2.2.14 Kanji Control Commands FS ! n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Collectively setting Kanji print mode [Code] < 1C > H < 21 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Collectively sets Kanji prin t mode. Each bit of ?[...]

  • Page 133

    - 133 - FS & CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting Kanji mode [Code] < 1C > H < 26 > H [Outline] [The specification which i s common to the model] Sets Ka nji mode. Japanese Kanji specifications: This command is invalid when Kanji code sy stem is Shift JIS. Kanji codes are proces[...]

  • Page 134

    - 134 - FS - n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting/canceling Kanji underl ine [Code] < 1C > H < 2D > H < n > [Range] 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 [Outline] [The specification which i s common to the model] Sets or cancel s Kanji underline. n Function 0 、 48 Cancels Kan[...]

  • Page 135

    - 135 - FS . CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Canceling Kanji mode [Code] < 1C > H < 2E > H [Outline] [The specification which i s common to the model] Cancels K anji mode. Japanese Kanji specifications: This command is invalid when Kanji code sy stem is Shift JIS. This code is defaul t[...]

  • Page 136

    - 136 - FS 2 a1 a2 [d]k CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Defining external ch aracter [Code] < 1C > H < 32 > H < a1 > H < a2 > H[ < d > ]k [Range] Japanese Kanji specifications: • In case of JIS code sy stem a1= < 77 > H ,< 21 > H ≦ a2 ≦< 7E >[...]

  • Page 137

    - 137 - [Sample Program] LPRINT CHR$(&H1C);" &"; DA T A &H00, &H00, &H00, &H00 , &H00, &H00 GOSUB SET CHR DA T A &H00, &H00, &H60, &H00, &H00, &HF0 LPRINT CHR$(& H77); CHR$(&H21) ; DA T A &H00, &H01, &H F8, &H00, &H03 , &HFC LPRINT CHR$(& HA); DA T[...]

  • Page 138

    - 138 - FS C n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting Kanji code system [Code] < 1C > H < 43 > H < n > [Range] 0 ≦ n ≦ 1 、 48 ≦ n ≦ 49 [Outline] [The specification which i s common to the model] Selects K anji code system. Japanese Kanji specifications: n Function 0,[...]

  • Page 139

    - 139 - [Sample Program] [Print Results] LPRINT CHR$(& H1C);"&"; LPRINT CHR$(&H1C);"C"; CHR$(0); 漢字 ← Shift JIS code system prin ting 漢字 ← JIS code sy stem printing LPRINT CHR$(& H34); CHR$(&H41) ; LPRINT CHR$(& H3B); CHR$(&H7A) ; LPRINT CHR$( &HA); LPRINT CHR$(&H1C);"C";[...]

  • Page 140

    - 140 - FS S n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting Kanji space amou nt [Code] < 1C > H < 53 > H < n1 >< n2 > [Range] 0 ≦ n1 ≦ 255 0 ≦ n2 ≦ 255 [Outline] [The specification which i s common to the model] • Sets both right and left space am ount of Kanji in [...]

  • Page 141

    - 141 - FS W n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting/canceling fou r times enlargement of Kanji [Code] < 1C > H < 57 > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] Sets or cancel s four times enlargemen t of Kanji. • “n” is v[...]

  • Page 142

    - 142 - FS ( A pL pH fn […] CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting font attribute o f Kanji [Outline] Setting Kanji font attribute m eans execution of pr ocessing for Kanji font attribute by the value of “fn” specified. fn Function 48 Sets Kanji font [Outline] [The specification which i s c[...]

  • Page 143

    - 143 - 2.2.15 Black Mark Control Commands GS FF CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printing and ejecting Black mark p aper/ label paper [Code] < 1D > H < 0C > H [Outline] [The specification which i s common to the model] This comma nd prints the data in the printer buffer and ejects Blac[...]

  • Page 144

    - 144 - GS A m n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Correcting the l eader position of Bl ack mark paper / label paper [Code] < 1D > H < 41 > H < m >< n > [Range] 0 ≦ m ≦ 255 0 ≦ n ≦ 255 [Outline] [The specification which i s common to the model] This command sets the [...]

  • Page 145

    - 145 - GS C 0 m n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the numbering print mode [Code] < 1D > H < 43 > H < 30 > H < m >< n > [Range] 0 ≦ m ≦ 5 0 ≦ n ≦ 2 [Outline] [The specification which i s common to the model] This command sets the numb ering (serial nu[...]

  • Page 146

    - 146 - GS C 1 n1 n2 n3 n4 n5 n6 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the numbering counter mode (A) [Code] < 1D > H < 43 > H < 31 > H < n1 >< n2 >< n3 >< n4 >< n5 >< n6 > [Range] 0 ≦ n1 、 n2 、 n3 、 n4 、 n5 、 n6 ≦ 255 [Outline][...]

  • Page 147

    - 147 - GS C 2 n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the numbering counter [Code] < 1D > H < 43 > H < 32 > H < n1 >< n2 > [Range] 0 ≦ n1 ≦ 255 0 ≦ n2 ≦ 255 [Outline] [The specification which i s common to the model] This command sets the numb ering (se[...]

  • Page 148

    - 148 - GS C ; n1 ; n2 ; n3 ; n4 ; n5 ; CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the numbering counter mode (B) [Code] < 1D > H < 43 > H < 3B > H < n1 >< 3B > H < n2 >< 3B > H < n3 >< 3B > H < n4 >< 3B > H < n5 >< 3B > H [...]

  • Page 149

    - 149 - GS c CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Print the counter [Code] < 1D > H < 63 > H [Outline] [The specification which i s common to the model] This command prints the serial number counter data. After setting the current counter value in the pri nt buffer as the print d ata (chara[...]

  • Page 150

    - 150 - GS l n1L n1H n2L n2H CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Setting the Black mark/ label l ength [Code] < 1D > H < 6C > H < n1L >< n1H >< n2L >< n2H > [Range] 0 ≦ n1L ≦ 255 ( 24 ≦ n1L+n1H×256 ≦ 360 ) 0 ≦ n1H ≦ 1 8 ≦ n2L ≦ 30 n2H = 0 [Outli[...]

  • Page 151

    - 151 - GS p n CT-S280 CT-S300 CT-S2000 CT-S4000 BD 2-2220 CT-S310 support model PMU2XXX [Function] Changing paper type [Code] < 1D > H < 7 0> H [Range] 0 ≦ n ≦ 255 n=0 specify receipt paper n=1 specify black mark paper n=2 specify label p aper [Outline] [The specification which i s common to the model] • Switches paper. • Switc[...]

  • Page 152

    - 152 - 2.2.16 Printer Function Setting Commands GS ( D pL pH m [a1 b1]...[ak bk] CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Enabling or disabling real-time command [Code] < 1D > H < 28 > H < 44 > H < pL >< pH >< m > [ < a1 >< b1 >] …[ < ak >< bk &[...]

  • Page 153

    - 153 - GS ( E pL pH fn […] CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Printer function setting command [Outline] [The specification which i s common to the model] Printer function setting comm and is a command to change the function of the printer stor ed on the non-volatile m emory and executes th e func[...]

  • Page 154

    - 154 - fn=1 : Function 1 Transferring to Printer Function Setting Mode GS ( E pL pH fn d1 d2 [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< d1 >< d2 > [Range] (pL+pH×256)=3 (pL=3 、 pH=0) fn=1 d1=73 (“I”) d2=78 (“N”) [Outline] [The specification which i s common to the model] Trans[...]

  • Page 155

    fn=3 : Function 3 Setting Me mory Switch Value [Caution] [The specific ation whic h depend on th e model] [Outline] [The specification which i s common to the model] [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >[< a1 >< b18 > … < b11 >] …[ < ak >< bk8 > … < bk1 [...]

  • Page 156

    CT-S280 • Setting memory switch 3 (a = 3) • Setting memory with 1 (a = 1) n b (Set Value) Function n b (Set Value) Function 48 (Default) Reports the power on. 1 48 (Default) Reserve 1 49 Does not report power on. 2 48 (Default) Reserve 48 (Default) Sets input buffer capacity to 4K bytes. 48 (Default) Resets with parallel pin 31. 2 3 49 Sets inp[...]

  • Page 157

    CT-S300 • Setting memory switch 3 (a = 3) n b (Set Value) Function • Setting memory with 1 (a = 1) 48 (Default) After clearing cutter error, can be restored by Feed SW. n b (Set Value) Function 1 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Reports the power on. 1 When selecting cover open error as recover able er[...]

  • Page 158

    CT-S300 • Setting memory switch 4 (a = 4) n b (Set Value) Function At the selection of Black mark paper, disables auto end-measurement. 48 (Default) 1 At the selection of Black mark paper, enables auto end-measurement. 49 At the selection of Black mark paper, sets sensor position to be on the printing side 48(Default) 2 At the selection of Black [...]

  • Page 159

    CT-S2000 • Setting memory with 1 (a = 1) • Setting memory switch 3 (a = 3) n b (Set Value) Function n b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. 1 1 49 Does not report power on. 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Sets in[...]

  • Page 160

    CT-S2000 • Setting memory switch 5 (a = 5) n B (Set Value) Function 48 (Default) Buzzer soun d enabled 1 Buzzer sound disabled 49 48 (Default) Basic calculation pitch (180 dpi / 360 dpi) 2 49 Basic calculation pitch (203 dpi / 406 dpi) 48 USB mode virtual serial 3 49 (Default) USB mode prin ter class 48 (Default) Reserve 4 5 48 (Default) Undef in[...]

  • Page 161

    CT-S4000 • Setting memory with 1 (a = 1) • Setting memory switch 3 (a = 3) n b (Set Value) Function n b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. 1 1 49 Does not report power on. 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Sets in[...]

  • Page 162

    CT-S4000 • Setting memory switch 4 (a = 4) • Setting memory switch 5 (a = 5) n b (Set Value) Function n B (Set Value) Function 48 (Default) At the selection of Black mark paper/ label paper, disables auto end-measurement. 48 (Default) Buzzer sound enabled 1 Buzzer sound disabled 49 1 49 At the selection of Black mark paper/ label paper, enables[...]

  • Page 163

    BD2-2220 • Setting memory with 1 (a = 1) • Setting memory switch 3 (a = 3) n b (Set Value) Function n b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. 1 1 49 Does not report power on. 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Sets in[...]

  • Page 164

    CT-S310 • Setting memory switch 3 (a = 3) • Setting memory with 1 (a = 1) n b (Set Value) Function n b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. 1 1 49 Does not report power on. 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Sets inp[...]

  • Page 165

    CT-S310 • Setting memory switch 4 (a = 4) n b (Set Value) Function At the selection of Black mark paper, disables auto end-measurement. 48 (Default) 1 At the selection of Black mark paper, enables auto end-measurement. 49 At the selection of Black mark paper, sets sensor position to be on the printing side 48(Default) 2 At the selection of Black [...]

  • Page 166

    PMU2XXX • Setting memory switch 3 (a = 3) n b (Set Value) Function • Setting memory with 1 (a = 1) 48 (Default) After clearing cutter error, can be restored by Feed SW. n b (Set Value) Function 1 49 After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Reports the power on. 1 2 48 (Default) Reserved 49 Does not report power o[...]

  • Page 167

    - 167 - Setting memory switch 5 (a = 5) n b (Set Value) Function 1 48 (Default) Reserved 2 48 (Default) Reserved 3 48 (Default) Reserved 4 48 (Default) Reserved 5 48 (Default) Reserved 48 It is priority of the print quqlity 6 49 (Default) Priority of the print speed Reserved 7 48 (Default) Reserved 8 48 (Default)[...]

  • Page 168

    - 168 - fn=4 : Function 4 Sending the Set Memory Switch Value GS ( E pL pH fn a [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a > [Range] ( pL + pH× 256 )= 2 fn = 4 CT-S280 / BD2-2220 a = 1,2,3 CT-S300 / PMU2XXX a = 1,2,3,4 CT-S2000 / C T-S4000 / CT-S310 a = 1,2,3,4,5 [Outline] [T[...]

  • Page 169

    fn=5 : Function 5 Setting Customized Value [Caution] • This functi on operates only i n printer function setting m ode. [Outline] [The specification which i s common to the model] [Range] 4 ≦ (pL+pH×256) ≦ 65535 [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn > [ < a1 >< n1L >< n1H >[...]

  • Page 170

    CT-S280 • a = 5: Sets printing density to the level specified by (nL+nHx256). • a = 116: Sets the paper specified by (nL+nHx256). (nL+nHx256) Printing Density (nL+nHx256) Paper 65530 70% 1 (Default) Specified single color paper. 65531 75% 257 Recommended 2-color paper5 65532 80% 65533 85% 65534 90% 65535 95% • a = 201: Outputs ACK to the posi[...]

  • Page 171

    CT-S300 / CT-S310 • a = 3: Sets paper width to the size specified by (nL+nHx256). • a = 6: Sets printing speed to the value specified by (nL+nHx256). (nL+nHx256) Paper Width (nL+nHx256) Printing Speed 2 58mm Printing speed level 1 (84%) 1 6 (Default) 80mm Printing speed level 2 (86%) 2 Printing speed level 3 (88%) 3 Printing speed level 4 (90%)[...]

  • Page 172

    CT-S300 / CT-S310 • a=222: Head margin set by the val ue selected by (nL+nHx256). • a = 202: Controls input buffer full Busy with the value selected by (nL+nHx256) and controls Busy with output/cancel ti ming (remaining capacity). 1 ≦ (nL+nH×256) ≦ 32767 Unit: 168dot When Input Buffer Capacity 4K Bytes (Large) is Set When Input Buffer Capa[...]

  • Page 173

    CT-S2000 • a = 1: Sets the user NV memory cap acity to the size specified by (nL+nH×256). • a = 5: Sets printing density to the level specified by (nL+nHx256). (nL+nHx256) Printing Density 65530 70% (nL+nHx256) Memory Capacity 65531 75% 1K bytes 1 65532 80% 2 64K bytes 65533 85% 3 128K bytes 65534 90% 4(Default) 192K bytes 65535 95% 0 (Default[...]

  • Page 174

    CT-S2000 • a=212 : Selects DMA (Direct Memory Access) control of serial communication specified by (nL+nHx256). • a = 116: Sets the paper specified by (nL+nHx256). (nL + nH x 256) Paper 1 (Default) Specified single color paper. (nL+nHx256) DMA control 257 Recommended 2-color paper5 1 Inv alid 2 (Default) V alid • a = 201: Outputs ACK to the[...]

  • Page 175

    CT-S2000 • a=221: Sets the maximum length of black m ark page with the value selected by (nL+nHx256). • a=225: Sets head distance wi th the value selected by (nL+nHx256). 1 ≦ (nL+nH×256) ≦ 255 1 ≦ (nL+nH×256) ≦ 32767 Unit: 1 dot Unit: 1 dot Initial value: 56 dots Initial value: 2360 dots • a=222: Head margin set by the val ue select[...]

  • Page 176

    CT-S4000 • a = 1: Sets the user NV memory cap acity to the size specified by (nL+nH×256). • a = 5: Sets printing density to the level specified by (nL+nHx256). (nL+nHx256) Printing Density 65530 70% (nL+nHx256) Memory Capacity 65531 75% 1 1K bytes 65532 80% 2 64K bytes 65533 85% 3 128K bytes 65534 90% 4 192K bytes 65535 95% 0 (Default) 100% 1 [...]

  • Page 177

    CT-S4000 • a=212 : Selects DMA (Direct Memory Access) control of serial communication specified by (nL+nHx256). • a = 116: Sets the paper specified by (nL+nHx256). (nL+nHx256) Paper 1 (Default) Specified single color paper. (nL+nHx256) DMA control 257 Recommended 2-color paper5 1 Inv alid 2 (Default) V alid • a = 201: Outputs ACK to the pos[...]

  • Page 178

    BD2-2220 • a = 201: Outputs ACK to the position specified by (nL+nHx256). • a = 5: Sets printing density to the level specified by (nL+nHx256). (nL+nHx256) Printing Density (nL+nHx256) ACK Output Position 65530 70% 1 (Default) ACK-in-Busy 2 ACK- while- Busy 65531 75% 3 ACK-after-Busy 65532 80% 65533 85% 65534 90% 65535 95% • a = 202: Controls[...]

  • Page 179

    PMU2XXX • a = 201: Outputs ACK to the position specified by (nL+nHx256). • a = 5: Sets printing density to the level specified by (nL+nHx256). (nL+nHx256) Printing Density (nL+nHx256) ACK Output Position 65530 70% 1 (Default) ACK-in-Busy 2 ACK- while- Busy 65531 75% 3 ACK-after-Busy 65532 80% 65533 85% 65534 90% 65535 95% • a = 202: Controls [...]

  • Page 180

    • a=225: Sets head distance wi th the value selected by (nL+nHx256). 1 ≦ (nL+nH×256) ≦ 255 Initial value: 56 dots Unit: 1 dot - 180 - • a=223 : Sets black mark bottom margin with the am ount selected by (nL+nHx256). • a=221: Sets the maximum length of black m ark page with the value selected by (nL+nHx256). • a=224: Sets cut distance[...]

  • Page 181

    fn=6 : Function 6 Sending the Set Customized Val ue [Range] (pL+pH×256)=2 : (pL=2 、 pH=0) [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a > [Outline] [The specification which i s common to the model] GS ( E pL pH fn a fn=6 • Configuration of customized value No. • Sends the set value of c[...]

  • Page 182

    - 182 - CT-S280 • a = 5: When print density is specified Setting Status Sending Data Stored Value Print Density 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 65530 70% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 48(“0”) 65531 75% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 49(“1”) 65532 80% 54(“6”) 53(“5”) 53(“5”) 51(?[...]

  • Page 183

    - 183 - CT-S300 / CT-S310 • a = 3: When paper width is specified Setting Status Sending Data Stored Value Paper Width 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 58mm 49(“1”) ― ― ― ― 3 80mm 51(“3”) ― ― ― ― • a = 5: When print density is specified Setting Status Sending Data Stored Value Print Density 1st By te 2nd Byt[...]

  • Page 184

    - 184 - CT-S300 / CT-S310 • a = 201: When ACK output position is specified Setting Status Sending Data Stored Value ACK Output Position 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 1 ACK -in-Busy 49(“1”) ― ― ― ― 2 ACK - while-Busy 50(“2”) ― ― ― ― 3 ACK - after-Busy 51(“3”) ― ― ― ― • a = 202: Input buffer ful[...]

  • Page 185

    - 185 - CT-S2000 • a = 1: When user NV memory capacity is specified Setting Status Sending Data Stored Value Memory Capacity 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 1K bytes 49(“1”) ― ― ― ― 2 64K bytes 50(“2”) ― ― ― ― 3 128K bytes 51(“3”) ― ― ― ― 4 192K bytes 52(“4”) ― ― ― ― • a = 2: When N[...]

  • Page 186

    - 186 - CT-S2000 • a = 116: When kind of paper is specified Setting Status Sending Data Stored Value Print Control 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 Single-color paper 49(“1”) ― ― ― ― 2 2-color paper 50(“2”) ― ― ― ― • a = 201: When ACK output position is specified Setting Status Sending Data Stored Value ACK[...]

  • Page 187

    CT-S2000 • a=222: When head margin is sp ecified Setting Status Sending Data Stored Value Head Margin 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 0 0dot 49(“1”) 48(“0”) 48(“0”) 48(“0”) 48(“0”) ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ 32767 32767dot 51(“3”) 50(“2”) 55(“7”)[...]

  • Page 188

    - 188 - CT-S4000 • a = 1: When user NV memory capacity is specified Setting Status Sending Data Stored Value Memory Capacity 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1 1K bytes 49(“1”) ― ― ― ― 2 64K bytes 50(“2”) ― ― ― ― 3 128K bytes 51(“3”) ― ― ― ― 4 192K bytes 52(“4”) ― ― ― ― • a = 2: When N[...]

  • Page 189

    CT-S4000 • a=213 : When the flow control of virtual COM is specified. • a = 116: When kind of paper is specified Setting Status Sending Data Setting Status Sending Data Stored Value Stored Value Print Control 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Flow control 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 1 PC setting 49(“1”) ― ?[...]

  • Page 190

    - 190 - BD2-2220 • a = 5: When print density is specified Setting Status Sending Data Stored Value Print Density 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 65530 70% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 48(“0”) 65531 75% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 49(“1”) 65532 80% 54(“6”) 53(“5”) 53(“5”) 51([...]

  • Page 191

    - 191 - PMU2XXX • a = 5: When print density is specified Setting Status Sending Data Stored Value Print Density 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 65530 70% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 48(“0”) 65531 75% 54(“6”) 53(“5”) 53(“5”) 51(“3”) 49(“1”) 65532 80% 54(“6”) 53(“5”) 53(“5”) 51(?[...]

  • Page 192

    - 192 - PMU2XXX • a=220: When maximum black mar k width is specified Setting Status Sending Data Stored Value Maximum B.M Width 1st By te 2nd Byte 3rd Byte 4th Byte 5th Byte 0 0dot 49(“1”) 48(“0”) 48(“0”) 48(“0”) 48(“0”) ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ 32767 32767dot 51(“3?[...]

  • Page 193

    - 193 - fn=7 : Function 7 Copying User-defined Page GS ( E pL pH fn a d1 d2 [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a >< d1 >< d2 > [Range] (pL+pH×256) = 4 : (pL=4 、 pH=0) fn=7 a =10 、 12 、 17 [Outline] [The specification which i s common to the model] • Copies the d[...]

  • Page 194

    - 194 - Work Area fn=8 : Function 8 Defining Data by the Colu mn Format to Character Code Page of GS ( E pL pH fn y c1 c2 [xd1...d(y×x)]k [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< y >< c1 >< c2 > [ < x >< d1 > .. < d(yXx) > ] < k > [Range] 5 ≦ (pL+pH×256[...]

  • Page 195

    - 195 - Work Area fn=9 : Function 9 Defining Data in the Raster Format to the C haracter Code Page of GS ( E pL pH fn x c1 c2 [y d1...d(x×y)]k [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< x >< c1 >< c2 > [ < y >< d1 > .. < d(yXx) > ] < k > [Range] 5 ≦ (pL+pH[...]

  • Page 196

    - 196 - fn=10 : Function 10 Erasing Data of Charac te r Code Page Data in Work Area GS ( E pL pH fn c1 c2 [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< c1 >< c2 > [Range] (pL+pH×256)=3 fn=10 128 ≦ c1 ≦ c2 ≦ 255 [Outline] [The specification which i s common to the model] Erases (se t t[...]

  • Page 197

    - 197 - fn=11 : Function 11 Setting Communication Conditions GS ( E pL pH fn a d1...dk [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a >< d1 > ... < dk > [Range] 3 ≦ (pL+pH×256) ≦ 65535(0 ≦ pL ≦ 255 、 0 ≦ pH ≦ 255) fn=11 1 ≦ a ≦ 4 (Not chang ed in other than specifie[...]

  • Page 198

    - 198 - fn=12 : Function 12 Sending the Set Communication Conditions GS ( E pL pH fn a [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a > [Range] (pL+pH×256)=2 (pL=2 、 pH=0) fn=12 1 ≦ a ≦ 4 (Does not send i n other than specified range) [Outline] [The specification which i s common to the mo[...]

  • Page 199

    - 199 - State at Shipment fn=255: Function 255 Setting A ll Contents Set by Printer Fu nction Setting Mode to the GS ( E pL pH fn a [Code] < 1D > H < 28 > H < 45 > H < pL >< pH >< fn >< a > [Range] (pL+pH×256)=2 fn=255 a=3, 5, 7 , 11, 255 [Outline] [The specification which i s common to the model] Restores[...]

  • Page 200

    - 200 - GS ( K pL pH fn m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting print control meth od [Outline] [The specification which i s common to the model] Executes the setting related to the print cont rol specified by the value of “fn”. Function No. (fn) Function Function 49 Sets prin ting density[...]

  • Page 201

    - 201 - fn=49 : Function 49 Setting Printing Density GS ( K pL pH fn m [Code] < 1D > H < 28 >H< 4B > H < pL >< pH >< fn >< m > [Range] (pL+pH×256)=2 : (pL=2 、 pH=0) fn=49 0 ≦ m ≦ 8 、 250 ≦ m ≦ 255 [Default] m = 0 (Customized value setting value) [Outline] [The specification which i s comm[...]

  • Page 202

    - 202 - fn=50 : Function 50 Setting Printing Speed GS ( K pL pH fn m [Code] < 1D > H < 28 > H < 4B > H < pL >< pH >< fn >< m > [Range] (pL+pH×256)=2(pL=2 、 pH=0) fn=50 0 ≦ m ≦ 9 、 48 ≦ m ≦ 57 [Default] m = 0 (Customized value setting) [Outline] [The specification which i s common to the model[...]

  • Page 203

    - 203 - fn=97 : Function 97 Setting Number of Divisions for Head C onducting GS ( K pL pH fn m [Code] < 1D > H < 28 > H < 4B > H < pL >< pH >< fn >< m > [Range] (pL+pH×256)=2(pL=2 、 pH=0) fn=97 m=0 、 2 、 4 、 48 、 50 、 52 [Default] m=0 m = 0 (Customized value setting) [Outline] [The specificat[...]

  • Page 204

    - 204 - GS ( M pL pH fn m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Customizing the printer [Outline] [The specificatio n which depend on the model] Executes processi ng related to escape/recovery of th e va lue set in the work ar ea or the data defined by various kinds of command . fn Function Function 1 C[...]

  • Page 205

    - 205 - fn=1 、 49 : Function 1 Copies the set value stored in work area to the storage area GS ( M pL pH fn m [Code] < 1D > H < 28 > H < 4D > H < pL >< pH >< fn >< m > [Range] (pL+pH×256)=2 : (pL=2 、 pH=0) fn=1 、 49 m=1 、 49 [Outline] [The specificatio n which depend on the model] Copies the se[...]

  • Page 206

    - 206 - initialization to be valid o fn=3 、 51 : Function 3 Specifies the auto load ing function of the set value at r invalid GS ( M pL pH fn m [Code] < 1D > H < 28 > H < 4D > H < pL >< pH >< fn >< m > [Range] (pL+pH×256)=2 : (pL=2 、 pH=0) fn=3 、 51 m=0 、 1 、 48 、 49 [Outline] [The specifi[...]

  • Page 207

    - 207 - GS ( N pL pH fn m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Designating font attribute [Outline] [The specific ation which depend on t he model] Executes proce ssing of font attribute by the specified fn valu e. fn Function Selects char acter color. 48 fn=48 : Function 48 Selects character color G[...]

  • Page 208

    - 208 - 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 [Function] Setting and printing 2-dimensional cod e [Outline] [The specificatio n which depend on the model] • Executes processing specified by function co de (fn) with the 2-dimension al code specifie[...]

  • Page 209

    - 209 - fn=65 : F u n ct i o n 6 5 Setting the number of digits of PDF417 GS ( k pL pH cn fn n [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< n > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=48 fn=65 0 ≦ n ≦ 30 [Outline] [The specificatio n which depend on the model] Sets the number of [...]

  • Page 210

    - 210 - fn=67 : F u n ct i o n 6 7 Setting module width of PDF417 GS ( k pL pH cn fn n [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< n > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=48 fn=67 2 ≦ n ≦ 8 [Outline] [The specificatio n which depend on the model] Sets the width of one mod ul[...]

  • Page 211

    - 211 - fn=69 : F u n ct i o n 6 9 Setting e rror correction level of PDF417 GS ( k pL pH cn fn m n [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m >< n > [Range] (pL+pH×256)=4(pL=4 、 pH=0) cn=48 fn=69 m=48 、 49 48 ≦ n ≦ 56 (when m = 48 is specified) 1 ≦ n ≦ 40 (when[...]

  • Page 212

    - 212 - fn=70 : F u n c t i o n 7 0 Setting Options for PDF417 GS ( k pL pH cn fn m [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=48 fn=70 m=0 、 1 [Outline] [The specificatio n which depend on the model] Specifies or clears the PDF417 opti[...]

  • Page 213

    - 213 - storage area fn=81 : F u n c t io n 8 1 Printing 2-dimensional co de data in 2-dimensional code data GS ( k pL pH cn fn m [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=48 fn=81 m=48 [Outline] [The specificatio n which depend on the m[...]

  • Page 214

    - 214 - code data storage area fn=82 : F u n c ti o n 8 2 Sending the size of 2-di mensional code data in 2-dimensional GS ( k pL pH cn fn m [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=48 fn=82 m=48 [Outline] [The specificatio n which depe[...]

  • Page 215

    - 215 - fn=65 : Function 165 Specifying QRCode model GS ( k pL pH cn fn n1 n2 [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< n1 >< n2 > [Range] (pL+pH×256)=4(pL=4 、 pH=0) cn=49 fn=65 n1=49 、 50 n2=0 [Outline] [The specificatio n which depend on the model] Specifies QRCode mod[...]

  • Page 216

    - 216 - fn=69 : Function 169 S e t t i n g Q RC o d e e r r o r co r r e c t i on l e v e l GS ( k pL pH cn fn n [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< n > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=49 fn=69 48 ≦ n ≦ 51 [Outline] [The specificatio n which depend on the model] [...]

  • Page 217

    - 217 - data storage area fn=81 : Function 181 P r i n t i n g 2 - d i m e n s i on a l c o d e d a t a i n 2 - d i m e ns i o n a l c o d e GS ( k pL pH cn fn m [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=49 fn=81 m=48 [Outline] [The spec[...]

  • Page 218

    - 218 - 2-dimensional code da fn=82 : Function 182 S e n d i n g th e s i z e o f 2 - d i m e n s i on a l c o d e d a t a i n ta storage area GS ( k pL pH cn fn m [Code] < 1D > H < 28 > H < 6B > H < pL >< pH >< cn >< fn >< m > [Range] (pL+pH×256)=3(pL=3 、 pH=0) cn=49 fn=82 m=48 [Outline] [The sp[...]

  • Page 219

    - 219 - 2.2.18 Other Commands DLE ENQ n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Real-time r equest to print er [Code] < 10 > H < 05 > H < n > [Range] 0 ≦ n ≦ 2 [Outline] [The specificatio n which depend on the model] The printer re sponds in real-time t o the request that th e host s[...]

  • Page 220

    - 220 - DLE DC4 fn m t ( Specification of fn = 1 ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Outputting specified p ulse in real-tim e [Code] < 10 > H < 14 > H < fn >< d1 > … < d7 > [Range] fn=1 、 m=1 、 2 t=d3=20 、 d4=1 、 d5=6 、 d6=2 、 d7=8 [Outline] [The spec[...]

  • Page 221

    - 221 - DLE DC4 fn d1...d7 ( Specification of fn = 8 ) CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Buffer clear [Code] < 10 > H < 14 > H < fn >< d1 > … < d7 > [Range] f n = 8 、 d1=1 、 d2=3 、 d3=20 、 d4=1 、 d5=6 、 d6=2 、 d7=8 [Outline] [The specificatio n which[...]

  • Page 222

    - 222 - ESC = n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Data input control [Code] < 1B > H < 3D > H < n > [Range] 0 ≦ n ≦ 255 [Outline] [The specificatio n which depend on the model] • Selecting equipmen t for which data input from the host is valid. • Each bit of “n” indicat[...]

  • Page 223

    - 223 - ESC @ CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Initializing the printer [Code] < 1B > H < 40 > H [Outline] [The specificatio n which depend on the model] Clears data stored in the print buffer and brings v a rious settings to the init ial state (Def au lt state) . [Caution] • The sett[...]

  • Page 224

    - 224 - ESC L CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting PAGE MODE [Code] < 1B > H < 4C > H [Outline] [The specificatio n which depend on the model] Switc hes from STA NDARD MODE t o PAGE MODE. [Caution] • This comm and is only effecti ve if it entered at the beginning of a lin e. •[...]

  • Page 225

    - 225 - ESC S CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Selecting STANDARD MO DE [Code] < 1B > H < 53 > H [Outline] [The specificatio n which depend on the model] Switches from PAGE MODE to STANDARD MODE. [Caution] • This comma nd is only ef fective if it is entered wh en in PAGE MODE . • An[...]

  • Page 226

    - 226 - ESC p m n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Generating the specified pulses [Code] < 1B > H < 70 > H < m >< n1 >< n2 > [Range] m = 0 、 1 、 48 、 49 0 < n1 ≦ n2 ≦ 2 55 [Outline] [The specificatio n which depend on the model] • The signals specifi[...]

  • Page 227

    - 227 - GS ( A pL pH n m CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Execution of test printi ng [Code] < 1D > H < 28 > H < 41 > H < pL >< pH >< n >< m > [Range] (pL+(pH×256 ))=2(pL=2 、 pH=0 ) 0 ≦ n ≦ 2 、 48 ≦ n ≦ 50 1 ≦ m ≦ 3 、 49 ≦ m ≦ 51 [Out[...]

  • Page 228

    - 228 - GS I n CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Caution] • Under DTR/D SR control, the printer send s the printer ID after verify ing that the host is ready to [Outline] [The specificatio n which depend on the model] [Range] CT-S280 / BD2 -2220 [Code] < 1D > H < 49 > H < n > [Function] Se[...]

  • Page 229

    CT-S280 n Type of Printer ID Specification Value (Hex.) • Sends printer information specified by n=65 or more. Hex. Number of Data 1 、 49 CT -S280 31 Model ID Header 5FH 1 2 、 50 Type ID Refer to table “Type ID” below 20H ~ 7FH Data Subject to item to be responded 3 、 51 ROM version ID Differs by ROM version. NULL 00H 1 Type ID If n =[...]

  • Page 230

    CT-S300 / CT-S310 • Printer information config uration on and after transmitted n=65 is shown below. n Type of Printer ID Specification Value (Hex.) Kind of Printer Information 1 、 49 Model ID CT -S300,CT -S310 35 n Information 2 、 50 Type ID Refer to table “Type ID” below 65 Firmware version Differs by firmware version. 3 、 51 ROM vers[...]

  • Page 231

    CT-S2000 • Printer information config uration on and after transmitted n=65 is shown below. n Type of Printer ID Specification Value (Hex.) 1 、 49 Model ID CT -S2000 51 Kind of Printer Information Information n 2 、 50 Type ID Refer to table “Type ID” below 3 、 51 ROM version ID Differs by ROM version. 65 Firmware version Differs by firm[...]

  • Page 232

    CT-S4000 n Type of Printer ID Specification Value (Hex.) • Printer information config uration on and after transmitted n=65 is shown below. 1 、 49 CT -S4000 55 Model ID Kind of Printer Information 2 、 50 Type ID Refer to table “Type ID” below n Information 3 、 51 ROM version ID Differs by ROM version. 65 Firmware version Differs by firm[...]

  • Page 233

    BD2-2220 n Type of Printer ID Specification Value (Hex.) DSW If n = 112 is specified: 1 、 49 Model ID BD2-2220 59 Bit Function Hex. Decimal Dip switch [DSW5] is OFF 2 、 50 Type ID Refer to table “Type ID” below 00 0 0 3 、 51 ROM version ID Differs by ROM version. Dip switch [DSW5] is ON 01 1 Dip switch [DSW6] is OFF 00 0 1 Dip switch [DSW[...]

  • Page 234

    - 234 - PMU2XXX n Type of Printer ID Specification Value (Hex.) 1 、 49 Model ID PMU2XXX 3D 2 、 50 Type ID Refer to table “Type ID” below 3 、 51 ROM version ID Differs by ROM version. Type ID If n = 2, 50 is specified: Bit Meaning Hex. Decimal Not equipped for 2 byte code support 00 0 0 Equipped for 2 byte code support 01 1 1 Fixed 00 0 Th[...]

  • Page 235

    - 235 - GS P x y CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Specifying the basic calculati on pitch [Code] < 1D > H < 50 > H < x >< y > [Range] 0 ≦ x ≦ 255 、 0 ≦ y ≦ 255 [Outline] [The specificatio n which depend on the model] • This command sets th e horizontal basic cal [...]

  • Page 236

    - 236 - ESC RS CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310 support model PMU2XXX [Function] Sound buzzer [Code] < 1B > H < 1E > H [Outline] [The specificatio n which depend on the model] Sound the buzzer for 200 ms. [Caution] This command is buffe red before execution. CT-S2000 / C T-S4000 / CT-S310 • Sounds the buzzer when thi[...]

  • Page 237

    - 237 - 3. CHARACTER CODE TABLE 3.1 Code Page 3.1.1 Codepage 00H to 7FH & PC4 37(USA 、 Europe Standard) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ╨ α ≡ 1 XON ! 1 A Q a q ü æ í ▒ ┴ ╤ β ± 2 " 2 B R b r é Æ ó ▓ ┬ ╥ Γ ≧ 3 XOFF # 3 C S c s â ô ú │ ├ ╙ π ≦ 4 EOT DC4 $ 4 D T d t[...]

  • Page 238

    - 238 - 3.1.2 Codepage 00H to 7FH & Kat akana 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p ▁ ┴S P-タ ミ ═ × 1 XON ! 1 A Q a q ▂ ┬ º ア チ ム ╞ 円 2 " 2 B R b r ▃ ┤┌イツ メ ╪ 年 3 XOFF # 3 C S c s ▅ ├┘ウテ モ ╡ 月 4 EOT DC4 $ 4 D T d t ▆ ─、エト ヤ ◢ 日 5 ENQ % 5 E U e u ▇ ?[...]

  • Page 239

    - 239 - 3.1.3 Codepage 00H to 7FH & PC850(Multilingual) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ð Ó ― 1 XON ! 1 A Q a q ü æ í ▒ ┴ Ð β ± 2 " 2 B R b r é Æ ó ▓ ┬ Ê Ô = 3 XOFF # 3 C S c s â ô ú │ ├ Ë Ò ¾ 4 EOT DC4 $ 4 D T d t ä ö ñ ┤ ─ È õ ¶ 5 ENQ % 5 E U e u à ò Ñ ?[...]

  • Page 240

    - 240 - 3.1.4 Codepage 00H to 7FH & PC8 60(Portuguese) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ╨ α ≡ 1 XON ! 1 A Q a q ü À í ▒ ┴ ╤ β ± 2 " 2 B R b r é È ó ▓ ┬ ╥ Γ ≧ 3 XOFF # 3 C S c s â ô ú │ ├ ╙ π ≦ 4 EOT DC4 $ 4 D T d t ã õ ñ ┤ ─ ╘ ∑ ⌠ 5 ENQ % 5 E U e u à [...]

  • Page 241

    - 241 - 3.1.5 Codepage 00H to 7FH & PC8 63(Canadian-French) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É ¦ ░ └ ╨ α ≡ 1 XON ! 1 A Q a q ü È ´ ▒ ┴ ╤ β ± 2 " 2 B R b r é Ê ô ▓ ┬ ╥ Γ ≧ 3 XOFF # 3 C S c s â ô ú │ ├ ╙ π ≦ 4 EOT DC4 $ 4 D T d t Â Ë ¨ ┤ ─ ╘ ∑ ⌠ 5 ENQ % 5 E U e[...]

  • Page 242

    - 242 - 3.1.6 Codepage 00H to 7FH & PC8 65(Nordic) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ╨ α ≡ 1 XON ! 1 A Q a q ü æ í ▒ ┴ ╤ β ± 2 " 2 B R b r é Æ ó ▓ ┬ ╥ Γ ≧ 3 XOFF # 3 C S c s â ô ú │ ├ ╙ π ≦ 4 EOT DC4 $ 4 D T d t ä ö ñ ┤ ─ ╘ ∑ ⌠ 5 ENQ % 5 E U e u à ò ?[...]

  • Page 243

    - 243 - 3.1.7 Codepage 00H to 7FH & PC8 52(Easern Europe) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ đ Ó - 1 XON ! 1 A Q a q ü Ĺ í ▒ ┴ Đ β ” 2 " 2 B R b r é Í ó ▓ ┬ Ď Ó 、 3 XOFF # 3 C S c s â Ú ú │ ├ Ë Ń ˇ 4 EOT DC4 $ 4 D T d t ä Ö Ą ┤ ─ ď Ń ˘ 5 ENQ % 5 E U e u ů Ľ ą [...]

  • Page 244

    - 244 - 3.1.8 Codepage 00H to 7FH & PC8 57(Russian) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p ΑР а ░ └ ╨ р Ë 1 XON ! 1 A Q a q Б С б ▒ ┴ ╤ с ë 2 " 2 B R b r В Т в ▓ ┬ ╥ т Є 3 XOFF # 3 C S c s ГУг│├ ╙ у є 4 EOT DC4 $ 4 D T d t ДФд┤─ ╘ ф Ї 5 ENQ % 5 E U e u Е Х е ╡ ┼ ╒[...]

  • Page 245

    - 245 - 3.1.9 Codepage 00H to 7FH & PC8 57(Turkish) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ o ó ― 1 XON ! 1 A Q a q ü æ í ▒ ┴ a β± 2 " 2 B R b r é Æ ó ▓ ┬ Ê ô 3 XOFF # 3 C S c s â ô ú │ ├ Ë ò ¾ 4 EOT DC4 $ 4 D T d t à ö ñ ┤ ─ È õ ¶ 5 ENQ % 5 E U e u ä ò Ñ Á ┼ Õ §[...]

  • Page 246

    - 246 - 3.1.10 Codepage 00H to 7FH & PC864(ArabiC )[...]

  • Page 247

    - 247 - 3.1.11 Codepage 00H to 7FH & Windows Codepage 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p ° À Ð à ð 1 XON ! 1 A Q a q ‘ ¡ ± Á Ñ á ñ 2 " 2 B R b r ¸ ’ ¢ ² Â Ò â ò 3 XOFF # 3 C S c s ƒ “ £ ³ Ã Ó ã ó 4 EOT DC4 $ 4 D T d t ,, ” ¤ ´ Ä Ô ä Ô 5 ENQ % 5 E U e u ... ‧ ¥ µ Å Õ å Õ 6 &[...]

  • Page 248

    - 248 - 3.1.12 Codepage 00H to 7FH & Thai code 18[...]

  • Page 249

    - 249 - 3.2 Internatinal Character Code Table Country 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 U.S.A # $ @ [ ╲ ] ^ ' { | } ~ 1 France # $ à ° ç § ^ ' é ù è ¨ 2 Germany # $ § Ä Ö Ü ^ ' ä ö ö β 3 U.K. £ $ @ [ ╲ ] ^ ' { | } ~ 4 Denmark I # $ @ Æ Ø Å ^ ' æ ø å ~ 5 Sweden # ¤ É[...]

  • Page 250

    - 250 - 3.3 Kanji Code Table 3.3.1 JIS non-Kanji S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 813F 2120 、 。 ,.・:;?!゛ ゜ ´ `¨ 814F 2130 ^  ̄_ ヽ ヾゝゞ〃仝〆〇〇 ― ― ‐/ 815F 2140 \ ~∥ | …‥‘’“”() 〔 〕 [] 816F 2150 { }〈 〉 《》「」『』【】 + - ±× 8180 2160 [...]

  • Page 251

    - 251 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 843F 2720 А Б В Г ДЕЁЖЗИЙ К Л М Н 844F 2730 О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э 845F 2740 Ю Я 846F 2750 а б в г деёжзий к л м н 8480 2760 о п р с т у ф х ц ч ш щ ъ ы ь э 8490 2770 ю я 849E 2820 ─ │ ┌ ┐ ┘└├┬┤┴┼ ━ ?[...]

  • Page 252

    - 252 - 3.3.2 JIS Kanji Level 1 S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 889E 3020 亜唖 娃 阿哀愛挨姶逢葵茜 穐 悪 握渥 88AE 3030 旭 葦芦 鯵 梓圧斡扱宛姐虻飴 絢 綾 鮎 或 88BE 3040 粟 袷安 庵 按暗案 闇鞍杏以伊 位 依 偉囲 88CE 3050 夷 委威 尉 惟意慰易椅為畏異 移 維 緯胃 88DE 3060 萎 衣?[...]

  • Page 253

    - 253 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 8B9E 3620 供 侠 僑 兇 競 共 凶 協 匡 卿 叫 喬 境 峡 強 8BAE 3630 彊 怯 恐 恭 挟 教 橋 況 狂 狭 矯 胸 脅 興 蕎 郷 8BBE 3640 鏡 響 饗 驚 仰 凝 尭 暁 業 局 曲 極 玉 桐 粁 僅 8BCE 3650 勤 均 巾 錦 斤 欣 欽 琴 禁 禽 筋 緊 芹 菌 衿 襟 8BDE 366[...]

  • Page 254

    - 254 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 8E9E 3C20 次 滋 治 爾璽痔 磁示而耳自 蒔 辞 汐 鹿 8EAE 3C30 式 識 鴫 竺 軸 宍 雫 七 叱 執 失 嫉 室 悉 湿 漆 8EBE 3C40 疾 質 実 蔀 篠 偲 柴 芝 屡 蕊 縞 舎 写 射 捨 赦 8ECE 3C50 斜 煮 社 紗 者 謝 車 遮 蛇 邪 借 勺 尺 杓 灼 爵 8EDE 3C60 酌 [...]

  • Page 255

    - 255 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 919E 4220 臓 蔵 贈 造促側則即息捉束 測 足 速俗 91AE 4230 属 賊族 続 卒袖 其揃存孫尊損 村 遜 他多 91BE 4240 太 汰詑 唾 堕妥 惰打柁舵楕陀 駄 騨 体堆 91CE 4250 対 耐岱 帯 待怠態戴 替泰滞胎 腿 苔 袋貸 91DE 4260 退 逮隊 黛 鯛代 台大?[...]

  • Page 256

    - 256 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 949E 4820 函 箱 硲 箸肇筈 櫨幡肌畑畠 八 鉢 溌 発 94AE 4830 醗 髪 伐 罰 抜 筏 閥 鳩 噺 塙 蛤 隼 伴 判 半 反 94BE 4840 叛 帆 搬 斑 板 氾 汎 版 犯 班 畔 繁 般 藩 販 範 94CE 4850 釆 煩 頒 飯 挽 晩 番 盤 磐 蕃 蛮 匪 卑 否 妃 庇 94DE 4860 彼 [...]

  • Page 257

    - 257 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 979E 4E20 痢 裏 裡 里 離陸律率立葎掠 略 劉 流 溜 97AE 4E30 琉 留 硫 粒 隆 竜 龍 侶 慮 旅 虜 了 亮 僚 両 凌 97BE 4E40 寮 料 梁 涼 猟 療 瞭 稜 糧 良 諒 遼 量 陵 領 力 97CE 4E50 緑 倫 厘 林 淋 燐 琳 臨 輪 隣 鱗 麟 瑠 塁 涙 累 97DE 4E60 類 [...]

  • Page 258

    - 258 - 3.3.3 JIS Kanji Level 2 S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 989E 5020 弌丐 丕 个丱丶丼丿乂乖乘 亂 亅 豫亊 98AE 5030 舒 弍于 亞 亟亠亢亰亳亶从仍 仄 仆 仂 仗 98BE 5040 仞 仭仟 价 伉佚估 佛佝佗佇佶 侈 侏 侘佻 98CE 5050 佩 佰侑 佯 來侖儘俔俟俎俘俛 俑 俚 俐俤 98DE 5060 俥 倚?[...]

  • Page 259

    - 259 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 9B9E 5620 屐 屏 孱 屬屮乢屶屹 岌岑岔 妛 岫 岻岶 9BAE 5630 岼 岷 峅 岾 峇 峙 峩 峽 峺 峭 嶌 峪 崋 崕 崗 嵜 9BBE 5640 崟 崛 崑 崔 崢 崚 崙 崘 嵌 嵒 嵎 嵋 嵬 嵳 嵶 嶇 9BCE 5650 嶄 嶂 嶢 嶝 嶬 嶮 嶽 嶐 嶷 嶼 巉 巍 巓 巒 巖 巛 9BDE 5660 巫 ?[...]

  • Page 260

    - 260 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F 9E9E 5C20 棔 棧 棕 椶椒椄 棗棣椥棹棠 棯 椨 椪 椚 9EAE 5C30 椣 椡 棆 楹 楷 楜 楸 楫 楔 楾 楮 椹 楴 椽 楙 椰 9EBE 5C40 楡 楞 楝 榁 楪 榲 榮 槐 榿 槁 槓 榾 槎 寨 槊 槝 9ECE 5C50 榻 槃 榧 樮 榑 榠 榜 榕 榴 槞 槨 樂 樛 槿 權 槹 9EDE 5C60 槲 [...]

  • Page 261

    - 261 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F E19E 6220 癲 癶 癸 發皀皃皈皋 皎皖皓 皙 皚 皰皴 E1AE 6230 皸 皹 皺 盂 盍 盖 盒 盞 盡 盥 盧 盪 蘯 盻 眈 眇 E1BE 6240 眄 眩 眤 眞 眥 眦 眛 眷 眸 睇 睚 睨 睫 睛 睥 睿 E1CE 6250 睾 睹 瞎 瞋 瞑 瞠 瞞 瞰 瞶 瞹 瞿 瞼 瞽 瞻 矇 矍 E1DE 6260 矗 ?[...]

  • Page 262

    - 262 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F E49E 6820 茵 茴 茖 茲茱荀茹荐 荅茯茫 茗 茘 莅莚 E4AE 6830 莪 莟 莢 莖 茣 莎 莇 莊 荼 莵 荳 荵 莠 莉 莨 菴 E4BE 6840 萓 菫 菎 菽 萃 菘 萋 菁 菷 萇 菠 菲 萍 萢 萠 莽 E4CE 6850 萸 蔆 菻 葭 萪 萼 蕚 蒄 葷 葫 蒭 葮 蒂 葩 葆 萬 E4DE 6860 葯 ?[...]

  • Page 263

    - 263 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F E79E 6E20 遏 遐 遑 遒逎遉逾遖 遘遞遨 遯 遶 隨遲 E7AE 6E30 邂 遽 邁 邀 邊 邉 邏 邨 邯 邱 邵 郢 郤 扈 郛 鄂 E7BE 6E40 鄒 鄙 鄲 鄰 酊 酖 酘 酣 酥 酩 酳 酲 醋 醉 醂 醢 E7CE 6E50 醫 醯 醪 醵 醴 醺 釀 釁 釉 釋 釐 釖 釟 釡 釛 釼 E7DE 6E60 釵 ?[...]

  • Page 264

    - 264 - S-JIS JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F EA9E 7420 堯 槇 遙 瑤 EAAE 7430 EABE 7440 EACE 7450 EADE 7460 EAEE 7470[...]

  • Page 265

    - 265 - 4. Memory Switch Memory switch is a function to save th e user sele cted settings into N V memory, where me mory switch setting will be held unless memory switch is changed. Memory switch is changed by manual setting or by command in th e memory switch change mode. * Hereafter, memory switch is referred to as MS W. 4.1 Memory Switches 4.1.1[...]

  • Page 266

    - 266 - 4.1.2 CT-S300 No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive E rror ● P r i n t ? N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● I n v a l[...]

  • Page 267

    - 267 - 4.1.3 CT-S2000 No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive E rror ● P r i n t ? N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● I n v a [...]

  • Page 268

    - 268 - No. Setting Default Set Values MSW7-1 Baud Rate 19200bps 2400bps,4800bps,9600bps,19200bps,38400bps, 57600bps,115200bps MSW7-2 Data Length 8bits 7bits,8bits MSW7-3 Stop Bit 1bit 1bit,2bits MSW7-4 Parit y None None, Odd, Even MSW7-5 Flow Contr ol D TR/DSR DTR/DSR , X on/X off MSW7-6 DMA control V alid V alid, Inv alid MSW7-7 VCom Pr otocol PC[...]

  • Page 269

    - 269 - 4.1.4 CT-S4000 No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive E rror ● P r i n t “ ? ” N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● [...]

  • Page 270

    - 270 - No. Setting Default Set Values MSW7-1 Baud Rate 19200bps 1200bps,2400bps,4800bps,9600bps,19200bps, 38400bps,57600bps,115200 bps MSW7-2 Data Length 8bits 7bits,8bits MSW7-3 Stop Bit 1bit 1bit,2bits MSW7-4 Parit y None None, Odd, Even MSW7-5 Flow Contr ol D TR/DSR DTR/DSR , X on/X off MSW7-6 DMA control V alid V alid, Inv alid MSW7-7 VCom Pr [...]

  • Page 271

    - 271 - 4.1.5 BD2-2220 No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive Er r or ● P r i n t ? N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● I n v a[...]

  • Page 272

    - 272 - 4.1.6 CT-S310 No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive E rror ● P r i n t “ ? ” N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● I[...]

  • Page 273

    - 273 - No. Setting Default Set Values MSW7-1 Baud Rate 19200bps 1200bps,2400bps,4800bps,9600bps,19200bps, 38400bps MSW7-2 Data Length 8bits 7bits,8bits MSW7-3 Stop Bit 1bit 1bit,2bits MSW7-4 Parit y None None, Odd, Even M SW7 -5 Fl ow C on tro l Xo n/ Xof f DTR / DSR , Xon /Xo ff MSW7-6 R eserv ed ― ― MSW7-7 VCom Pr otocol PC setting PC settin[...]

  • Page 274

    - 274 - 4.1.7 PMU2XXX No. Setting OFF ON MSW1-1 Power ON Inf o ● V a l i d N o t s e n d MSW1-2 Buff er Size ● 4 K b y t e s 4 5 b y t e s MSW1-3 Busy Condition ● F u l l / E r r F u l l MSW1- 4 Receive E rror ● P r i n t “ ? ” N o P r i n t MSW1-5 CR mode ● I g n o r e d L F MSW1-6 R eserv ed ● F i x e d ― MSW1-7 DSR Signal ● I[...]

  • Page 275

    - 275 - No. Setting Default Set Values MSW7-1 Baud Rate 9600bps 1200bp s,2400bps,4800bps,9600bps,19200 bps, 38400bps,57600bps,115200 bps MSW7-2 Data Length 8bits 7bits,8bits MSW7-3 Stop Bit 1bit 1bit,2bits MSW7-4 Parit y None None, Odd, Even MSW7-5 Flow Contr ol D TR/DSR DTR/DSR , X on/X off MSW7-6 R eserv ed - - MSW7-7 R eserv ed - - MSW9-[...]

  • Page 276

    - 276 - 4.2 Details of Memory Switches This section describe s the function of memory switch. Some MSW may not be set or some v alues may not be selected depending on the model used. For the MSW and value that can be set or selected with the model you are using, refer to the oper ation manual or the like. 4.2.1 MSW1 ● MSW1-1 : Setting the po we[...]

  • Page 277

    - 277 - ● MSW1-3 : Busy condition [Outline] Select the condition that p rinter is BUSY . Automatic status send f unction also runs. OFF(0) ON(1) Busy Condition Buff er full/Off - li ne Buffer f ull ON (1) OPERA TION: If receive buf fer is f ull, printer is BUSY . Automatic status send ( ASB ) function i s enabled. OFF (0) OPERA TION: If rec[...]

  • Page 278

    - 278 - ● MSW1-5 : CR code [Outline] Select the printer when receiving CR(<0D> H) code. OFF(0) ON(1 ) CR mode Ignor ed LF ON (1) OPERA TION: Select the same op erati on with LF when r eceiving CR cod e. Print data in pri nt buff er and put linef eeds as specif ied. OFF (0) OPERA TION: CR code may be ign ored with no actions if r eceiving [...]

  • Page 279

    - 279 - 4.2.2 MSW2 ● MSW2-1 : Reserved [Fixed to ON(1)] ● MSW2-2 : Au to-cut ter operation [Outline] Select auto-cutter enable/disable. OFF(0) ON ( 1 ) Auto Cutter In valid Valid ON (1) OPERA TION: Auto-cutter enabled OFF (0) OPERA TION: Auto-cutter disabled ● MSW2-3 : B ufferin g [Outline] Select bufferin g print enable/disable. OFF([...]

  • Page 280

    - 280 - ● MSW2-4 : Ful l Columns print [Outline] Select the proc essing if print dat a closes to the end of line or the r ight of print wid th. OFF(0) ON(1 ) Full Col print Line F eed W ait Data ON (1) OPERA TION: If printer recei ves data/com mand exceeding th e full column, printer further waits for print data. If data exceeding the f ull col[...]

  • Page 281

    - 281 - ● MSW2-6 : Pa p er w i dt h [Outline] Select paper width. OFF( 0 ) ON( 1 ) Paper width 80mm 58mm ON (1) OPERA TION: Paper width is set 80mm OFF (0) OPERA TION: Paper width i s set 58mm ● MSW2-7 : Reserved [Fixed to OFF (0)] ● MSW2-8 : PNE sensor [Outline] Select paper near-e nd enable/disabl e. OFF(0) ON(1 ) PNE Sensor V ali[...]

  • Page 282

    - 282 - 4.2.3 MSW3 ● MSW3-1 : Au to-cutter ret urn [Outline] Select return method from c utter lock error . OFF(0) ON(1 ) Resu m Cttr Err V alid Inv alid ON (1) OPERA TION: Return by command. Afte r removing error ca use, return wi th command <DL E ENQ n>. OFF (0) OPERA TION: Retu rn with FEED switch. After re moving error caus e, return [...]

  • Page 283

    - 283 - ● MSW3-4 : Select ing paper [Outline] Selects either thermal pape r or black mark paper. OFF(0) ON(1) Paper Select Thermal Black Mark Operation at O N (1): Sets black mark paper. Operation at OFF (0): Sets th ermal paper. ● MSW3-5 : Column Number [Outline] Selects colum n nu mber. OFF(0) ON(1 ) Column Number 48/32 col 42/30 col Oper[...]

  • Page 284

    - 284 - ● MSW3-8 : Cover open during printing [Outline] Select the release method of cover open err or during printing. OFF(0) ON(1) Resu m Open Err Close Command ON (1) OPERA TION: Cover open err or during printing becomes a r eturn allowed error . Return ed with command < DLE EN Q n > after c over is closed. OFF (0) OPERA TION: Cover op[...]

  • Page 285

    - 285 - 4.2.4 MSW4 ● MSW4-1 : Automat ic length measurement [Outline] In selecting black mark paper , set the enab le/disabl e of automatic length measurem ent. (Black mark/label support model only ) OFF(0) ON(1 ) BM Measure Invalid V alid ON (1) OPERA TION: Automatic length measurement is enabled. At power -up , measurement oper ation is tak[...]

  • Page 286

    - 286 - ● MSW4-4 : Pa p er [Outline] Selects the type of paper used. OFF(0) ON(1 ) Paper Thermal roll paper Black mark paper/Label paper O N ( 1 ) O P E R A T I O N : Paper used is limited to black mark paper or label paper. O F F ( 0 ) O P E RA T I O N : Paper used is limited to thermal roll paper. ● MSW4-5 : Position detect [Outline] Sele[...]

  • Page 287

    - 287 - 4.2.5 MSW5 ● MSW5-1 : B uzzer [Outline] Select the enable/disable of b uzzer . OFF(0) ON(1 ) Buzzer V alid Inv alid ON (1) OPERA TION: Disable buzzer When a n error occ urs or memo ry switch se tting is c hanged manua lly , no buzzer sounds. OFF (0) OPERA TION: Enable buzzer . When a n error occ urs or memo ry switch se tting is c hange[...]

  • Page 288

    - 288 - ● MSW5-5 : Setting the po wer OFF notif y [Outline] At power OFF , to notify the h ost of the printer power OFF , printer can send to host 3 byte power OFF not if y’s status data ( < 3B > H < 31 > H < 00 > H) . Set to enable/disable f or sending th e power OFF not if y’s status data. OFF(0) ON(1 ) Pow er OFF Inf o [...]

  • Page 289

    - 289 - 4.2.7 MSW7 ● MSW7-1 : Baud rate [Outline] Select baud rate whi ch is serial interface communication con dition. Enabled if DSW1 -1 OFF is set [f ol lowing memory switch setting]. Setting Value Baud Rate 1200bps,2400bps,4800bps,9600bp s,19200bps, 38400bps,57600bps,115200 bps ● MSW7-2 : Data length [Outline] Select the data length, wh[...]

  • Page 290

    - 290 - ● MSW7-6 : DMA control [Outline] Select the enable/disable of DMA (Direct Memory Access) control. Setting Value DMA control Valid , Inv alid ● MSW7-7 : VCom flow control [Outline] In MSW5-3, select the flow contr ol when virtual C OM is set. Setting Value VCom Protocal PC set ting, D TR/D SR, XON /XOFF[...]

  • Page 291

    - 291 - 4.2.8 MSW8 ● MSW8-1 : Print width [Outline] Select the print width in dots. Setting Value Print Width 832dots, 720dots,660dots,640 dots,576dots,512dots, 436dots,432dots,420dots,384dots,360d ots ● MSW8-2 : Paper type [Outline] Select the paper type used. Setting Value Pa per T y pe 1 Color Nor mal, 1 Color BM, 1 Color La bel, 2 color[...]

  • Page 292

    - 292 - 4.2.9 MSW9 ● MSW9-1 : Code page [Outline] Select the code page. Setting Value Code Pag e PC437 ,K atakana,PC850 ,PC858,PC860,PC8 63, PC865,PC852,PC866,PC8 57 ,WindowsCode, PC864,ThaiCod e18 ● MSW9-2 : In ternational character [Outline] Select the international char acter . Setting Value Int’ Char Set USA, Fr ance, Germa ny , UK, D[...]

  • Page 293

    - 293 - 4.2.10 MSW10 ● MSW10-1 : Print density [Outline] Select the print density . Setting Value Print Density 70%,75%,8 0%,85%,90 %,95%,100%,105 %, 110%,115%,120% ,125%,130%,135%,140 % ● MSW10-2 : Print speed [Outline] Select the print speed. Setting Value Print Speed Level1,Level2,Lev el3,evel4 ,Level5,Level6 , Level7 ,Level8,Lev el9 ●[...]

  • Page 294

    - 294 - 5. APPENDIX 5.1 Explanation on PAGE MODE 5.1.1 Overview The printer has two prin t modes: STANDARD and PAGE. In STANDARD MODE, the p rinter prints or feeds paper each time it recei ves a print or paper feed command . In PAGE MODE, when the printer receives p rint command s and/or form feed comm ands, it simply forward s them to the specifie[...]

  • Page 295

    - 295 - 5.1.3 Mapping of Print Data in the Print Area Print data is m apped in the print area as follows: (1) The print area is set by ESC W. When the printer has fi nished all of the prin t and paper feed action s specified before receivin g an ESC W, the ESC W sets the righ t end (as view ed facing the print er) as the star t point (x0, y0) of th[...]

  • Page 296

    - 296 - Mapping d irection Baseline Print area dx, dy x0, y0 2 4 -3 Point A Figure 5-1 Mapping Position for Character Data Double height char acter 24*2-6 42 Bit image nH*256+n ESC * m nL nH 6*8=48 Downloaded bit image GS * x y Bar cod e GS k m (HRI Characters) GS h n 24-3 3 6 1 1 x*8 2 Point B Point B Point B Point B Baseline Figure 5-2 Mapping Po[...]

  • Page 297

    - 297 - 5.1.4 Example of Using PAGE MODE The following explains specific uses of PAGE MODE . When in PAGE MOD E, the command s are typicall y sent from the host to the printer in the following seq uence: (1) An ESC L puts the prin ter in PAGE MODE. (2) An ESC W specifies the print area. (3) An ESC T specifi es the print direction . (4) Print data i[...]

  • Page 298

    - 298 - In Figure 4-3, a line feed occurs be tween “lesson” and “Test 1” because the space “ “ next to “lesson” does not fit in the horizontal ran ge of the 200  400  -pitch print area. Th e line feed width confor ms to the value spe cified by a command such as ESC 3. It is possible to set as many print areas as de sired befor[...]

  • Page 299

    - 299 - P age mode lesson 2CAN command ABCDEFGHIJKLMNOP QRST1234567890 Print area 400 ( 0 , 0 ) 200 Print Direction Paper Figure 5-4 Example 2: Result of Print Before an FF i s sent (170th line), the f ollowing prog ram code can be adde d to remove part of th e data. < Example 2 > 180 PRINT ♯ 1 , CHR$(&H1B);"W";CHR$(7 2);CHR[...]

  • Page 300

    - 300 - P age mode lesson 2CAN command ABCDEF JKLMNOP QRST1234567890 400 ( 0 , 0 ) 200 Paper Print area Print Direction Figure 5-5 Print Result of Adding a Program of Example 3 to Example 2[...]

  • Page 301

    - 301 - 5.2 Bidirectional Parallel Interface Overview The interface of the printer i s a Level-1 comp atible device according to I EEE-P1284. It supports the communicati on modes described i n 5.2.1 belo w. 5.2.1 Parallel Interface Communication Mode The parallel interface of the printe r provides three communicati on modes as outlined below. Wh en[...]

  • Page 302

    - 302 - 5.2.2 Interfacing Phases Interfacing in each communication mode is divided into several ph ases. In addition , there is a phase for mode initialization, as well as a phase f or mode switching . Interface sign als may differ i n name and function for differen t modes and different phases. Aborted Tr a n s f e r T ermi nation from Other Modes[...]

  • Page 303

    - 303 - 5.2.3 Negotiation Overview Usually, the printer i s started in Comp atibility mode, wh ich corresponds to the Centronics i nterface phase. When the host intends to swit ch to the Nibble or Byt e mode, it sends a re quest and negoti ates with the prin ter. A genera l flow of negot iations is giv en below. (1) The ho st sets the IE EE 1284 Ac[...]

  • Page 304

    - 304 - Precautions (1) The Negoti ation phase is triggered wh en the IEEE 1284 Active signal sent by the host becomes High. (2) In Compatibility m ode, the tim e when the negotiation p rocess begins is , as a general rule, after th e host sets nStrobe to Hig h and then the printer outputs an nA ck pulse. Once the nStrobe signal i s set to High , h[...]

  • Page 305

    - 305 - Data Communication f rom Printer to Host Nibble Mode In this mode, dat a is transferr ed between the prin ter and the ho st through th e procedure describ ed below. The steps begi nning from (1) are applicable when th e Ne gotiati on phase has swi tched to the Host Busy Data Available phase. If the Negotiati on phase has swi tched to the Ho[...]

  • Page 306

    - 306 - (14) Upon receiving a request for interrupt from the pri nte r, the ho st responds by setting H ostBusy (nA utoFd) t o High. (Event 20) (15) Finally, th e printer responds to the host by set ting AckDataReq (P Error) to Low, and then the host moves to the Host Busy Data Available phase. (Ev ent 21)[...]

  • Page 307

    - 307 - Byte Mode In this mode, dat a is transferr ed between the prin ter and the ho st through th e procedure describ ed below. The steps begi nning from (1) are applicable when th e Ne gotiati on phase has swi tched to the Host Busy Data Available phase. If the Negotiati on phase has swi tched to the Host Busy Data Not Available phase, the proc [...]

  • Page 308

    - 308 - Device ID The device ID i s a charac ter string that provides th e ID, the type, and other information regarding the printer connected to th e interface. When the printer rece ives a re quest for a device ID from th e ho st, it replies with the following device ID: < 00 > H < 2E > H MFG : CI TIZEN ; CMD : ESC/POS ; MDL ?[...]

  • Page 309

    - 309 - Termination Termination is the process of returning to Compatibility mode from the Ni bble or Byte modes. When performing Terminati on, the host sets the signa ls as follow s: • IEEE 1284 Active (nSelectln ): Low • HostBusy (nAutoFd): High ( Event 22) There are two method s of Termination: (1) Termination thr ough a handshak e between t[...]

  • Page 310

    - 310 - 5.3 Identification of Send Status Because the status sent from the printer has certain fixed bits , it is possible to iden tify to which command the statu s belongs. When using AS B (Automatic Statu s Back), however, the fir st byte of ASB sh ould be checked, and then the thr ee consecutive by tes except for XOFF should b e treated as ASB d[...]

  • Page 311

    - 311 - If printing of “E” of 2 times vertical (48 dots) is attempted there, 48 dots are not printed in the remaining area of 36 do ts. Therefore, “E” i s printed from next label’s first print position. Here, line feed of “E” must also be included in the calculation of the height of “E”. (See figure below.) 5.4 Cautions on Black M[...]

  • Page 312

    - 312 - If printing of image greater than inter-BM distance/label paper length (vertical print area width) is attempted, image is printed in two separated images as sh own below. Barcode, downloaded image, NV image, page mode Image greater than vertical print area of label paper used is printed over the label. In this case, head and bottom margins [...]