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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Cino 3.00.01, 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 Cino 3.00.01 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 Cino 3.00.01. 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 Cino 3.00.01 should contain:
- informations concerning technical data of Cino 3.00.01
- name of the manufacturer and a year of construction of the Cino 3.00.01 item
- rules of operation, control and maintenance of the Cino 3.00.01 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 Cino 3.00.01 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 Cino 3.00.01, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Cino 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 Cino 3.00.01.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Cino 3.00.01 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

    1 Programming Reference International Edition, Rev . 2.2 Beta Release[...]

  • Page 2

    Revision Sheet Progr amming Reference VERSAJET F i r m w a r e Ve r s i o n Command 3.00.01 3.00.02 FS 2 Define user-defined Kanji characters Can only be used in Japanese 2-byte fonts Add T raditional and Simplified Chinese fonts US B IrDA setting Cancelled US C Bluetooth setting Bluetooth Setting- Cancel Enable/Disable parameter US b Get IrDA conf[...]

  • Page 3

    Propriet ary S t atement Progr amming Reference VERSAJET The information contained herein is propriet ary and is provi ded sorely for the purpose of allowing customers to operate and maintain the equipment described herein. PC W orth Int’l Co., Ltd. reser ves the right to make changes in specifications and other information contained in this docu[...]

  • Page 4

    Progr amming Reference VERSAJET T able of Contents Chapter 1 Introduction .................................................................................................. 1 JCL Comm and Se ts ............................................................................................................... ............ 2 Commands Comparison bet ween [...]

  • Page 5

    ESC ! ......................................................................................................................... ....................... 36 Progr amming Reference VERSAJET ESC $ ......................................................................................................................... ...................... 37 ESC % ...[...]

  • Page 6

    FS !.......................................................................................................................... ......................... 70 Progr amming Reference VERSAJET FS & .......................................................................................................................... ....................... 72 FS [...]

  • Page 7

    GS c .......................................................................................................................... ..................... 156 Progr amming Reference VERSAJET GS f .......................................................................................................................... ...................... 158 GS h ....[...]

  • Page 8

    US 4 ........................................................................................................................ ....................... 204 Progr amming Reference VERSAJET US 7 ........................................................................................................................ ....................... 205 US A .....[...]

  • Page 9

    Introduction Progr amming Reference VERSAJET Thank you for choosing Cino V ersaJet Mobile Printer . The V ersaJet mobile prin ter is designed with rugged yet lightweight architecture, deliveri ng the ultimate convenience of mobilit y to meet your on-demand labels and receipts printing requirement s. Besides RS232 communication interfaces, the V ers[...]

  • Page 10

    JCL Command Sets Progr amming Reference VERSAJET ESC/POS (Epson S tandard Code for Point of Sales) is one of the most world-popular command set s, which was designed to provide the expandability and universal applicability demanded by t he market. The JCL (Job Control Language) is the prop rietary printer language of Cino mobile pr inter supporting[...]

  • Page 11

    Commands Comparison between JCL and ESC/POS Progr amming Reference VERSAJET ESC / POS Emulation Command Descriptions HT Horizontal t ab LF Print and line feed FF Print and return to standard mode (in p age mode) CR Print and carriage return CAN Cancel print data in p age mode ESC FF Print data in p age mode ESC SP Set right-side character spacing E[...]

  • Page 12

    Progr amming Reference VERSAJET Command Descriptions ESC ? Cancel user-defined characters ESC @ Initialize printer ESC { T urn upside-down printing mode on/off ESC D Set horizontal t ab positions ESC E T urn emphasized mode on/off ESC G T urn double-strike mode on/off ESC J Print and feed paper ESC L Select page mode ESC M Select character font ESC[...]

  • Page 13

    Progr amming Reference VERSAJET Command Descriptions FS ! Set print mode(s) for Kanji characters FS & Select Kanji character mode FS - Turn underline mode on/off for Kanji character FS 2 Define user-defined Kanji characters FS S Set left – and right –side Kanji character sp acing FS W T urn quadruple-size mode on/off for Kanji characters FS[...]

  • Page 14

    Progr amming Reference VERSAJET Command Descriptions GS Set relative vertical print position in page mode GS ^ Execute macro GS H Select printing position of Human Reada ble Interpretation (HRI) characters GS f Select font for HRI characters GS h Set bar code height GS k Print bar code GS v 0 Print raster bit image GS W Set printing area width GS[...]

  • Page 15

    Progr amming Reference VERSAJET JCL Feature Command Sets Command Descriptions GS C 0 Select counter print mode GS C 1 Select counter mode GS C 2 Sets the serial number counter value GS c Print counter setup GS ( k S pecify and print the symbol RS A Label length measurement RS B Restore factory default RS E Clear buf fer RS F Remote power off RS G P[...]

  • Page 16

    Progr amming Reference VERSAJET Command Descriptions RS n Print *.bmp image RS p Set number of copies of printing data RS q Serialization setting RS r Print serialization RS t Define flash macro RS u Execute macro US 1 T op of form control US 2 T op of form offset setting US 3 Auto tear-off control US 4 T ear-off of fset setting US 7 Paper sensor s[...]

  • Page 17

    Progr amming Reference VERSAJET Command Descriptions US L Feed key control US M Panel buttons control US a Get RS232 configurations US c Get Bluetooth configurations US g Get printer configurations US h Get system information US k Get head resistance US m Get printing log US n Get battery status US r Get printer status 9[...]

  • Page 18

    Command Overview Progr amming Reference VERSAJET This chapter covers following topics to present the supported commands that are used with V ersaJet:  Command Notation  Explanations of T erms  Supported Commands 10[...]

  • Page 19

    Command Notation Progr amming Reference VERSAJET [Name] The name of the command. [Format] The code sequence. [Range] Gives the allowable ranges for the arguments. [Default] Gives the default values, if any , for the command p arameters. [Description] Describes the command’ s function. [Notes] Provides important information on setting and using th[...]

  • Page 20

    Explanation of T erms Progr amming Reference VERSAJET (1) Receive buffer The receive buffer is a buffer that stores, as is, t he data received from the host (the reception data). The reception data is stored in the receive buffer te mporarily, and is then processed sequentially. (2) Print buffer The print buffer is a buffer that st ores the image d[...]

  • Page 21

    Progr amming Reference VERSAJET (5) Printable area The maximum range within which printing is possible un der the printer specifications. The printable area for this printer is as follows:  The length of the horizontal direction in standard mode: approximately 48 mm {1.89 “}  The length of the vertical direction in page mode: approximately [...]

  • Page 22

    Progr amming Reference VERSAJET (9) LSB Least Significant Bit (11) Base line Standard position when character data is stored in the print buffer. Normal character in standard mode and page mode: A y * Base line * When font A (12×24 dots) is selected, this height is for 24 dots. * When font B (9×24 dots) is selected, this height is for 24 dots. Ro[...]

  • Page 23

    Supported Commands Progr amming Reference VERSAJET In these tables, click any name to see the command descr iption. Please refer following instructions before you utilize these commands to configure your V ersaJet: St andard mode  : Enabled. (  ) : Enabled only when the command is used at the beginning of command codes.  : Enabled only whe[...]

  • Page 24

    Commands Listed by F unction Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode Print LF Print and line feed Executing   Print FF Print and return to standar d mode (in page mode) Executing Ignored  Print CR Print and carriage return Executing   Print ESC FF Print[...]

  • Page 25

    Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode Character ESC M Select character font Setting   Character ESC R Select an international character set Setting   Character ESC V T urn 90° clockwise rotation mode on/of f Setting   Character ESC t Select charac[...]

  • Page 26

    Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode Bit Image ESC * Select bit-image mode Executing   Bit Image GS * Define downloaded bit image Setting   Bit Image GS / Print downloaded bit image Executing   Bit Image GS v 0 Print raster bit image Executing [...]

  • Page 27

    Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode Kanji FS S Set left- and right-side Kanji character spacing Setting   Kanji FS W T urn quadruple-size mode on/off for Kanji character Setting   Miscellaneous ESC @ Initialize printer Executing Setting   Miscell[...]

  • Page 28

    Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode Set configuration US A RS232 Setting Setting   Set configuration US C Bluetooth setting Setting   Set configuration US G Buzzer control Setting   Set configuration US H A uto power of f duration setting Setting[...]

  • Page 29

    Progr amming Reference VERSAJET Function Ty p e Command Name Command Descriptions Classification St andard Mode Page Mode A ction Command RS A Label lengt h measurement Executing   A ction Command RS B Restore factory default Executing   A ction Command RS E Clear buffer Executing   A ction Command RS F Remote power of f Executing[...]

  • Page 30

    Commands Listed in Alphanumeric Order Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode HT Print Position Horizontal tab Executing   LF Print Print and line feed Executing   FF Print Print and return to st andard mode (in page mode) Executing Ignored  CR Print Pr[...]

  • Page 31

    Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode ESC { Character Turn up side-down printing mode on/of f Setting (  )  ESC D Print Position Set horizontal tab positions Setting   ESC E Character Turn emphasized mode on/of f Setting   ESC G Character Turn doub[...]

  • Page 32

    Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode FS - Kanji Turn underline mode on/of f for Kanji characters Setting   FS 2 Kanji Define user-defined Kanji characters Setting   FS S Kanji Set left- and right-side Kanji character spacing Setting   FS W Kanji T[...]

  • Page 33

    Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode GS H Bar Code Select printing position of Human Readable Interpretation (HRI) characters Setting   GS I Miscellaneous Transmit printer ID Executing   GS L Print Position Set left margin Setting (  )  GS P Misce[...]

  • Page 34

    Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode RS J A ction Rewind command (back feed) Executing   RS L A ction Print self-test (pre-defined) Executing   RS a T ext Format Bit-map text format setting Setting   RS e Linear bar code 1D bar code generic settin[...]

  • Page 35

    Progr amming Reference VERSAJET Command Name Function Ty p e Command Descriptions Classification St andard Mode Page Mode US A Set Configuration RS232 setting Setting   US C Set Configuration Bluetooth setting Setting   US G Set Configuration Buzzer control Setting   US H Set Configuration A uto power of f duration setting Setting[...]

  • Page 36

    Command Descriptions Progr amming Reference VERSAJET This section contains the command codes for the V ersaJ et which allows you to co nfigure your printer for particular application to match your specific requirements. Each command begins on a sep arate page with its own heading to help you find the key information about each command. 28[...]

  • Page 37

    HT Progr amming Reference VERSAJET [Name] Horizontal tab [Format] ASCII HT Hex 09 Decimal 9 [Range] None [Default] None [Description] Moves the printing pos ition to the next horizontal tab. [Notes]  This command is ignored unless the next horizontal tab position has been set.  Horizontal tab positions are set by ESC D .  If the next horiz[...]

  • Page 38

    LF Progr amming Reference VERSAJET [Name] Print and line feed [Format] ASCII LF Hex 0A Decimal 10 [Range] None [Default] None [Description] Prints the data in the print buf fer and feed one line [Notes]  The amount of paper feed per line is based on the value set using the line spacing command ( ESC 2 or ESC 3 ).  After printing, the print po[...]

  • Page 39

    FF (in p age mode) Progr amming Reference VERSAJET [Name] Print and return to standard mode [Format] ASCII FF Hex 0C Decimal 12 [Range] None [Default] None [Description] In page mode, prints the dat a in the prin ter buffer collectively and returns to st andard mode. [Notes]  This command is enabled only in page mode. Page mode can be selected b[...]

  • Page 40

    CR Progr amming Reference VERSAJET [Name] Printing and carriage return [Format] ASCII CR Hex 0D Decimal 13 [Range] None [Default] None [Description] Executes printing and one line feed as LF . [Notes]  After printing, the printing position mo ves to the beginning of the line.  When a left margin is set, the position of the left margin is the [...]

  • Page 41

    CAN Progr amming Reference VERSAJET [Name] Cancel printing data in p age mode [Format] ASCII CAN Hex 18 Decimal 24 [Range] None [Default] None [Description] In page mode, deletes all the print data for the current printing area. [Notes]  This command is only enabled in page mode.  If data set in the previously specified printing area is set i[...]

  • Page 42

    ESC FF Progr amming Reference VERSAJET [Name] Print data in p age mode [Format] ASCII ESC FF Hex 1B 0C Decimal 27 12 [Range] None [Default] None [Description] In page mode, prints all buf fe red data in the printable area collectively . [Notes]  This command is enabled only in page mode. Page mode can be selected by ESC L .  After printing, t[...]

  • Page 43

    ESC SP Progr amming Reference VERSAJET [Name] Set right-side character spacing [Format] ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n [Range] 0 ≦ n ≦ 255 [Default] n = 0 [Description] Sets the right-side character spacing to n x (horizont al or vertical motion unit). [Notes]  The character spacing set by this command is ef fective for alphanume[...]

  • Page 44

    ESC ! Progr amming Reference VERSAJET [Name] Select print mode(s) [Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n [Range] 0 ≦ n 255 ≦ [Default] n = 0 [Description] Selects print mode(s) using n as follows: Bit Off/On Hex Decimal Function Off 00 0 Character font A (12 × 24). 0 On 01 1 Character font B (9 × 24). 1 - - Undefined. 2 - - Undefi[...]

  • Page 45

    ESC $ Progr amming Reference VERSAJET [Name] Set absolute print position [Format] ASCII ESC $ nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH [Range] 0 ≦ nL 255, 0 ≦≦ nH 255 ≦ [Default] None [Description] Sets the print st arting position to ( nL + nH x256) x (horiz ontal or vert ical motion unit) from the beginning of the line. [Notes]  The p[...]

  • Page 46

    ESC % Progr amming Reference VERSAJET [Name] Select/cancel user-defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 ≦ n ≦ 255 [Default] n = 0 [Description] Selects or cancels user-defined character set.  When the LSB of n is 0, the user-defined character set is canceled.  When the LSB of n is 1, the user-def[...]

  • Page 47

    ESC & Progr amming Reference VERSAJET [Name] Define user-defined characters [Format] ASCII ESC & y c1 c2 [ x1 d1 d ( y x x1 )] [ xk d1 d ( y x xk )] Hex 1B 26 y c1 c2 [ x1 d1 d ( y x x1 )] [ xk d1 d ( y x xk )] Decimal 27 38 y c1 c2 [ x1 d1 d ( y x x1 )] [ xk d1 d ( y x xk )] [Range] y = 3 32 ≦ c1 ≦ c2 126 ≦ 0 ≦ x 12(Font A ≦ - 12[...]

  • Page 48

     When the value of y , c1 , c2 , or x is out of the range, this command is canceled, and the following data is processed as normal dat a. Progr amming Reference VERSAJET  This command can define user-defined characters for each font independently . T o select a font, use ESC ! or ESC M .  A user-defined character , downloaded graphics, and[...]

  • Page 49

    ESC * Progr amming Reference VERSAJET [Name] Select bit-image mode [Format] ASCII ESC * m nL nH d1dk Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk [Range] m = 0, 1, 32, 33 0 ≦ nL ≦ 255 0 ≦ nH ≦ 3 0 ≦ d 255 ≦ k = nL + nH x 256 [in case of m = 0, 1] k = nL + nH x 256 x 3 [in case of m = 32, 33] [Description] Selects a bit-image mode[...]

  • Page 50

    Progr amming Reference VERSAJET [Notes]  Data ( d ) specifies a bit printed to 1 and not printed to 0.   If the bit image data exceeds the number of dot s to be printed on a line, the excess data is ignored.  The bit-image is not affected by print m ode(emphasized, double-strike, underline, character size, white/black reverse printing , or [...]

  • Page 51

    ESC - Progr amming Reference VERSAJET [Name] T urn underline mode on/off [Format] ASCII ESC - n Hex 1B 2D n Decimal 27 45 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] T urns underline mode on or off, based on the following values of n : n Function 0, 48 Tu rns off underline mode 1, 49 Tu rns on underline mode (1-dot thick)[...]

  • Page 52

    ESC 2 Progr amming Reference VERSAJET [Name] Select default line spacing [Format] ASCII ESC 2 Hex 1B 32 Decimal 27 50 [Range] None [Default] None [Description] Sets the line spacing to the “default line sp acing”. [Notes]  The line sp acing can be independently in standard and p age mode.  In standard mode this command sets the line sp ac[...]

  • Page 53

    ESC 3 Progr amming Reference VERSAJET [Name] Set line spacing [Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n [Range] 30 ≦ n ≦ 255 [Default] Amount of line spacing which corresponds to “default line sp acing” (See ESC 2 for the line spacing). [Description] Set the line spacing to n x (vertical or horizontal motion unit). [Notes]  The [...]

  • Page 54

    ESC ? Progr amming Reference VERSAJET [Name] Cancel user-defined characters [Format] ASCII ESC ? n Hex 1B 3F n Decimal 27 63 n [Range] 32 ≦ n ≦ 126 [Default] None [Description] Cancels the user-defined char acters defined for the character code n . [Notes]  After user-defined characters are canceled, the resident character set is printed. ?[...]

  • Page 55

    ESC @ Progr amming Reference VERSAJET [Name] Initialize printer [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Range] None [Default] None [Description] The data in the print buffer is cleared, and the printer mode(s) is reset to the mode that was in effect when the power was turned on.  Any macro definitions are not cleared.  Contents of user [...]

  • Page 56

    ESC { Progr amming Reference VERSAJET [Name] T urn upside-down printing mode on/ff [Format] ASCII ESC { n Hex 1B 7B n Decimal 27 123 n [Range] 0 ≦ n 255 ≦ [Default] n = 0 [Description] In standard mode, turns upside-down printing mode on/of f  When the LSB of n is 0, upside-down mode is turned of f.  When the LSB of n is 1, upside-down mo[...]

  • Page 57

    ESC D Progr amming Reference VERSAJET [Name] Set horizontal t ab positions [Format] ASCII ESC D n …nk NUL Hex 1B 44 n1…nk 0 Decimal 27 68 n1…nk 0 [Range] 1 ≦ n 255 ≦ 0 ≦ k 32 ≦ [D efault] n = 8,16,24,32 (Every eight characters for the default font set by ESC ! or ESC M ) [Description] Sets a horizontal t ab to n columns from the begin[...]

  • Page 58

    Progr amming Reference VERSAJET  When [ n ] is less than or equal to the preceding value [ n ] k -1, horizontal t ab setting is finished, and the following data is processed as normal dat a.  k is not transmission data to the printer .  Even if the character width is changed af ter se tting the horizontal tab position, the setting of the h[...]

  • Page 59

    ESC E Progr amming Reference VERSAJET [Name] T urn emphasized mode on/ff [Format] ASCII ESC E n Hex 1B 45 n Decimal 27 69 n [Range] 0 ≦ n 255 ≦ [Default] n = 0 [Description] T urns emphasized mode on/ff  When the LSB of n is 0, emphasized mode is turned off.  When the LSB of n is 1, emphasized mode is turned on. [Notes]  This mode is e[...]

  • Page 60

    ESC G Progr amming Reference VERSAJET [Name] T urn double-strike mode on/ff [Format] ASCII ESC G n Hex 1B 47 n Decimal 27 71 n [Range] 0 ≦ n 255 ≦ [Default] n = 0 [Description] T urns double-strike mode on/off [Notes]  When the LSB of n is 0, double-strike mode is turned off.  When the LSB of n is 1, double-strike mode is turned on. 52[...]

  • Page 61

    ESC J Progr amming Reference VERSAJET [Name] Print and feed paper [Format] ASCII ESC J n Hex 1B 4A n Decimal 27 74 n [Range] 0 ≦ n ≦ 255 [Default] None [Description] Prints the data in the print buf fer and feeds the paper n x (vertical or horizont al motion unit). [Notes]  The maximum paper feed amount is 160mm. If the specified amount exce[...]

  • Page 62

    Progr amming Reference VERSAJET  When this command is processed in page mode, only the printing position moves, and the printer does not perform actual printing.  This command is used to temporarily feed a specific length without changing the line spacing set by other commands. 54[...]

  • Page 63

    ESC L Progr amming Reference VERSAJET [Name] Select page mode [Format] ASCII ESC L Hex 1B 4C Decimal 27 76 [Range] None [Default] None [Description] Switches from standard mode to page mode. [Notes]  This command is only enabled when processed at the beginning of the line in standard mode. In other cases, this command is ignored.  The printin[...]

  • Page 64

    Progr amming Reference VERSAJET  S tandard mode is selected as the default.  In page mode, the printer print s the data in th e print buffer for the printing area specified by ESC W collectively by FF or ESC FF . When executing the print and paper feed commands, such as LF , CR , ESC J and ESC d , only the printing position moves, and the pri[...]

  • Page 65

    ESC M Progr amming Reference VERSAJET [Name] Select character font [Format] ASCII ESC M n Hex 1B 4D n Decimal 27 77 n [Range] 0, 1, 48, 49 [Default] n = 0 [Description] Selects a character font, using n as follows: n Function 0, 48 Font A 1, 49 Font B [Notes]  This mode is effective for alphanumeric, Kana, multilingual and user-defined character[...]

  • Page 66

    ESC R Progr amming Reference VERSAJET [Name] Select an international character set [Format] ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 ≦ n 10 ≦ [Default] n = 0 [Description] Select an international character set n as follows: ASCII code Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E n Country Dec 35 36 64 91 92 93 94 96 123 124 125 126 0 U.S.[...]

  • Page 67

    ESC S Progr amming Reference VERSAJET [Name] Select standard mode [Format] ASCII ESC S Hex 1B 53 Decimal 27 83 [Range] None [Default] None [Description] Switches from page mode to st andard mode. [Notes]  This command is only enabled in page mode. Page mode can be selected by ESC L .  When this command is executed, data in all the printing ar[...]

  • Page 68

    ESC T Progr amming Reference VERSAJET A → D ↓ p r i n t i n g a r e a ↑ B ← C [Name] Select print direction in page mode [Format] ASCII ESC T n Hex 1B 54 n Decimal 27 84 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] In page mode, selects the pr int direction and st arting position, using n as follows: n Printing Dir[...]

  • Page 69

    Progr amming Reference VERSAJET  This command setting has no effect in st andard mode. If this command is processed in standard mode, an internal flag is activated, and this flag is enabled when the printer selects p age mode.  The parameters for the horizont al or vertical motion unit differ , depending on the starting position of the printi[...]

  • Page 70

    ESC V Progr amming Reference VERSAJET [Name] T urn 90° clockwise rotation mode on/off [Format] ASCII ESC V n Hex 1B 56 n Decimal 27 86 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] In standard mode, turns 90° clockwise rotation mode on or of f, using n as follows: n Function 0, 48 T urns off 90° clockwise rot ation mode 1, 49 T urns o[...]

  • Page 71

    ESC W Progr amming Reference VERSAJET [Name] Set printable area in p age mode [Format] ASCII ESC W xL xH yL yH dxL dxH dyL dyH Hex 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH [Range] 0 ≦ xL , xH , yL , yH 255 (except for ≦ dxL = dxH = 0 or dyL = dyH = 0) [Default] Horizontal logical origin and vertical logical or[...]

  • Page 72

    Progr amming Reference VERSAJET  If [horizontal logical origin + printing area wid th] exceeds the print able area, the printing area width is automatically set to [horizont al printable area – horizont al logical origin].  If [vertical logical origin + printing area height] exceeds the printable area, the printing area height is automatica[...]

  • Page 73

    Progr amming Reference VERSAJET paper ………………………….xLxH , yL yH page mode range ………………………… dxLdxH dyLdyH 65[...]

  • Page 74

    ESC Progr amming Reference VERSAJET [Name] Set relative print position [Format] ASCII ESC nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH [Range] 0 ≦ nL 255, 0 ≦≦ nH 255 ≦ [Description] Moves the print starting position to ( nL + nH x256) x (horizontal or vertical motion unit) from the current position. [Notes]  The printer ignores any set[...]

  • Page 75

    ESC a Progr amming Reference VERSAJET [Name] Select justification [Format] ASCII ESC a n Hex 1B 61 n Decimal 27 97 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] In standard mode, aligns all the dat a in one line to a specified position, using n as follows: n Function 0, 48 Left justification 1, 49 Centered 2, 50 Right justi[...]

  • Page 76

    ESC d Progr amming Reference VERSAJET [Name] Print and feed n lines [Format] ASCII ESC d n Hex 1B 64 n Decimal 27 100 n [Range] 0 ≦ n ≦ 255 [Default] None [Description] Prints the data in the print buf fer and feeds n lines. [Notes]  The amount paper fed per line is based on th e value set using the line sp acing command ( ESC 2 or ESC 3 ). [...]

  • Page 77

    ESC t Progr amming Reference VERSAJET [Name] Select character code table [Format] ASCII ESC t n Hex 1B 74 n Decimal 27 1 16 n [Range] 0 ≤ n ≤ 5, n =16 [Default] n = 0 [Description] Select a page n from the character code table as follows: n Character Code T able 0 PC437(U.S.A., S tandard Europe) 1 Katakana 2 PC850(Multilingual) 3 PC860(Portugue[...]

  • Page 78

    FS ! Progr amming Reference VERSAJET [Name] Select print mode(s) for Kanji characters [Format] ASCII FS ! n Hex 1C 21 n Decimal 28 33 n [Range] 0 ≦ n 255 ≦ [Description] Set the print mode(double-width mode, do uble-height mode and Kanji underline mode) for Kanji characters, using n as follows: Bit Function Off/On Hex Decimal 0 Reserved Off 00 [...]

  • Page 79

    Progr amming Reference VERSAJET [Notes]  When both double-height and double-width modes are selected (including right- and left-side character spacing), quadruple size characters are printed.  The printer can underline all characters (including right – and left –side character spacing), but cannot underline the space set by HT or 90° clo[...]

  • Page 80

    FS & Progr amming Reference VERSAJET [Name] Select Kanji character mode [Format] ASCII FS & Hex 1C 26 Decimal 28 38 [Description] Selects Kanji character mode. [Notes]  Kanji codes are processed in order of the first byte and the second byte.  The settings of this command are effective until ESC @ is executed, the printer is reset, or[...]

  • Page 81

    FS - Progr amming Reference VERSAJET [Name] T urn underline mode on/off for Kanji characters [Format] ASCII FS - n Hex 1C 2D n Decimal 28 45 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] T urns underline mode on or off for Ka nji characters, based on the following values of n: n Function 0, 48 Tu rns off underline mode for [...]

  • Page 82

    FS 2 Progr amming Reference VERSAJET [Name] Define user-defined Kanji characters [Format] ASCII FS 2 c1 c2 d1...dk Hex 1C 32 c1 c2 d1...dk Decimal 28 50 c1 c2 d1...dk [Range] c1 = FFH, 40H ≤ c2 ≤ 7EH, 80H ≤ c2 ≤ 9FH (Kanji font 24 x 24) c1 = FEH, A1H ≤ c2 ≤ FEH (T raditional/Simplified Chinese font 24x24) 0 ≤ d ≤ 255, k = 72 [Descri[...]

  • Page 83

    FS S Progr amming Reference VERSAJET [Name] Set left- and right-side Kanji character sp acing [Format] ASCII FS S n1 n2 Hex 1C 53 n1 n2 Decimal 28 83 n1 n2 [Range] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Default] n1 = 0, n2 = 0 [Description] Sets left- and right-side Kanji characters sp acing n1 and n2 . When the printer model used supports GS P , the [...]

  • Page 84

    Progr amming Reference VERSAJET  In page mode, the horizont al or vertical moti on unit differs in p age mode, depending on starting position of the print able area as follows:  When the starting position is set to the upper le ft or lower right of the printable area using ESC T , the horizontal motion unit (x) is used.  When the starting [...]

  • Page 85

    FS W Progr amming Reference VERSAJET [Name] T urn quadruple-size mode on/off for Kanji characters [Format] ASCII FS W n Hex 1C 57 n Decimal 28 87 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] T urn quadruple-size mode on or off for Kanji characters. When the LSB of n is 0, quadruple-size mode fo r Kanji characters is turned of f and norma[...]

  • Page 86

    FS p Progr amming Reference VERSAJET [Name] Read the image file from flash memory [Format] ASCII FS p n m Hex 1C 70 n m Decimal 28 1 12 n m [Range] 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Description] Prints a NV bit image n using the mode specified by m . m Mode Scaling for horizontal Scaling for vertical 0, 48 Normal × 1 × 1 1, 49 Doubl[...]

  • Page 87

    FS q Progr amming Reference VERSAJET [Name] Define image, write to flash memory [Format] ASCII FS q n [ xL xH yL yH d1 dk ] 1 [ xL xH yL yH d1 dk ] n Hex 1C 71 n [ xL xH yL yH d1 dk ] 1 [ xL xH yL yH d1 dk ] n Decimal 28 1 13 n [ xL xH yL yH d1 dk ] 1 [ xL xH yL yH d1 dk ] n [Range] 1 ≤ n ≤ 255 1 ≤ ( xL + xH  256) ≤ 48 (0 ≤ xL ≤ 48, [...]

  • Page 88

    Progr amming Reference VERSAJET [Notes]  NV bit image means a bit image which is defined in a non-volatile memory . The NV bit image defined is effective until t he next NV bit image is defined.  In standard mode, this command is ef fective only when processed at the beginning of the line.  k bytes data of d1.. . dk is processed as a defin[...]

  • Page 89

    Progr amming Reference VERSAJET  Data is written to the non-volatile memory by this command. Note the following when using this command.  The printer is BUSY when writing the data to the non-volatile memory . In this case, be sure not to transmit data from the host because the printer does not receive dat a.  Excessive use of this function[...]

  • Page 90

    GS ! Progr amming Reference VERSAJET [Name] Select character size [Format] ASCII GS ! n Hex 1D 21 n Decimal 29 33 n [Range] 0 ≦ n 7, 16 ≦≦ n 23, 32 ≦≦ n 39, 48 ≦≦ n 55, 64 ≦≦ n 71, 80 ≦≦ n 87, ≦ 96 ≦ n 103, 112 ≦≦ n 119 (1 height 8, 1 width 8) ≦≦ ≦ ≦ ≦ [Default] n = 0 [Description] Selects the character heigh[...]

  • Page 91

    Progr amming Reference VERSAJET Character height selection Bit 2 Bit 1 Bit 0 Hex Decimal Height Off Off Of f 00 0 1(normal) Off Off On 01 1 2(double-height) Off On Off 02 2 3 Off On On 03 3 4 On Off Off 04 4 5 On Off On 05 5 6 On On Off 06 6 7 On On On 07 7 8 [Notes]  The character size set by this command is ef fective for alphanumeric, Kana, m[...]

  • Page 92

    Progr amming Reference VERSAJET  In page mode, double-height and double-wid th are on the character orientation.   The setting of the character size of alph anum eric and Katakana is ef fective until ESC ! or ESC @ is executed, the printer is reset, or the power is turned off.  The setting of the character size of Kanji and multilingual cha[...]

  • Page 93

    GS $ Progr amming Reference VERSAJET [Name] Set absolute vertical print position in page mode [Format] ASCII GS $ nL nH Hex 1D 24 nL nH Decimal 29 36 nL nH [Range] 0 ≦ nL 255 , ≦ 0 ≦ nH 255 ≦ [Default] None [Description] Sets the print st arting position to ( nL + nH x256) x (horiz ontal or vert ical motion unit) from the starting position [...]

  • Page 94

    GS ( K Progr amming Reference VERSAJET [Name] Select printing control [Description] Selects printing control as follows:  Function is specified by the function code fn . fn Function 49 Function 49 Selects printing density  pL and pH specify parameter number af ter fn to ( pL + pH x 256) bytes. [Notes]  This command decides the function acc[...]

  • Page 95

    GS ( K <Function 49> Progr amming Reference VERSAJET [Name] Selects printing density [Format] ASCII GS ( K pL pH fn m Hex 1D 28 4B 02 00 31 m Decimal 29 40 75 2 0 49 m [Range] ( pL + pH x 256) = 2 ( pL = 2, pH = 0 ) fn = 49, 0 ≤ m ≤ 15 [Default] m = 8 [Description] Selects printing control mode by m . m Function m < 8 Selects p ale den[...]

  • Page 96

    GS ( k Progr amming Reference VERSAJET [Name] S pecify and print the symbol [Format] ASCII GS ( k Hex 1D 28 6B Decimal 29 40 107 [Description] Processes the data concerning two-di mensional code. (PDF417, QR Code, MaxiCode).  Symbol type is specified by cn ; Function is specified by fn . cn fn Function 65 Function 065 PDF 417: S pecify the numbe[...]

  • Page 97

    Progr amming Reference VERSAJET cn fn Function 65 Function 765 Datamatrix: S pecify the number of columns 66 Function 766 Datamatrix: S pecify the number of rows 67 Function 767 Datamatrix: S pecify the width of module 68 Function 768 Datamatrix: S pecify the Bar Code T ype 69 Function 769 Datamatrix: S pecify the Data Mode 80 Function 780 Datamatr[...]

  • Page 98

    Progr amming Reference VERSAJET [Notes]  The function is specified with the function code ( fn ). Details of the performance dif fer according to the function. For processing of PDF417 symbol dat a (w hen cn = 48)  The symbol data specified by Function 080 d1 ... dk is stored in the printer and is printed by the specification of Function 081.[...]

  • Page 99

    Progr amming Reference VERSAJET For process of QR Code symbol (when cn = 49)  The symbol data specified by Function 080 d1 ... dk is stored in the printer and is printed by the specification of Function 081. The symbo l data in the save area is reserved until the following processing is performed:  Function 080 or 180 or 980 is executed.  [...]

  • Page 100

    GS ( k PDF417<Function 065> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 30 41 n Decimal 29 40 107 3 00 48 65 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 48, fn = 65 0 ≤ n ≤ 30 [Default] n = 0 [Description] S pecifies the number of co lumns of the data area of PDF417.  n = 0 specifies a[...]

  • Page 101

    GS ( k PDF417<Function 066> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 30 42 n Decimal 29 40 107 03 00 48 66 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 48, fn = 66 n = 0, 3 ≤ n ≤ 90 [Default] n = 0 [Description] S pecifies the number of rows of the data area of PDF417.  n = 0 specifi[...]

  • Page 102

    GS ( k PDF417<Function 067> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 30 43 n Decimal 29 40 107 03 00 48 67 n [Range] ( pL + pH x 256) = 3 ( pL =3 , pH =0 ) cn = 48 , fn = 67 1 ≤ n ≤ 5 [Default] n = 2 [Description] S pecifies the width of a module of PDF417 symbol. [Notes]  Settings of this [...]

  • Page 103

    GS ( k PDF417<Function 068> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 30 44 n Decimal 29 40 107 03 00 48 68 n [Range] ( pL + pH x256) = 3 ( pL =3, pH =0) cn = 48, fn = 68, 5 ≤ n ≤ 100 [Default] n = 5 [Description] Specifies the height of a module of PDF417 symbol. [Notes]  Settings of this f[...]

  • Page 104

    GS ( k PDF417<Function 069> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m n Hex 1D 28 6B 04 00 30 45 m n Decimal 29 40 107 04 00 48 69 m n [Range] ( pL + pH x 256) = 4 ( pL = 4, pH =0) cn = 48, fn = 69 m = 48 48 ≤ n ≤ 56 [ m = 48] [Default] m = 48 , n = 48 [Description] S pecifies the error correction level of PDF417[...]

  • Page 105

    Progr amming Reference VERSAJET  The error correction code word calculated by modulus 929.  Settings of this function are effective until ESC @ is ex ecuted, the printer is reset, or the power is turned off. 97[...]

  • Page 106

    GS ( k PDF417<Function 080> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Hex 1D 28 6B pL pH 30 50 30 d1 dk Decimal 29 40 107 pL pH 48 80 48 d1 dk [Range] 4 ≤ ( pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) cn = 48, fn = 80, m = 48, 0 ≤ d ≤ 255, k = ( pL + pH x256) – 3 [Description] S tores [...]

  • Page 107

    GS ( k PDF417<Function 081> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m Hex 1D 28 6B 03 00 30 51 m Decimal 29 40 107 03 00 48 81 m [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 48, fn = 81 m = 48 [Description] Encodes and prints the PDF417 symbol data in the symbol save area. [Notes]  If there is any error des[...]

  • Page 108

    Progr amming Reference VERSAJET  The data area includes the following code words.  Data specified by Function 080.  The descriptor of symbol length (the fi rst code word in the dat a area).  The error correction code word calculated by modulus 929.  Pad codeword.  This command is effective only in Page mode. 100[...]

  • Page 109

    GS ( k QR Code<Function 165> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n1 n2 Hex 1D 28 6B 04 00 31 41 n1 n2 Decimal 29 40 107 04 00 49 65 n1 n2 [Range] ( pL + pH x256) = 4 ( pL = 4, pH = 0) cn = 49, fn = 65 n1 = 49, 50, 51 n2 = 0 [Default] n1 = 50, n2 = 0 [Description] S pecifies the model of QR Code. n1 Function 49 S [...]

  • Page 110

    GS ( k QR Code <Function 167> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 31 43 n Decimal 29 40 107 03 00 49 67 n [Range] ( pL + pH X 256) = 3 ( pL = 3, pH = 0) cn = 49, fn = 67 2 ≤ n ≤ 5 [Default] n = 2 [Description] S pecifies the size of a module of QR Code symbol. [Notes]  Settings of this[...]

  • Page 111

    GS ( k QR Code <Function 169> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 31 45 n Decimal 29 40 107 03 00 49 69 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH =0) cn = 49, fn = 69 48 ≤ n ≤ 51 [Default] n = 48 [Description] S pecifies the error correction level of QR Code. n Function Recovery Cap aci[...]

  • Page 112

    GS ( k QR Code <Function 180> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Hex 1D 28 6B pL pH 31 50 30 d1 dk Decimal 29 40 107 pL pH 49 80 48 d1 dk [Range] 4 ≤ ( pL + pH x 256) ≤ 7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) cn = 49, fn = 80 m = 48, 0 ≤ d ≤ 255 k = ( pL + pH x 256) – 3 [Description] S tores t[...]

  • Page 113

    Progr amming Reference VERSAJET  Settings of this function are effective unt il the following processing is performed:  Function 080 or 180 is executed.  ESC @ is executed.  The printer is reset or the power is turned of f. 105[...]

  • Page 114

    GS ( k QR Code <Function 181> Progr amming Reference VERSAJET [Format] ASCII GS ( k p pH cn fn m Hex 1D 28 6B 03 00 31 51 m Decimal 29 40 107 03 00 49 81 m [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 49, fn = 81 m = 48 [Default] None [Description] Encodes and prints the QR Code symbol data in the symbol save area. [Notes]  If there[...]

  • Page 115

    Progr amming Reference VERSAJET  The following data are added automatically by the encode processing.  Position Detection Patterns  Separators for Position Detection Patterns  Timing Patterns  Format Information  V ersion Information  Error Correction code words (employs the Reed-Solomon Error Detection and Correction algorithm[...]

  • Page 116

    GS ( k MaxiCode<Function 265> Progr amming Reference VERSAJET [Format] ASCII GS ( k k pL pH cn fn n Hex 1D 28 6B 03 00 32 41 n Decimal 29 40 107 03 00 50 65 n [Range] ( pL + pH x 256) = 3 ( pL = 3 , pH = 0) cn = 50 fn = 65 50 ≤ n ≤ 54 ( 52~54 not support) [Default] n = 50 [Description] S pecifies the mode of the MaxiCode n Function 50 S p[...]

  • Page 117

    GS ( k MaxiCode <Function 280> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Hex 1D 28 6B pL pH 32 50 30 d1…dk Decimal 29 40 107 pL pH 50 80 48 d1…dk [Range] 4 ≤ ( pL + pH x 256) ≤ 200 (0 ≤ pL ≤ n, 0 ≤ pH ≤ 0) cn = 50 fn = 80 m = 48 0 ≤ d ≤ 255 k = ( pL + pH x 256) – 3 [Description] S tores [...]

  • Page 118

    Progr amming Reference VERSAJET [Data Format] Item Size and T ype ANSI message header [ ]> <RS> Transportation Data Format Header 01 <GS> 96 Ship-To Postal Code 5 or 9 digits in the USA (mode2), up to 6 alphanumeric characters in other countries (mode3). Ship-To Country Code 3 digits (840 for USA) Class of Service 3 digits Tracking N[...]

  • Page 119

    GS ( k MaxiCode <Function 281> Progr amming Reference VERSAJET [Format] ASCII GS (k pL pH cn fn m Hex 1D 28 6B 03 00 32 51 m Decimal 29 40 107 03 00 50 81 m [Range] ( pL + pH x 256) = 3 ( pL =3, pH = 0 ) cn = 50 fn = 81 m = 48 [Default] None [Description] Encodes and prints the MaxiCode symbol data in the symbol save area. [Notes]  If ther[...]

  • Page 120

    GS ( k Dat amatrix <Function 765> Progr amming Reference VERSAJET [Format] ASCII GS (k pL pH cn fn n Hex 1D 28 6B 03 00 37 41 n Decimal 29 40 107 03 00 55 65 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 55 fn = 65 [Default] None [Description] S pecifies the number of colu mns of the data area of Datamatrix. Matrix type Row Column 1 8 1[...]

  • Page 121

    GS ( k Dat amatrix <Function 766> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 37 42 n Decimal 29 40 10703 00 55 66 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 55 fn = 66 [Description] S pecifies the number of rows of the data area of Datamatrix. Matrix type Row Column 1 8 12 2 8 32 3 12 26 4 [...]

  • Page 122

    GS ( k Dat amatrix <Function 767> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 37 43 n Decimal 29 40 107 03 00 55 67 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 55 fn = 67 1 ≤ n ≤ 5 [Default] n = 1 [Description] Specifies the width of a module of Datamatrix symbol. [Notes]  Settings of [...]

  • Page 123

    GS ( k Dat amatrix <Function 768> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 37 44 n Decimal 29 40 107 03 00 55 68 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 55 fn = 68 n = 0 or 1 n Bar Code Type 0 Datamatrix (standard square shape) 1 Datamatrix ECC200 Rectangle Shape [Default] n = 0 [Descr[...]

  • Page 124

    GS ( k Dat amatrix <Function 769> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 37 45 n Decimal 29 40 107 04 00 55 69 n [Range] ( pL + pH x 256) = 3 ( pL =4, pH =0) cn = 55 fn = 69 1 ≤ n ≤ 6 [Default] n = 6 [Description] Specifies the Data mode of Datamatrix. n Dat a mode Description 1 Base 11 nume[...]

  • Page 125

    Progr amming Reference VERSAJET Barcode type: Rectangle Shape Cap acity Row Column number alphanumeric bytes 8 12 10 6 3 8 32 20 13 8 12 26 32 22 14 12 36 44 31 20 16 36 64 46 30 16 48 98 72 47 11 7[...]

  • Page 126

    GS ( k Dat amatrix <Function 780> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Hex 1D 28 6B pL pH 37 50 30 d1…dk Decimal 29 40 107 pL pH 55 80 48 d1…dk [Range] 4 ≤ ( pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) cn = 55 fn = 80 m = 48 0 ≤ d ≤ 255 k = ( pL + pH x 256) – 3 [Description][...]

  • Page 127

    GS ( k Dat amatrix <Function 781> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m Hex 1D 28 6B 03 00 37 51 m Decimal 29 40 107 03 00 55 81 m [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 55 fn = 81 m = 48 [Description] Encodes and prints the Datama trix symbol dat a in the symbol save area. [Notes]  If there is an[...]

  • Page 128

    Progr amming Reference VERSAJET  The data area includes the following code words.  Data specified by Function 780.  The descriptor of symbol length (the first code word in the data area).  The error correction code word calculated by modulus 929.  Pad codeword  ESC T is not effective for QR C ode, Datamatrix, or MaxiCode.  This[...]

  • Page 129

    GS ( k RSS-14 <Function 865> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 04 00 38 41 n Decimal 29 40 107 03 00 56 65 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 56 fn = 65 49 ≤ n ≤ 54 (Hex : 31~36) [Default] n = 49 [Description] S pecify the mode of RSS-14. n Description 49 RSS-14 50 RSS-14 T[...]

  • Page 130

    GS ( k RSS-14 <Function 866> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 04 00 38 42 n Decimal 29 40 107 03 00 56 66 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 56 fn = 65 2 ≤ n ≤ 22 [Default] n = 22 [Description] S pecify the RSS Expanded S tacked Sy mbol to define its number of segment per [...]

  • Page 131

    GS ( k RSS-14 <Function 867> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 04 00 38 43 n Decimal 29 40 107 03 00 56 67 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 56 fn = 67 1 ≤ n ≤ 255 [Default] n = 2 [Description] S pecifies the width of narrow element size of a module of RSS-14 symbol. [Note[...]

  • Page 132

    GS ( k RSS-14 <Function 868> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 04 00 38 44 n Decimal 29 40 107 03 00 56 68 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 56 fn = 68 1 ≤ n ≤ 255 [Default] n = 2 [Description] S pecifies the Height of separator of RSS-14 symbol. [Notes]  Settings of th[...]

  • Page 133

    GS ( k RSS-14 <Function 880> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Hex 1D 28 6B pL pH 38 50 30 d1…dk Decimal 29 40 107 pL pH 56 80 48 d1…dk [Range] (4 ≤ ( pL + pH x 256) ≤ 2437 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 9) cn = 56 fn = 80 m = 48 0 ≤ d ≤ 255 k = ( pL + pH x 256) – 3 [Description] S tore[...]

  • Page 134

     2D Composite Component Progr amming Reference VERSAJET CC-A capacity  56 characters. CC-B capacity  338 characters.  For RSS-14 and RSS LIMIT , the printer automatically adds a check character at 14th digit when print.  Following table shows data type and dat a capacity for each RSS symbol. RSS Symbol Ty pe Data Type Data Capacity ?[...]

  • Page 135

    GS ( k RSS-14 <Function 881> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m Hex 1D 28 6B 03 00 38 51 m Decimal 29 40 107 03 00 56 81 m [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0 ) cn = 56 fn = 81 m = 48 [Default] None [Description] Encodes and prints the R SS-14 symbol data in the symbol save area. [Notes]  If there[...]

  • Page 136

    GS ( k Code49 <Function 967> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 39 43 n Decimal 29 40 107 3 00 57 67 n [Range] ( pL + pH x256) = 3 ( pL = 3, pH = 0) cn = 57, fn = 67 1 ≤ n ≤ 255 [Default] n = 2 [Description] S pecifies the width of narrow element. [Notes]  Settings of this function af[...]

  • Page 137

    GS ( k Code49 <Function 968> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn n Hex 1D 28 6B 03 00 39 44 n Decimal 29 40 107 3 00 57 68 n [Range] ( pL + pH x 256) = 3 ( pL = 3, pH =0) cn = 57, fn = 68 1 ≤ n ≤ 255 [Default] n = 16 [Description] S pecify the height of one row . [Notes]  Settings of this function affect t[...]

  • Page 138

    GS ( k Code49 <Function 980> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Hex 1D 28 6B pL pH 39 50 30 d1 dk Decimal 29 40 107 pL pH 57 80 48 d1 dk [Range] 4 ≤ ( pL + pH x 256) ≤ 81 (1 ≤ pL ≤ 81 , pH = 0 ) cn = 57, fn = 80 m = 48, 0 ≤ d ≤ 255 k = ( pL + pH x 256) – 3 Description 〕 S tores the Code49[...]

  • Page 139

    Progr amming Reference VERSAJET  Data cap acity  Characters: The characters can’t exceed 49 bytes. Following characters will spend one byte, the others will spend two bytes. V alue Character V aule Character 0 0 25 P 1 1 26 Q 2 2 27 R 3 3 28 S 4 4 29 T 5 5 30 U 6 6 31 V 7 7 32 W 8 8 33 X 9 9 34 Y 10 A 35 Z 1 1 B 36 - 12 C 37 . 13 D 38 SP AC[...]

  • Page 140

    Progr amming Reference VERSAJET For example: (1) “123ABC” ;  6 bytes (2) “123abc” ;  3 + 3*2 = 9 bytes  Numeric  The numeric can’t exceed 81 bytes.  Settings of this function are effective unt il the following processing is performed.  Function 080 or 180 or 280 or 780 or 880 or 980 is executed  ESC @ is executed  [...]

  • Page 141

    GS ( k Code49 <Function 981> Progr amming Reference VERSAJET [Format] ASCII GS ( k pL pH cn fn m Hex 1D 28 6B 03 00 39 51 m Decimal 29 40 107 3 00 57 81 m [Description] Encodes and prints the Code49 symbol dat a in the symbol save area.  There is no data (Function 980 is not processed). [Range] ( pL + pH x 256) = 3 ( pL = 3, pH = 0) cn = 5[...]

  • Page 142

    GS * Progr amming Reference VERSAJET [Name] Define downloaded bit image [Format] ASCII GS * x y d1 … d(x x y x 8) Hex 1D 2A x y d1… d(x x y x 8) Decimal 29 42 x y d1… d(x x y x 8) [Range] 1 ≦ x ≦ 255 1 ≦ y 48 ≦ 0 d 255 ≦ ≦ k = x x y x 8 [Default] None [Description] Defines a downloaded bit image.  x specifies the size of a bit [...]

  • Page 143

    Progr amming Reference VERSAJET  Once a downloaded bit image has been defined, it is maintained until another definition is made, ESC & or ESC @ is executed, the printer is reset, or the power is turned of f.  A downloaded bit image and a user-defined char acter cannot be defined simultaneously . When this command is executed, the user-de[...]

  • Page 144

    Progr amming Reference VERSAJET GS / [Name] Print downloaded bit image [Format] ASCII GS / n Hex 1D 2F n Decimal 29 47 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] Prints a downloaded bit image using the mode specified by n . n selects a mode from the table below: n Mode 0, 48 Normal 1, 49 Double-width 2, 50 Double-height [...]

  • Page 145

    Progr amming Reference VERSAJET  If the printing area width set by GS L and GS W is less than one line in vertical, the following processing is performed only on the line in question:  The printing area wid th is extended to the right up to one line in vertical. In this case, printing does not exceed the printable area.  If the printing ar[...]

  • Page 146

    GS : Progr amming Reference VERSAJET [Name] S tart/end macro definition [Format] ASCII GS : Hex 1D 3A Decimal 29 58 [Range] None [Default] None [Description] S tarts or ends macro definition [Notes]  Macro definition starts when this command is processed during normal operation and ends when it is processed during macro definition.  While the[...]

  • Page 147

    Progr amming Reference VERSAJET  Macro is not defined when the power is turned on.    The following commands cannot be contained in a macro. Do not use these commands while the macro is being defined: FS q , GS ^ , and GS v 0 . 139[...]

  • Page 148

    Progr amming Reference VERSAJET GS ^ [Name] Execute macro [Format] ASCII GS ^ r t m Hex 1D 5E r t m Decimal 29 94 r t m [Range] 1 ≦ r ≦ 255 0 ≦ t ≦ 255 m = 0, 1 [Default] None [Description] Executes a macro r times while waiting t x 100 msec for each macro execution, using the mode specified by m as follows:  When m = 0, the macro execut[...]

  • Page 149

    Progr amming Reference VERSAJET  Macro function is useful to print the same da ta repeatedly . T o define a macro definition, send GS : just before and af ter the data desired to be repeated. And then execute macro by using GS ^ to print the same data repeatedly . Macro function eliminates the need for sending all the print data every time. 141[...]

  • Page 150

    GS B Progr amming Reference VERSAJET [Name] T urn white/black reverse printing mode on/ff [Format] ASCII GS B n Hex 1D 42 n Decimal 29 66 n [Range] 0 ≦ n 255 ≦ [Default] n = 0 [Description] T urns white/black reverse printing mode on/ff  When the LSB of n is 0, white/black reverse printing mode is turned off.  When the LSB of n is 1, whit[...]

  • Page 151

    GS C 0 Progr amming Reference VERSAJET [Name] Select counter print mode [Format] ASCII GS C 0 n m Hex 1D 43 30 n m Decimal 29 67 48 n m [Range] 0 ≤ n ≤ 5, 0 ≤ m ≤ 2, 48 ≤ m ≤ 50 [Default] n = 0, m = 0 [Description] Selects a print mode for the serial number counter (the number of prin ted digits and the print position within the entire [...]

  • Page 152

    Progr amming Reference VERSAJET [Notes]  The serial number counter is stored in the print buffer by GS c .  Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off. 144[...]

  • Page 153

    GS C 1 Progr amming Reference VERSAJET [Name] Select counter mode [Format] ASCII GS C 1 aL aH bL bH n r Hex 1D 43 31 aL aH bL bH n r Decimal 29 67 49 aL aH bL bH n r [Range] 0 ≤ ( aL + aH x 256) ≤ 65535 (0 ≤ aL ≤ 255, 0 ≤ aH ≤ 255) 0 ≤ ( bL + bH x 256) ≤ 65535 (0 ≤ bL ≤ 255, 0 ≤ bH ≤ 255) 0 ≤ n ≤ 255 , 0 ≤ r ≤ 255 [D[...]

  • Page 154

    Progr amming Reference VERSAJET [Notes]  In a count-up setting, when the GS c is executed, the counter value exceeds the maximum value( bL + bH x 256), rest art counting from the minimum value ( aL + aH x 256).  In a count-down setting, when GS c is executed, the counter value is below minimum value( bL + bH x 256), restart counting from the [...]

  • Page 155

    Progr amming Reference VERSAJET GS C 2 [Name] Select the serial number counter value [Format] ASCII GS C 2 nL nH Hex 1D 43 32 nL nH Decimal 29 67 50 nL nH [Range] 0 ≤ ( nL + nH x 256) ≤ 65535 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255) [Default] ( nL + nH x 256 ) = 1 ( nL = 1, nH = 0) [Description] Sets the serial number counter value. S pecifies the [...]

  • Page 156

    GS H Progr amming Reference VERSAJET [Name] Select printing position of Hum an Readable Interpretation (HRI) characters [Format] ASCII GS H n Hex 1D 48 n Decimal 29 72 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] Selects whether the printer prints t he HRI character or not and printing position of HRI character when printi[...]

  • Page 157

    GS I Progr amming Reference VERSAJET [Name] T ransmit print IS [Format] ASCII GS I n Hex 1D 49 n Decimal 29 73 n [Range] n = 65 [Default] None [Description] T ransmits printer information, using n as follows: n Printer ID 65 Firmware version [Notes]  With a serial interface printer , be sure to use this function when the host can receive data. ?[...]

  • Page 158

    Progr amming Reference VERSAJET GS L  If the setting exceeds the printable area, the lef t margin is automatically set to the maximum value of the printable area. [Name] Set left margin [Format] ASCII GS L nL nH Hex 1D 4C nL nH Decimal 29 76 nL nH [Range] 0 ( ≦ nL + nH x 256) 65535 (0 ≦≦ nL 255, 0 ≦≦ nH 255) ≦ [Default] ( nL + nH x 2[...]

  • Page 159

    Progr amming Reference VERSAJET  Left margin setting is ef fective until ESC @ is executed, the printer is reset, or the power is turned off.  Left margin position is left edge of the print able area. If left margin setting is changed, lef t edge of the printable area will move. 151[...]

  • Page 160

    GS P Progr amming Reference VERSAJET [Name] Set horizontal and vertical motion unit s [Format] ASCII GS P x y  Commands using y : ESC 3 , ESC J Hex 1D 50 x y Decimal 29 80 x y [Range] 0 ≤ x ≤ 255, 0 ≤ y ≤ 255 [Default] x = 203, y = 203 [Description] Sets the horizontal and vertical motion unit s to 1/ x and 1/ y inch, respectively .  [...]

  • Page 161

    Progr amming Reference VERSAJET  The setting of this command is effective until ESC @ is executed, the printer is reset, or the power is turned off.  The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch.  This command does not affect the current setting values. 153[...]

  • Page 162

    GS W Progr amming Reference VERSAJET [Name] Set printable area wid th [Format] ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH [Range] 0 ( ≦ nL + nH x 256) 65535 (0 ≦≦ nL 255, 0 ≦≦ nH 255) ≦ [Default] nL = 0, nH = 0 [Description] In standard mode, sets the print able area width to ( nL + nH x256) x (horizont al motion unit). [Notes[...]

  • Page 163

    GS Progr amming Reference VERSAJET [Name] Set relative vertical print position in page mode [Format] ASCII GS nL nH Hex 1D 5C nL nH Decimal 29 92 nL nH [Range] 0 ≦ nL 255, 0 ≦≦ nH 255 ≦ [Default] None [Description] In page mode, moves the ve rtical printing starting position to ( nL + nH x256) x (horizontal or vertical motion unit) from[...]

  • Page 164

    GS c Progr amming Reference VERSAJET [Name] Print counter [Format] ASCII GS c  In count-down mode, the counter value is updated as [counter value – increase and decrease value].  The counter print mode is set by GS C 0 . Hex 1D 63 Decimal 29 99 [Range] None [Default] None [Description] Sets the serial counter value in the print buf fer and [...]

  • Page 165

    Progr amming Reference VERSAJET  The counter mode (count-up, count-down, count-stop) and details of counter (maximum value, minimum value, stepping amount of incrementing or decrementing of a counter value, the repetition number of printing) are set by GS C 1 .  The counter value is set by GS C 2 . 157[...]

  • Page 166

    GS f Progr amming Reference VERSAJET [Name] Select font for HRI characters [Format] ASCII GS f n Hex 1D 66 n Decimal 29 102 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] Select s a font for Human Readable Interp retation (HRI) characters when printing a bar code, using n as follows: n Font of HRI characters 0, 48 Font A 1, 49 Font B [Not[...]

  • Page 167

    GS h Progr amming Reference VERSAJET [Name] Set bar code height [Format] ASCII GS h n Hex 1D 68 n Decimal 29 104 n [Range] 1 ≤ n ≤ 255 [Default] n = 162 [Description] Sets the height of a bar code. n specifies number of dots in the vertical direction of a bar code. [Notes] This command setting is ef fective until ESC @ is executed, the printer [...]

  • Page 168

    GS k Progr amming Reference VERSAJET [Name] Print bar code [Format] I. ASCII GS k m d1… dk NULL Hex 1D 6B m d1… dk NULL Decimal 29 107 m d1… dk NULL II. ASCII GS k m n d1… dn Hex 1D 6B m n d1… dn Decimal 29 107 m n d1… dn [Range] I. 0 ≤ m ≤ 6 ( k and d depend on the bar code system used) II. 65 ≤ m ≤ 73 ( n and d depend on the b[...]

  • Page 169

    Progr amming Reference VERSAJET m Bar code system Number of data (k, n) Number of characters Characters Character code (d) 0 UPC-A Fixed 11 ≤ k ≤ 12 0~9 48 ≤ d ≤ 57 1 UPC-E Fixed 11 ≤ k ≤ 12 0~9 48 ≤ d ≤ 57 2 JAN13 (EAN13) Fixed 12 ≤ k ≤ 13 0~9 48 ≤ d ≤ 57 3 JAN8 (EAN8) Fixed 7 ≤ k ≤ 8 0~9 48 ≤ d ≤ 57 4 CODE39 Can be[...]

  • Page 170

    Progr amming Reference VERSAJET [Notes] For I and II  When standard mode is selected, this command is enabled only when the printing position is at the head of a line or when no data exist s in the print buffer .  When page mode is selected, this command develop s the bar code data in the print buffer but the printer does not print the bar co[...]

  • Page 171

    Progr amming Reference VERSAJET For UPC-A (m = 0, 65) process  Modular check character is processed as follows:  Automatically added when processing data is 1 1 bytes.  The 12th byte data is processed as a modu lar check character when processing dat a is 12 bytes. In this case, modular check character is not checked.  Left guard bar/ce[...]

  • Page 172

    Progr amming Reference VERSAJET  Prints a 6-column short code from 10 digit ( d2.d1 1 ) except NSC and modular check characters. Dat a of transmitted by host PC Printing dat a d2 d3 d4 d5 d6 d7 d8 d9 d10 d1 1 0~9 0~9 0 0 0 - - 0~9 0~9 0~9 d2 d3 d9 d10 d1 1 0 0~9 0~9 1 0 0 - - 0~9 0~9 0~9 d2 d3 d9 d10 d1 1 1 0~9 0~9 2 0~9 d2 d9 d1 1 2 0 0 - - 0~9[...]

  • Page 173

    Progr amming Reference VERSAJET For JAN8/EAN8 (m = 3, 68) process  Modular check character is processed as follows:  Automatically added when processing data is 7 bytes.  The 8th byte data is processed as a modular check character when processing dat a is 8 bytes. In this case, modular check character is not checked.  Left guard bar/cen[...]

  • Page 174

    Progr amming Reference VERSAJET For ITF (Interleaved 2 of 5) (m = 5, 70) process  S tart code and stop code are added automatically .  Check digits are not calculated and added. For CODEBAR (NW-7) (m = 6, 71) process  S tart code and stop code are not added automatically . T r ansmit data including the codes.  S pecify the start code (A[...]

  • Page 175

    Progr amming Reference VERSAJET For CODE128 ( m = 73) process  Make sure to specify start character . The st art character must be code set selection character (any of CODE A, CODE B, or CODE C) which selects the first code set.  Character data: It is specified by ASCII code [in hexadecimal: 20H ~ 5FH in decimal: 32~95]  In CODE B, followi[...]

  • Page 176

    Progr amming Reference VERSAJET  S pecial characters are defined by combining two characters "{+ an alphanumeric character . " The ASCII character "{" is defined by transmitting "{" twice consecutively . Transmit data Specific Character ASCII Hex Decimal SHIFT {S 7B, 53 123, 83 CODE A {A 7B, 41 123, 65 CODE B {B 7B,[...]

  • Page 177

    GS v 0 Progr amming Reference VERSAJET [Name] Print raster bit image [Format] ASCII GS v 0 n xL xH yL yH d1 dk [Description] Selects raster bit-image mode. The value of n selects a mode from the t able below: Hex 1D 76 30 n xL xH yL yH d1 dk Decimal 29 1 18 48 n xL xH yL yH d1 dk [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 0 ≤ xL ≤ 255 0 ≤ xH ≤ [...]

  • Page 178

    Progr amming Reference VERSAJET [Notes]  In standard mode, this command is ef fective only when there is no data in the print buffer .  This command has no effect in the print modes (emphasized, double-strike, underline, character size, or white/black reve rse printing) for raster bit image.  If the printing area width set by GS L and GS W[...]

  • Page 179

    GS w Progr amming Reference VERSAJET [Name] Set bar code width [Default] n = 2 [Format] ASCII GS w n Hex 1D 77 n Decimal 29 1 19 n [Range] 1 ≤ n ≤ 6 [Description] Sets the horizontal size of a bar code. n specifies the bar code module wid th. [Notes] This command setting is effective until ESC @ is executed, the printer is reset, or the power i[...]

  • Page 180

    RS A Progr amming Reference VERSAJET [Name] Label length measurement [Format] ASCII RS A Hex 1E 41 Decimal 30 65 [Range] None [Default] None [Description] Label Length Measurement [Notes]  When processing the automatic measurement of the label length, the printer feeds the current roll paper to measure the label length . During this time, the pr[...]

  • Page 181

    RS B Progr amming Reference VERSAJET [Name] Restore factory default [Format] ASCII RS B Hex 1E 42 Decimal 30 66 [Range] None [Default] None [Description] Restore Factory Default. [Notes]  This command will reset the setting values of commands stored in the volatile memory .  Therefore, the printer buffer is cleared, and each setting returns t[...]

  • Page 182

    RS E Progr amming Reference VERSAJET [Name] Clear buffer [Format] ASCII RS E Hex 1E 45 Decimal 30 69 [Range] None [Default] None [Description] Clear buffer [Notes]  If this command is sent while another command is processing, processing of the other command is canceled.  This command does not change or initialize settings of other commands. 1[...]

  • Page 183

    RS F Progr amming Reference VERSAJET [Name] Remote power off [Format] ASCII RS F Hex 1E 46 Decimal 30 70 [Range] None [Default] None [Description] Remote power off [Notes]  This is a real-time command that the printer executes power off processing upon receiving it.  All information and data stored in RAM will be deleted by processing this co[...]

  • Page 184

    RS G Progr amming Reference VERSAJET [Name] Paper feed to T OF position [Format] ASCII RS G Hex 1E 47 Decimal 30 71 [Range] None [Default] None [Description] Paper feed to T OF position. [Description] Paper feed to the print position specified by the paper length measurement is executed. [Notes]  Use this function by using “ the first state of[...]

  • Page 185

    RS J Progr amming Reference VERSAJET [Format] ASCII RS J n [Name] Rewind command (back feed) Hex 1E 4A n Decimal 30 74 n [Range] 10 ≤ n ≤ 100, the unit is 0.1mm. [Default] None [Description] Rewind command (back feed) [Notes]  This command is used to make motor rewind.  The paper feed back is ended when no paper is detected. 177[...]

  • Page 186

    RS L Progr amming Reference VERSAJET [Name] Print self-test [Format] ASCII RS L Hex 1E 4C Decimal 30 76 [Range] None [Default] None [Description] Executes a specified test print. [Notes]  If this command is processed while a macro is being defined, the printer cancels macro definition and start s processing this comma nd. At that time, the macro[...]

  • Page 187

    RS a Progr amming Reference VERSAJET [Name] Bit-map text format setting [Format] ASCII RS a n1 n2 n3 n4 n5 Hex 1E 61 n1 n2 n3 n4 n5 Decimal 30 97 n1 n2 n3 n4 n5 [Range] 0 ≤ n1 ≤ 1 ; 0 ≤ n2 ≤ 2 ; 0 ≤ n3 ≤ 5 ; 0 ≤ n4 ≤ 255 ; 0 ≤ n5 ≤ 1 [Default] n1 = 0 , n2 = 0 , n3 = 0 , n4 = 0 , n5 = 0 [Description] Bit-map text format setting. [...]

  • Page 188

    Progr amming Reference VERSAJET n4 : Character Magnification setup n5 : T urn white/black reverse printing mode on/off n5 Description 0 Disable bold 1 Enable bold 180[...]

  • Page 189

    RS e Progr amming Reference VERSAJET [Name] 1D bar code generic setting [Format] ASCII RS e n1 n2 n3 n4 Hex 1E 65 n1 n2 n3 n4 Decimal 30 101 n1 n2 n3 n4 [Range] 0 ≤ n1 ≤ 3 or 48 ≤ n1 ≤ 51 ; 0 ≤ n2 ≤ 1 or 48 ≤ n2 ≤ 49 ; 1 ≤ n3 ≤ 255 ; 1 ≤ n4 ≤ 6 [Default] n1 = 0 , n2 = 0 , n3 = 162 , n4 = 2 [Description] 1D bar code generic s[...]

  • Page 190

    RS i Progr amming Reference VERSAJET [Name] Draw graphics [Description] Draw graphics specified by the function code fn . fn : Graphic type fn Description 0 Line 1 Box 2 Circle [Notes]  This command decides the function according to the function code ( fn ). Performance of the functions differs, depending on the function.  This command is eff[...]

  • Page 191

    RS i <Function 0> Progr amming Reference VERSAJET [Name] Draw line [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Hex 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range] n1 = 0 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255 0 ≤ w ≤ 255; 0 ≤ pL, pH ≤[...]

  • Page 192

    Progr amming Reference VERSAJET [Notes]  This command can draw lines of flexib le length, thickness, and patterns.  X1: x-coordinate of start position. Y1: y-coordinate of start position. X2: x-coordinate of end position. Y2: y-coordinate of end position.  The line pattern is repetition of 16 dots which defined by pL and pH. pL and pH spec[...]

  • Page 193

    RS i <Function 1> Progr amming Reference VERSAJET [Name] Draw box [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Hex 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range] n1 = 1 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255 0 ≤ w ≤ 255; 0 ≤ pL, pH ≤ [...]

  • Page 194

    Progr amming Reference VERSAJET   For box pattern, using pL and pH as the followings:  For drawing box, ( x1 , y1 ) is coordinate of inner top left corner , ( x2 , y2 ) is coordinate of inner bottom right corner . pH =0 P L Description 0 Black frame, white background 1 White frame, white background 2 White frame, black background 186[...]

  • Page 195

    RS i <Function 2> Progr amming Reference VERSAJET [Name] Draw circle [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Hex 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range] n1 = 2 ; 0 ≤ x1L, x1H, y1L, y1H, x2L, x2H, y2L, y2H ≤ 255 0 ≤ w ≤ 255; 0 ≤ pL, pH ?[...]

  • Page 196

      Progr amming Reference VERSAJET  For box pattern, using pL and pH as the followings: pH =0 P L Description 0 Black frame, white background 1 White frame, black background 2 Filled with horizontal lines in the circle. 3 Filled with vertical lines in the circle. 4 Filled with cross in the circle. 188[...]

  • Page 197

    RS m Progr amming Reference VERSAJET [Name] Save *.bmp image into flash [Format] ASCII RS m n1 d1…..dk Hex 1E 6D n1 d1…..dk Decimal 30 109 n1 d1…..dk [Range] 1 ≤ n1 ≤ 4 [Default] None [Description] (1) Save *.bmp image into flash. ( 2 ) n 1 : I D n o (3) d1…..dk: image contents ( 4 ) M a x 1 6 k  384(w)dots *336(h)dots [Notes]  Th[...]

  • Page 198

    RS n Progr amming Reference VERSAJET [Name] Print *.bmp image [Format] ASCII RS n n1 n2 Hex 1E 6E n1 n2 Decimal 30 1 10 n1 n2 [Range] 1 ≤ n1 ≤ 4 ; 0 ≤ n2 ≤ 2 or 48 ≤ n2 ≤ 50 [Default] None [Description] (1) Print *.bmp image. ( 2 ) n1 : Image index no ( 3 ) n2 : Image magnification setup n2 Description 0,48 Normal 1,49 Double-width 2,50[...]

  • Page 199

    Progr amming Reference VERSAJET  If the printing area width set by GS L and GS W is less than one line in vertical, the following processing is performed only on the line in question:  The printing area width is extended to the right up to one line in vertical. In this case, printing does not exceed the printable area.  If the printing are[...]

  • Page 200

    RS p Progr amming Reference VERSAJET [Name] Set number of copies of printing data [Format] ASCII RS p n Hex 1E 70 n Decimal 30 1 12 n [Range] 1 ≤ n ≤ 255 [Default] None [Description] Set number of copies of printing data. [Notes]  This command can process printing data from page buf fer .  This command will be ignored if there is no data [...]

  • Page 201

    RS q Progr amming Reference VERSAJET [Name] Serialization setting [Format] ASCII RS q n1 n2 n3 n4 n5 n6 n7 d1…..dn7 Hex 1E 71 n1 n2 n3 n4 n5 n6 n7 d1…..dn7 Decimal 30 1 13 n1 n2 n3 n4 n5 n6 n7 d1…..dn7 [Range] 1 ≤ n1 ≤ 8, 1 ≤ n2 ≤ 3, 0 ≤ n3 ≤ 1, 1 ≤ n4 ≤ 255, 1 ≤ n5 ≤ 255, 1 ≤ n6 ≤ 255 1 ≤ n7 ≤ 255 [Default] None [[...]

  • Page 202

    Progr amming Reference VERSAJET [Notes]  This command allows three kinds of data, numeric, alphabetic and alphanumeric to be used.  For numeric data, integers 0123456789 can be used.  For alphabetic data, capit al letters A to Z can be used. Lowercase letters cannot be used in a serial number .  For alphanumeric data allows both numeric[...]

  • Page 203

    RS r Progr amming Reference VERSAJET [Name] Print serialization [Format] ASCII RS r n1 n2 Hex 1E 72 n1 n2 Decimal 30 1 14 n1 n2 [Range] 1 ≤ n1 ≤ 8, n2 = 1, 0x41~0x49 [Default] None [Description] Print serialization. n 1 : I D n o n 2 : P r i n t i n g t y p e n2 Description 0x01 T ext 0x41 UPC-A 0x42 UPC-E 0x43 EAN 13 0x44 EAN 8 0x45 CODE 39 0x[...]

  • Page 204

    Progr amming Reference VERSAJET [Notes]  After setting the current serialization value in the print buffer as print dat a, the printer updates serialization value based on the count mode set before stored in the print buffer .  In count-up mode, the serialization valu e is updated as [serialization value + increment value]  In count-down m[...]

  • Page 205

    RS t Progr amming Reference VERSAJET [Name] Define flash macro [Format] ASCII RS t n d1…..dk Hex 1E 74 n d1…..dk Decimal 30 1 16 n d1…..dk [Range] 1 ≤ n ≤ 8 [Default] None [Description] Define flash macro. [Notes]  Macro definition starts when this command is processed during normal operation and ends when it is processed during macro [...]

  • Page 206

    Progr amming Reference VERSAJET  The following commands cannot be contained in a macro. Do not use these commands while the macro is being defined: FS q , GS ^ , and GS v 0 .  Excessive use of this function may destroy t he non-volatile memory . As a guideline, do not use this command more than 10 times per day for writing data to the non-vol[...]

  • Page 207

    RS u Progr amming Reference VERSAJET [Name] Execute macro [Format] ASCII RS t n1 r t m Hex 1E 75 n1 r t m Decimal 30 1 17 n1 r t m [Range] 1 ≤ n1 ≤ 8, 1 ≤ r ≤ 255, 0 ≤ t ≤ 255, 0 ≤ m ≤ 2 [Default] None [Description] Execute macro n1 : Macro index no r : Number of execution t : Interval of execution m : Operation mode n4 Description [...]

  • Page 208

    Progr amming Reference VERSAJET  When m = 1, the printer waits for the period specified by t , blinks the LED, and then waits for the p aper feed button to be pressed. Af ter this button is pressed, the printer executes the macro once. The printer repeat s this operation r times.  When m = 2, the printer prints the first page, stop s and wait[...]

  • Page 209

    US 1 Progr amming Reference VERSAJET [Name] T op of Form Control [Format] ASCII US 1 n Hex 1F 31 n Decimal 31 49 n [Range] 0 ≤ n ≤ 1 [Default] n = 1 [Description] Enable/Disable T OF when power on (page mode only) n Description 0 Disable 1 Enable [Notes]  This command is ignored in line mode.  This function is used when using label paper [...]

  • Page 210

    US 2 Progr amming Reference VERSAJET [Name] T op of Form Offset Setting [Format] ASCII US 2 n1 n2 Hex 1F 32 n1 n2 Decimal 31 50 n1 n2 [Range] 0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 100 (unit is 0.1 mm) [Default] n1 = 0, n2 = 0 [Description] Adjusts printing position in a selected di rection and by a specified amount from the first position.  n1 specifies [...]

  • Page 211

    US 3 Progr amming Reference VERSAJET [Name] Auto tear-off control [Format] ASCII US 3 n Hex 1F 33 n Decimal 31 51 n [Range] 0 ≤ n ≤ 1 [Default] n = 0 [Description] Disable/Enable the p aper-tearing position of the label under page mode by using auto tear-off setup. n Function 0 Disable. Motor will not move back 1 Enable. Motor will move back an[...]

  • Page 212

    US 4 Progr amming Reference VERSAJET [Name] Auto T ear-off offset setting [Format] ASCII US 4 n1 n2 Hex 1F 34 n1 n2 Decimal 31 52 n1 n2 [Range] n1 = 0, 0 ≤ n2 ≤ 100 (unit is 0.1mm) [Default] n1 = 0, n2 = 0 [Description] Auto T ear-of f offset setting.  n1 specifies the adjustment direction as follows:  When the LSB of n1 is “0”(Forwar[...]

  • Page 213

    US 7 Progr amming Reference VERSAJET [Name] Paper sensor setting [Format] ASCII US 7 n1 n2 Hex 1F 37 n1 n2 Decimal 31 55 n1 n2 [Range] 0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 1 [Default] n1 = 1, n2 = 1 [Description] Paper sensor setting. n1 : Sensor selection n1 Description 0 Interruptive sensor 1 Reflective sensor n2 : Sensor direction n2 Description 0 Light[...]

  • Page 214

    US A Progr amming Reference VERSAJET [Name] RS232 Setting [Format] ASCII US A n1 n2 n3 n4 n5 Hex 1F 41 n1 n2 n3 n4 n5 Decimal 31 65 n1 n2 n3 n4 n5 [Range] 0 ≤ n1 ≤ 3, 0 ≤ n2 ≤ 1, 0 ≤ n3 ≤ 2, 0 ≤ n4 ≤ 1, 0 ≤ n5 ≤ 1 [Default] n1 = 0, n2 = 0, n3 = 0, n4 = 0, n5 = 0 [Description] RS232 Setting n1 : Baud rate n1 Description 0 9600 1 [...]

  • Page 215

    Progr amming Reference VERSAJET n4 : S top bit n4 Description 0 1 bit 1 2 bit n5 : Flow control Description n5 0 R T S / CTS 1 Xon / Xof f 207[...]

  • Page 216

    US C Progr amming Reference VERSAJET [Name] Bluetooth setting [Format] ASCII US C n2 n3 d1 1…..d1k 00 d21…..d2k 00 Hex 1F 43 n2 n3 d1 1…..d1k 00 d21…..d2k 00 Decimal 31 67 n2 n3 d1 1…..d1k 00 d21…..d2k 00 [Range] 0 ≤ n2 ≤ 2, 0 ≤ n3 ≤ 1 1 ≤ d1k ≤ 8, 1 ≤ d2k ≤ 15 [Default] n2 = 0, n3 = 0, d1 1 ….. d1k (PIN Code) = ‘000[...]

  • Page 217

    Progr amming Reference VERSAJET US G [Name] Buzzer control [Format] ASCII US G n Hex 1F 47 n Decimal 31 71 n [Range] 0 ≤ n ≤ 255 [Default] n = 255 [Description] T urn buzzer on/off, using n as follows: Bit Function Of f/On Hex Decimal Disable Power on/off beep Of f 00 0 0 Enable Power on/off beep On 01 1 Disable Battery-low on/off beep Off 00 0[...]

  • Page 218

    US H Progr amming Reference VERSAJET [Name] Auto power off duration setting [Format] ASCII US H n1 n2 Hex 1F 48 n1 n2 Decimal 31 72 n1 n2 [Range] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Default] n1 = 01, n2 = 04 [Description] Auto power off duration setting.  n1 : If the power is on, and the printer has had no action for n1 x 5 minutes, then the pri[...]

  • Page 219

    US I Progr amming Reference VERSAJET [Name] Set printing intensity (darkness) [Format] ASCII US I n Hex 1F 49 n Decimal 31 73 n [Range] 0 ≤ n ≤ 15 [Default] n = 8 [Description] Set printing intensity (darkness). [Notes]  When a standard mode is selected, all the data in a line is printed in the same density .  When a page mode is selected[...]

  • Page 220

    US J Progr amming Reference VERSAJET [Name] Automatic status feedback [Format] ASCII US J n Hex 1F 4A n Decimal 31 74 n [Range] 0 ≤ n ≤ 1 [Default] n = 1 [Description] Automatic status feedback. n : Enable/Disable n Description 0 Disable 1 Enable [Notes]  Automatic status feedback is the function th at transmit the status from the printer au[...]

  • Page 221

    US K Progr amming Reference VERSAJET [Name] Default operation mode setup [Format] ASCII US K n Hex 1F 4B n Decimal 31 75 n [Range] 0 ≤ n ≤ 1 [Default] n = 1 [Description] Default Operation Mode setup. n : Enable/Disable n Description 0 Page mode 1 Line mode 213[...]

  • Page 222

    US L Progr amming Reference VERSAJET [Name] Feed key control [Format] ASCII US L n Hex 1F 4C n Decimal 31 76 n [Range] 0 ≤ n ≤ 1 [Default] n = 0 [Description] Feed key control. (line mode only) n : Enable/Disable n Description 0 Feed one line 1 Feed one p age [Notes]  This command is ignored in page mode.  When n = 0, press ‘Feed’ but[...]

  • Page 223

    US M Progr amming Reference VERSAJET [Name] Panel buttons control [Format] ASCII US M n Hex 1F 4D n Decimal 31 77 n [Range] 0 ≤ n ≤ 255 [Default] n = 3 [Description] Panel Buttons Control. n : Enable/Disable Bit Function Off/On Hex Decimal Disable Power Off 00 0 0 Enable Power On 01 1 Disable Feed Off 00 0 1 Enable Feed On 02 2 2~7 Reserved Res[...]

  • Page 224

    US a Progr amming Reference VERSAJET [Name] Get RS232 configurations [Format] ASCII US a Hex 1F 61 Decimal 31 97 [Return value] Function Length(Byte) V alue S tart byte 1 0x5F Contents 1 0~255 End byte 1 0x00 [Description] Get RS232 configurations. Contents: Bit Function V alue (Hex) 0 Flow control 0x00: R TS/CTS 0x01: XON/Xoff 1 S top Bit 0x00: 1b[...]

  • Page 225

    Progr amming Reference VERSAJET [Notes]  This is a real-time command that the printer executes upon receiving it.  The printer returns 3 bytes, the first and thir d bytes are fixed values. Make sure the host computer can receive data from receiving buf fer . 217[...]

  • Page 226

    US c Progr amming Reference VERSAJET [Name] Get Bluetooth configurations [Format] ASCII US c [Return value] Hex 1F 63 Decimal 31 99 Function Length (Byte) V alue S tart Byte 1 0x5F Enable/Disable Bluetooth 1 Reserve Profile 1 0x00: SPP Authentication 1 0x00: Disable 0x01: Enable PIN Code 8 0x20~0x7E + 0x00 (Null) Device Name 15 0x20~0x7E + 0x00 (Nu[...]

  • Page 227

    Progr amming Reference VERSAJET  The return value of device name is a fixed le ngth of 15 bytes, filled with char 0x00(Null) for remaining bytes if the length of real data is smaller than 15. 219[...]

  • Page 228

    US g Progr amming Reference VERSAJET [Name] Get printer configuration [Format] ASCII US g Hex 1F 67 Decimal 31 103 [Return value] Function Bytes V alue S tart Byte 1 0x5F Buzzer 1 0x00: Disable all 0xFF: Enable all Operation Mode 1 0x00: Page mode 0x01: Line mode T op Of Form Of fset V alue Offset Direction Offset V alue 1 Bit 7 : (0: +) / (1: -) B[...]

  • Page 229

    0x05: Reflective bottom to top Reserved 1 Power Off Duration When Connected Progr amming Reference VERSAJET 1 0x00~0xFF Power Off Duration When Disconnected 1 0x00~0xFF Printing Intensity Printing Intensity R e s e r v e d 1 Bit: 4~7 (1~15) Bit: 0~3 Automatic S tatus Feedback (ASB) 1 0x00: Disable 0x01: Enable Feed Key Control 1 0x00: Feed a line 0[...]

  • Page 230

    US h Progr amming Reference VERSAJET [Name] Get system information [Format] ASCII US h Hex 1F 68 Decimal 31 104 [Return value] Function Length (Byte) Va l u e S tart byte 1 0x5F Customer name 15 0x20~0x7E Model name 15 0x20~0x7E Firmware version 15 0x20~0x7E End byte 1 0x00 [Description] Get system information. [Notes]  This is a real-time comma[...]

  • Page 231

    Progr amming Reference VERSAJET  The return value of firmware version is a fixed length of 15 bytes, filled with char 0x00(Null) for remaining bytes if the leng th of real data is smaller than 15. 223[...]

  • Page 232

    US k Progr amming Reference VERSAJET [Name] Get head resistance [Format] ASCII US k Hex 1F 6B Decimal 31 107 [Return value] Function Length (Byte) V alue S tart byte 1 0x5F Head max 4 0x00~0xFF Head min 4 0x00~0xFF Head average 4 0x00~0xFF End byte 1 0x00 [Notes]  The printer returns 14 bytes, the first and last bytes are fi xed values. Make sur[...]

  • Page 233

    US m Progr amming Reference VERSAJET [Name] Get printing log [Format] ASCII US m Hex 1F 6D Decimal 31 109 [Return value] Function Length (Byte) V alue S tart byte 1 0x5F Printing log 10 0x00~0xFF End byte 1 0x00 [Description] Get printing log. [Notes]  This is a real-time command that the printer executes upon receiving it.  The printer retur[...]

  • Page 234

    US n Progr amming Reference VERSAJET [Name] Get battery status [Format] ASCII US n Hex 1F 6E Decimal 31 1 10 [Return value] Function Length (Byte) V alue S tart byte 1 0x5F Battery status 1 0x30: less than 10% 0x31: less than 20% 0x32: more than 20% 0x33: more than 30% 0x39: more than 90% 0x3A: 100% End byte 1 0x00 [Description] Battery check [Note[...]

  • Page 235

    US r Progr amming Reference VERSAJET [Name] Get printer status [Format] ASCII US r Hex 1F 72 Decimal 31 1 14 [Return value] Function Length (Byte) V alue S tart byte 1 0x5F S tatus 1 0x30: Idle 0x31: Paper empty 0x32: Cover opened 0x33: Command error 0x34: Paper jam 0x36: Thermal head broken 0x37: Thermal head overheated 0x38: Low battery 0x39: Mot[...]