Star Micronics Line Thermal/Dot Printer 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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Star Micronics Line Thermal/Dot Printer. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoStar Micronics Line Thermal/Dot Printer vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Star Micronics Line Thermal/Dot Printer você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Star Micronics Line Thermal/Dot Printer, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Star Micronics Line Thermal/Dot Printer deve conte:
- dados técnicos do dispositivo Star Micronics Line Thermal/Dot Printer
- nome do fabricante e ano de fabricação do dispositivo Star Micronics Line Thermal/Dot Printer
- instruções de utilização, regulação e manutenção do dispositivo Star Micronics Line Thermal/Dot Printer
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Star Micronics Line Thermal/Dot Printer não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Star Micronics Line Thermal/Dot Printer e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Star Micronics na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Star Micronics Line Thermal/Dot Printer, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Star Micronics Line Thermal/Dot Printer, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Star Micronics Line Thermal/Dot Printer. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Line Thermal/Dot Printer ST AR Line Mode Command Specications Rev . 0.00 Star Micronics Co., Ltd. Special Products Operating Division[...]

  • Página 2

    Contents 1. GENERAL DESCRIPTION 1-1 2. COMMAND FUNCTION LIST 2-1 3. COMMAND DET AILS 3-1 3-1) Explanation of T erms 3-1 3-2) Exception processing 3-2 3-3) Standard Command Details 3-3 3-3-1) Font style and character set 3-3 ESC RS F n 3-3 ESC GS t n 3-4 ESC GS = n1 n2 da1 da2 … dak db1 db2 … dbk 3-5 ESC R n 3-6 ESC / N 3-7 ESC SP n 3-7 ESC M 3-[...]

  • Página 3

    ESC Q n 3-38 HT 3-39 ESC D n1 n2 … nk NUL 3-39 ESC D NUL 3-40 ESC GS A n1 n2 3-40 ESC GS R n1 n2 3-41 ESC GS a n 3-42 3-3-7) Download 3-43 ESC & c1 c2 n d1 . . . d48 3-43 ESC & c1 c2 n 3-44 ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n 2 - n 1 + 1 3 - 4 5 ESC % N 3-47 3-3-8) Bit Image Graphics 3-48 ESC K n1 n2 d1 … dk 3-48 ESC L n1 n[...]

  • Página 4

    4. CHARACTER CODE T ABLES 4-1 5. APPENDIX 5-1 5-1) Appendix1:BarCodeSpecicationDetails<Thermal> 5- 1 5-1-1) Code 39 5-1 5-1-2) Interleaved 2 of 5 5-1 5-1-3) JAN/EAN/UPC 5-2 5-1-4) Code 128 5-3 5-1-5) Code 93 5-5 5-1-6) NW7 (CODERBAR) 5-5 5-2) Appendix2–StatusSpecications<Shared> 5- 6 [...]

  • Página 5

    [...]

  • Página 6

    Rev . 0.00 1-1 ST ARLIneModeCommandSpecications 1. GENERAL DESCRIPTION ThisspecicationsdocumentdescribesthecommandspecicationsfortheST ARMODEonhybridprinters. Information contained herein applies to models with the following conditions. • Hybrid printers • Interfaces: - Parallel • RS[...]

  • Página 7

    Rev . 0.00 2-1 ST ARLIneModeCommandSpecications 2. COMMAND FUNCTION LIST • Standard Commands Class Commands Name Thermal Slip, V alidation Font style ESC RS F Select font - and character set ESC GS t Select code page ← ESC GS = Write blank code page data ← ESC R Specify international character set ← ESC / Specify/cancel slash[...]

  • Página 8

    Rev . 0.00 2-2 ST ARLIneModeCommandSpecications Class Commands Name Thermal Slip, V alidation Page control FF Form feed - ESC C Set page length to n lines - ESC C 0 Set page length in n x 24 mm units - VT Feed paper to vertical tab position - ESC B Set vertical tab position - Horizontal direction position ESC I Set left margin ← ES[...]

  • Página 9

    Rev . 0.00 2-3 ST ARLIneModeCommandSpecications Class Commands Name Thermal Slip, V alidation Kanji Character ESC p Set JIS Kanji Character mode ← ESC q Cancel JIS Kanji Character mode ← ESC $ Set/cancel JIS Kanji Character mode ← ESC s Set two-byte Kanji characters left/ right spaces ← ESC t Set single-byte Kanji characters [...]

  • Página 10

    Rev . 0.00 2-4 ST ARLIneModeCommandSpecications • Raster Related Commands Class Commands Name Thermal Slip, V alidation Raster commands ESC * r R Initialize raster mode - ESC * r A Enter raster mode - ESC * r B Quit raster mode - ESC * r C Clear raster data - ESC * r D Drawer drive - ESC * r E Set raster EOT mode - ESC * r F Set ra[...]

  • Página 11

    Rev . 0.00 2-5 ST ARLIneModeCommandSpecications • Mark Commands Class Commands Name Thermal Slip, V alidation Mark Commands ESC GS * 0 Print mark - ESC GS * 1 Specify mark height and line feed - ESC GS * 2 At each mark number Specify mark color , mark horizontal width - ESC GS * W Register mark format to non- volatile memory - ESC [...]

  • Página 12

    Rev . 0.00 2-6 ST ARLIneModeCommandSpecications • Page Function Commands Class Commands Name Thermal Slip, V alidation Page Function ESC GS h 0 180˚inversionfunction - ESC GS h 1 W ater mark function - • Slip/V alidation Function Commands Class Commands Name Thermal Slip, V alidation Slip Function ESC SI - - ESC FF -[...]

  • Página 13

    Rev . 0.00 3-1 ST ARLineModeCommandSpecications 3. COMMAND DET AILS 3-1) Explanation of T erms • Reception buffer The buffer for storing data (reception data) received from the host, as it is called the reception buffer. Reception data is temporarily stored in the reception buffer, then processed sequentially. • Line buffer The b[...]

  • Página 14

    Rev . 0.00 3-2 ST ARLIneModeCommandSpecications 3-2) Exception processing 1) Undefined codes Codesfrom<00>Hto<1F>Haretargeted.Whencodesnotdefinedascommandsinthisregionarereceived,theyare discarded. (Ex.) Ifprocessingthedatastringof<30>H[...]

  • Página 15

    Rev . 0.00 3-3 ST ARLineModeCommandSpecications 3-3) Standard Command Details 3-3-1) Font style and character set ESC RS F n [Name] Select font [Code] ASCII ESC RS F n Hexadecimal 1B 1E 46 n Decimal 27 30 70 n [Dened Area] Thermal : 0 ≤ n ≤ 1, n = 16 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alida[...]

  • Página 16

    Rev . 0.00 3-4 ST ARLIneModeCommandSpecications ESC GS t n [Name] Select code page [Code] ASCII ESC GS t n Hexadecimal 1B 1D 74 n Decimal 27 29 1 16 n [Dened Area] Thermal : 0 ≤ n ≤ 21, 32 ≤ n ≤ 34, 64 ≤ n ≤ 79, n = 255 Slip : 0 ≤ n ≤ 21, 32 ≤ n ≤ 34, 64 ≤ n ≤ 79, n = 255 V alidation : 0 ≤ n ≤ 21, 32[...]

  • Página 17

    Rev . 0.00 3-5 ST ARLineModeCommandSpecications ESC GS = n1 n2 da1 da2 … dak db1 db2 … dbk [Name] Write blank code page data [Code] ASCII ESC GS = n1 n2 da1 da2 .. dak db1 db2 .. dbk Hexadecimal 1B 1D 3D n1 n2 da1 da2 .. dak db1 db2 .. dbk Decimal 27 29 61 n1 n2 da1 da2 .. dak db1 db2 .. dbk [Dened Area] Thermal : n1 = 0, n[...]

  • Página 18

    Rev . 0.00 3-6 ST ARLIneModeCommandSpecications ESC R n [Name] Specify international character set [Code] ASCII ESC R n Hexadecimal 1B 52 n Decimal 27 82 n [Dened Area] Thermal : 0 ≤ n ≤ 14, n = 64, 48 ≤ N ≤ 57 (”0” ≤ n ≤ “9”), 65 ≤ n ≤ 69 (”A” ≤ n ≤ “E”) Slip : 0 ≤ n ≤ 14, n = 64, 48 ≤[...]

  • Página 19

    Rev . 0.00 3-7 ST ARLineModeCommandSpecications ESC / N [Name] Specify/cancel slash zero [Code] ASCII ESC / n Hexadecimal 1B 2F n Decimal 27 47 n [Dened Area] Thermal : n = 0, 1, 48, 49 Slip : n = 0, 1, 48, 49 V alidation : n = 0, 1, 48, 49 [Initial V alue] Thermal : Memory switch setting Slip : Memory switch setting V alidatio[...]

  • Página 20

    Rev . 0.00 3-8 ST ARLIneModeCommandSpecications ESC M [Name] (Thermal) Specify 12 dot pitch/(Slip) specify 7 x 9 font (half dots) (default) [Code] ASCII ESC M Hexadecimal 1B 4D Decimal 27 77 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : - V alidation : - [Function] <[...]

  • Página 21

    Rev . 0.00 3-9 ST ARLineModeCommandSpecications ESC : [Name] (Thermal) Specify 16 dot pitch/(Slip) specify 5 x 9 font (3P-1) [Code] ASCII ESC : Hexadecimal 1B 3A Decimal 27 58 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : - V alidation : - [Function] <Thermal>[...]

  • Página 22

    Rev . 0.00 3-10 ST ARLIneModeCommandSpecications ESC 6 [Name] Specify IBM character set #2 [Code] ASCII ESC 6 Hexadecimal 1B 36 Decimal 27 54 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Two bytes ignored ESC 7 [Name] Specify IBM character set #1 [Code] ASCII[...]

  • Página 23

    Rev . 0.00 3-1 1 ST ARLineModeCommandSpecications 3-3-2) Character Expansion Settings ESC i n1 n2 [Name] Set/cancel the double wide/high [Code] ASCII ESC i n1 n2 Hexadecimal 1B 69 n1 n2 Decimal 27 105 n1 n2 [Dened Area] Thermal : 0 ≤ n1 ≤ 5, 48 ≤ n1 ≤ 53(“0” ≤ n1 ≤ “5”), 0 ≤ n2 ≤ 5, 48 ≤ n2 ≤ 53(?[...]

  • Página 24

    Rev . 0.00 3-12 ST ARLIneModeCommandSpecications ESC W n [Name] Specify/cancel expanded wide [Code] ASCII ESC W n Hexadecimal 1B 57 n Decimal 27 87 n [Dened Area] Thermal : 0 ≤ n ≤ 5, 48 ≤ n ≤ 53, (“0” ≤ n ≤ “5”) Slip : 0 ≤ n ≤ 5, 48 ≤ n ≤ 53, (“0” ≤ n ≤ “5”) V alidation : 0 ≤ n ≤ 5, [...]

  • Página 25

    Rev . 0.00 3-13 ST ARLineModeCommandSpecications ESC h n [Name] Specify/cancel expanded high [Code] ASCII ESC h n Hexadecimal 1B 68 n Decimal 27 104 n [Dened Area] Thermal : 0 ≤ n ≤ 5, 48 ≤ n ≤ 53, (“0” ≤ n ≤ “5”) Slip : 0 ≤ n ≤ 5, 48 ≤ n ≤ 53, (“0” ≤ n ≤ “5”) V alidation : 0 ≤ n ≤ 5,[...]

  • Página 26

    Rev . 0.00 3-14 ST ARLIneModeCommandSpecications SO [Name] Set double wide [Code] ASCII SO Hexadecimal 0E Decimal 14 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Cancels 2x wide expansion Slip : Cancels 2x wide expansion V alidation : Cancels 2x wide expansion [Function] Specifies double wide for[...]

  • Página 27

    Rev . 0.00 3-15 ST ARLineModeCommandSpecications ESC SO [Name] Set double high [Code] ASCII ESC SO Hexadecimal 1B 0E Decimal 27 14 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Double high expansion cancelled. Slip : Double high expansion cancelled. V alidation : Double high expansion cancelled. [[...]

  • Página 28

    Rev . 0.00 3-16 ST ARLIneModeCommandSpecications 3-3-3) Print mode ESC E [Name] Select emphasized printing [Code] ASCII ESC E Hexadecimal 1B 45 Decimal 27 69 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Emphasized printing cancelled. Slip : Emphasized printing cancelled. V alidation : Emphasized [...]

  • Página 29

    Rev . 0.00 3-17 ST ARLineModeCommandSpecications ESC F [Name] Cancel emphasized printing [Code] ASCII ESC F Hexadecimal 1B 46 Decimal 27 70 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Emphasized printing cancelled. Slip : Emphasized printing cancelled. V alidation : Emphasized printing cancelled[...]

  • Página 30

    Rev . 0.00 3-18 ST ARLIneModeCommandSpecications ESC – n [Name] Specify/cancel underling mode [Code] ASCII ESC - n Hexadecimal 1B 2D n Decimal 27 45 n [Dened Area] Thermal : n = 0, 1, 48, 49 Slip : n = 0, 1, 48, 49 V alidation : n = 0, 1, 48, 49 [Initial V alue] Thermal : n = 0 (Underline cancelled) Slip : n = 0 (Underline ca[...]

  • Página 31

    Rev . 0.00 3-19 ST ARLineModeCommandSpecications ESC _ n [Name] Specify/cancel upperline [Code] ASCII ESC _ n Hexadecimal 1B 5F n Decimal 27 95 n [Dened Area] Thermal : n = 0, 1, 48, 49 Slip : n = 0, 1, 48, 49 V alidation : n = 0, 1, 48, 49 [Initial V alue] Thermal : n = 0 (Upperline cancelled) Slip : n = 0 (Upperline cancelled[...]

  • Página 32

    Rev . 0.00 3-20 ST ARLIneModeCommandSpecications ESC 4 [Name] (Thermal) Specify black/white inversion/(Slip) specify black/white inversion, red/black color ( substitute function ) [Code] ASCII ESC 4 Hexadecimal 1B 34 Decimal 27 52 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : White/black inversion[...]

  • Página 33

    Rev . 0.00 3-21 ST ARLineModeCommandSpecications ESC GS 4 m n [Name] Select red/black substitute function [ESC 4/5 setting] [Code] ASCII ESC GS 4 m n Hexadecimal 1B 1D 34 m n Decimal 27 29 52 m n [Dened Area] Thermal : - Slip : m = 1, 2, 49, 50 When m = 1, 49 (“1”) : n = 0 to 3, 255 When m = 2, 50 (“2”) : n = 0, 2 to 5 [...]

  • Página 34

    Rev . 0.00 3-22 ST ARLIneModeCommandSpecications Precautionsforselecting<Option1> 1. Prints white/black inverted characters using 5 x 9 fonts regardless of the current font size setting. 2. Inserts a one dot string of black printing to the head of the white/black inverted characters. 3. Printing data created on a[...]

  • Página 35

    Rev . 0.00 3-23 ST ARLineModeCommandSpecications SI [Name] Select upside-down printing [Code] ASCII SI Hexadecimal 0F Decimal 15 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Upside-down printing cancelled Slip : Upside-down printing cancelled V alidation : Upside-down printing cancelled [Function[...]

  • Página 36

    Rev . 0.00 3-24 ST ARLIneModeCommandSpecications ESC RS i n [Name] Specify/cancel character rotated mode [Code] ASCII ESC RS i n Hexadecimal 1B 1E 69 n Decimal 27 30 105 n [Dened Area] Thermal : - Slip : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) V alidation : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ [...]

  • Página 37

    Rev . 0.00 3-25 ST ARLineModeCommandSpecications 3-3-4) Line Spacing LF [Name] Line feed [Code] ASCII LF Hexadecimal 0A Decimal 10 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : 1/6 inch line feed V alidation : 1/6 inch line feed [Function] Feeds the currently specified[...]

  • Página 38

    Rev . 0.00 3-26 ST ARLIneModeCommandSpecications ESC a n [Name] Feed paper n lines [Code] ASCII ESC a n Hexadecimal 1B 61 n Decimal 27 97 n [Dened Area] Thermal : 1 ≤ n ≤ 127 Slip : 1 ≤ n ≤ 127 V alidation : 1 ≤ n ≤ 127 [Initial V alue] Thermal : Memory switch setting Slip : 1/6 inch V alidation : 1/6 inch [Function[...]

  • Página 39

    Rev . 0.00 3-27 ST ARLineModeCommandSpecications ESC z n [Name] Select line feed amount [Code] ASCII ESC z n Hexadecimal 1B 7A n Decimal 27 122 n [Dened Area] Thermal : n = 1, 49 Slip : n = 0, 1, n = 48, 49 V alidation : n = 0, 1, n = 48, 49 [Initial V alue] Thermal : Memory switch setting Slip : 1/6 inch V alidation : 1/6 inch[...]

  • Página 40

    Rev . 0.00 3-28 ST ARLIneModeCommandSpecications ESC 1 [Name] (Thermal) Specify 3 mm line feed amount/(Slip) specify 7/72 inch line feed amount [Code] ASCII ESC 1 Hexadecimal 1B 31 Decimal 27 49 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : 1/6 inch V alidation : 1/6 i[...]

  • Página 41

    Rev . 0.00 3-29 ST ARLineModeCommandSpecications ESC j n [Name] Reverse paper feed [Code] ASCII ESC j n Hexadecimal 1B 6A n Decimal 27 106 n [Dened Area] Thermal : - Slip : 0 ≤ n ≤ 255 V alidation : 0 ≤ n ≤ 255 [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Three bytes ignored <Sl[...]

  • Página 42

    Rev . 0.00 3-30 ST ARLIneModeCommandSpecications ESC A n [Name] Denes(thermal)a3mm/4mmlinefeedamount/Denes(slip)n/72inchpitchlinefeed [Code] ASCII ESC A n Hexadecimal 1B 41 n Decimal 27 65 n [Dened Area] Thermal : 0 ≤ n ≤ 255 Slip : 0 ≤ n ≤ 85 V alidation : 0 ≤ n ≤ [...]

  • Página 43

    Rev . 0.00 3-31 ST ARLineModeCommandSpecications ESC 3 n [Name] Specify n/216 inch paper feed [Code] ASCII ESC 3 n Hexadecimal 1B 33 n Decimal 27 51 n [Dened Area] Thermal : - Slip : 0 ≤ n ≤ 255 V alidation : 0 ≤ n ≤ 255 [Initial V alue] Thermal : - Slip : 1/6 inch line feed V alidation : 1/6 inch line feed [Function] &[...]

  • Página 44

    Rev . 0.00 3-32 ST ARLIneModeCommandSpecications 3-3-5) Page Control Commands FF [Name] Form feed [Code] ASCII FF Hexadecimal 0C Decimal 12 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Executes a form feed. If the current position is at the[...]

  • Página 45

    Rev . 0.00 3-33 ST ARLineModeCommandSpecications ESC C n [Name] Set page length to n lines [Code] ASCII ESC C n Hexadecimal 1B 43 n Decimal 27 67 n [Dened Area] Thermal : 1 ≤ n ≤ 127 Slip : - V alidation : - [Initial V alue] Thermal : (Form feed amount initial value x 42) Slip : - V alidation : - [Function] <Thermal>?[...]

  • Página 46

    Rev . 0.00 3-34 ST ARLIneModeCommandSpecications ESC C 0 n [Name] Set n x 24 mm page length [Code] ASCII ESC C 0 n Hexadecimal 1B 43 00 n Decimal 27 67 0 n [Dened Area] Thermal : 1 ≤ n ≤ 22 Slip : - V alidation : - [Initial V alue] Thermal : (Form feed amount initial value x 42) Slip : - V alidation : - [Function] <Therm[...]

  • Página 47

    Rev . 0.00 3-35 ST ARLineModeCommandSpecications VT [Name] Feed paper to vertical tab position [Code] ASCII VT Hexadecimal 0B Decimal 1 1 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Feeds paper to the next vertical tab position. This comma[...]

  • Página 48

    Rev . 0.00 3-36 ST ARLIneModeCommandSpecications ESC B n1 n2 … nk NUL [Name] Set vertical tab position [Code] ASCII ESC B n1 n2 .. nk NUL Hexadecimal 1B 42 n1 n2 .. nk 00 Decimal 27 66 n1 n2 .. nk 0 [Dened Area] Thermal : 1 ≤ n ≤ 255, 0 ≤ n ≤ 16 Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidatio[...]

  • Página 49

    Rev . 0.00 3-37 ST ARLineModeCommandSpecications 3-3-6) Horizontal Direction Printing Position ESC l n [Name] Set left margin [Code] ASCII ESC l n Hexadecimal 1B 6C n Decimal 27 108 n [Dened Area] Thermal : 0 ≤ n ≤ 255 Slip : 0 ≤ n ≤ (right margin -2) ≤ 255 V alidation : 0 ≤ n ≤ (right margin -2) ≤ 255 [Initial [...]

  • Página 50

    Rev . 0.00 3-38 ST ARLIneModeCommandSpecications ESC Q n [Name] Set right margin [Code] ASCII ESC Q n Hexadecimal 1B 51 n Decimal 27 81 n [Dened Area] Thermal : 0 ≤ n ≤ 255 Slip : 2 ≤ n ≤ maximum printable digits ≤ 255 V alidation : 2 ≤ n ≤ maximum printable digits ≤ 255 [Initial V alue] Thermal : - Slip : Maxim[...]

  • Página 51

    Rev . 0.00 3-39 ST ARLineModeCommandSpecications HT [Name] Move horizontal tab [Code] ASCII HT Hexadecimal 09 Decimal 9 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Move print position to next horizontal tab position. The current position moves to the next ta[...]

  • Página 52

    Rev . 0.00 3-40 ST ARLIneModeCommandSpecications ESC D NUL [Name] Clear horizontal tab [Code] ASCII ESC D NUL Hexadecimal 1B 44 00 Decimal 27 68 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Clears the currently set horizontal tab. (Note) The settings using [...]

  • Página 53

    Rev . 0.00 3-41 ST ARLineModeCommandSpecications ESC GS R n1 n2 [Name] Move relative position [Code] ASCII ESC GS R n1 n2 Hexadecimal 1B 1D 52 n1 n2 Decimal 27 29 82 n1 n2 [Dened Area] Thermal : 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 Slip : 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 V alidation : 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Initial[...]

  • Página 54

    Rev . 0.00 3-42 ST ARLIneModeCommandSpecications ESC GS a n [Name] Specify position alignment [Code] ASCII ESC GS a n Hexadecimal 1B 1D 61 n Decimal 27 29 97 n [Dened Area] Thermal : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) Slip : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) V alidation : 0 ≤[...]

  • Página 55

    Rev . 0.00 3-43 ST ARLineModeCommandSpecications 3-3-7) Download ESC & c1 c2 n d1 . . . d48 [Name] Register 12 x 24 dot font download characters [Code] ASCII ESC & c1 c2 n d1 .. d48 Hexadecimal 1B 26 c1 c2 n d1 .. d48 Decimal 27 38 c1 c2 n d1 .. d48 [Dened Area] Thermal : c1 = 1, 49, c2 = 1, 49, 32 ≤ n ≤ 127, 0 ≤ [...]

  • Página 56

    Rev . 0.00 3-44 ST ARLIneModeCommandSpecications ESC & c1 c2 n [Name] Delete 12 x 24 dot font download characters [Code] ASCII ESC & c1 c2 n Hexadecimal 1B 26 c1 c2 n Decimal 27 38 c1 c2 n [Dened Area] Thermal : c1 = 1, 49, c2 = 0, 48, 32 ≤ n ≤ 127 Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V ali[...]

  • Página 57

    Rev . 0.00 3-45 ST ARLineModeCommandSpecications ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n 2 - n 1 + 1 [Name] Register download characters [Code] ASCII ESC & NUL n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 Hexadecimal 1B 26 00 n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2 - n1 + 1 Decimal 27 38 0 n1 n2 [m d1 d2 d3 d4 d5 (d6 d7)] n2[...]

  • Página 58

    Rev . 0.00 3-46 ST ARLIneModeCommandSpecications [Ex.:] When selecting 7 x 9 fonts, and defining the character to 21H: ESC & NUL n1 n2 m d1 d2 d3 d4 d5 d6 d7 Code (Hexadecimal) 1B 26 00 21 21 80 3E 40 88 00 88 40 3E (1 when printing corresponding bits, and 0 for no print)) [Ex.:] When selecting 5 x 9 fonts, and defining the chara[...]

  • Página 59

    Rev . 0.00 3-47 ST ARLineModeCommandSpecications ESC % N [Name] Specify/cancel ANK download characters [Code] ASCII ESC % n Hexadecimal 1B 25 n Decimal 27 37 n [Dened Area] Thermal : n = 0, 1, 48, 49 Slip : n = 0, 1, 48, 49 V alidation : n = 0, 1, 48, 49 [Initial V alue] Thermal : Cancel ANK download character Slip : Cancel ANK[...]

  • Página 60

    Rev . 0.00 3-48 ST ARLIneModeCommandSpecications 3-3-8) Bit Image Graphics ESC K n1 n2 d1 … dk [Name] Standard density bit image [Code] ASCII ESC K n1 n2 d1 .. dk Hexadecimal 1B 4B n1 n2 d1 .. dk Decimal 27 75 n1 n2 d1 .. dk [Dened Area] Thermal : 1 ≤ {(n1 + n2 x 256) x 3} ≤ printable region k = (n1 + n2 x 256) 0 ≤ d ?[...]

  • Página 61

    Rev . 0.00 3-49 ST ARLineModeCommandSpecications <Slip>,<Validation> This command prints bit images with only the data count determined by n1. The amount of data that can be printed in one line is limited to the total dot count. Data that exceeds the total dot count or the right margin is ignored. See each printer?[...]

  • Página 62

    Rev . 0.00 3-50 ST ARLIneModeCommandSpecications ESC L n1 n2 d1 … dk [Name] High density bit image [Code] ASCII ESC L n1 n2 d1 .. dk Hexadecimal 1B 4C n1 n2 d1 .. dk Decimal 27 76 n1 n2 d1 .. dk [Dened Area] Thermal : 1 ≤ {(n1 + n2 x 256) ≤ printable region k = (n1 + n2 x 256) 0 ≤ d ≤ 255 Slip : 1 ≤( n1 + n2 x 25[...]

  • Página 63

    Rev . 0.00 3-51 ST ARLineModeCommandSpecications ESC k n1 n2 d1 … dk [Name] Fine bit image [Code] ASCII ESC k n1 n2 d1 .. dk Hexadecimal 1B 6B n1 n2 d1 .. dk Decimal 27 107 n1 n2 d1 .. dk [Dened Area] Thermal : n2 = 0 1 ≤ {(n1 + n2 x 256) x 8} ≤ printable region k = {(n1 + n2 x 256) x 24} 0 ≤ d ≤ 255 Slip : - V alidat[...]

  • Página 64

    Rev . 0.00 3-52 ST ARLIneModeCommandSpecications ESC X n1 n2 d1 … dk [Name] Fine density bit image (Wire-dot, 24 pin compatible) [Code] ASCII ESC X n1 n2 d1 .. dk Hexadecimal 1B 58 n1 n2 d1 .. dk Decimal 27 88 n1 n2 d1 .. dk [Dened Area] Thermal : 1 ≤ (n1 + n2 x 256) ≤ printable region k = {(n1 + n2 x 256) x 3} 0 ≤ d ?[...]

  • Página 65

    Rev . 0.00 3-53 ST ARLineModeCommandSpecications ESC ^ m n1 n2 d1 d2 … dk [Name] 9 Dot bit image [Code] ASCII ESC ^ m n1 n2 d1 d2 .. dk Hexadecimal 1B 5E m n1 n2 d1 d2 .. dk Decimal 27 94 m n1 n2 d1 d2 .. dk [Dened Area] Thermal : - Slip : 0 ≤ m ≤ 1 (“0” ≤ m ≤ “1”) V alidation : 0 ≤ m ≤ 1 (“0” ≤ m ?[...]

  • Página 66

    Rev . 0.00 3-54 ST ARLIneModeCommandSpecications 3-3-9) Logo ESC FS q n [x1 1 x12 y1 1 y12 d1 … dk]1 … [xn1 xn2 yn1 yn2 d1 … dk] n [Name] Register logo [Code] ASCII ESC FS q n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Hexadecimal 1B 1C 71 n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Decimal [...]

  • Página 67

    Rev . 0.00 3-55 ST ARLineModeCommandSpecications (Note) Registration data shared by all stations, and modes. If this command is used frequently , there is the possibility of damaging the non-volatile memory . Write to the non-volatile memory less than 10 times in one day . Relationship of logo and registered data xn = xn1 + xn2 x 256[...]

  • Página 68

    Rev . 0.00 3-56 ST ARLIneModeCommandSpecications ESC FS p n m [Name] Print logo [Code] ASCII ESC FS p n m Hexadecimal 1B 1C 70 n m Decimal 27 28 1 12 n m [Dened Area] Thermal : 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ “3”) Slip : 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ ?[...]

  • Página 69

    Rev . 0.00 3-57 ST ARLineModeCommandSpecications ESC RS L m [Name] Logo batch control [Code] ASCII ESC RS L m Hexadecimal 1B 1E 4C m Decimal 27 30 76 m [Dened Area] Thermal : 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ “3”), m = 255 Slip : 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ “3”), m = 255 V alidati[...]

  • Página 70

    Rev . 0.00 3-58 ST ARLIneModeCommandSpecications 3-3-10) Bar Codes ESC b n1 n2 n3 n4 d1 . . . dk RS [Name] Print bar code [Code] ASCII ESC b n1 n2 n3 n4 d1 .. dk RS Hexadecimal 1B 62 n1 n2 n3 n4 d1 .. dk 1E Decimal 27 98 n1 n2 n3 n4 d1 .. dk 30 [Dened Area] Thermal : 0 ≤ n1 ≤ 8, 48 ≤ n1 ≤ 56 (“0” ≤ n1 ≤ “8”)[...]

  • Página 71

    Rev . 0.00 3-59 ST ARLineModeCommandSpecications • n3: Bar Code Mode Selection n3 Bar Codes T ypes UPC-E, UPC-A, JAN/EAN8 Code39, NW-7 ITF JAN/EAN13, Code128, Code93 1, 49 Minimum module 2 dots Narrow : Wide = 2: 6 dots Narrow : Wide = 2: 5 dots 2, 50 Minimum module 3 dots Narrow : Wide = 3: 9 dots Narrow : Wide = 4:10 dots 3, 51 M[...]

  • Página 72

    Rev . 0.00 3-60 ST ARLIneModeCommandSpecications 3-3-1 1) Cutter Control ESC d n [Name] Auto-cutter: [Code] ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 n [Dened Area] Thermal : 0 ≤ d ≤ 3, 48 ≤ d ≤ 51 (“0” ≤ d ≤ “3”) Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function[...]

  • Página 73

    Rev . 0.00 3-61 ST ARLineModeCommandSpecications 3-3-12) External Device Drive ESC BEL n1 n2 [Name] Set external drive device 1 pulse width [Code] ASCII ESC BEL n1 n2 Hexadecimal 1B 07 n1 n2 Decimal 27 7 n1 n2 [Dened Area] Thermal : 1 ≤ n1 ≤ 127, 1 ≤ n2 ≤ 127 Slip : 1 ≤ n1 ≤ 127, 1 ≤ n2 ≤ 127 V alidation : 1 ≤[...]

  • Página 74

    Rev . 0.00 3-62 ST ARLIneModeCommandSpecications BEL [Name] External device 1 drive instruction [Code] ASCII BEL Hexadecimal 07 Decimal 7 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Executes the external device drive conditions set according to the command t[...]

  • Página 75

    Rev . 0.00 3-63 ST ARLineModeCommandSpecications SUB [Name] External device 2 drive instruction [Code] ASCII SUB Hexadecimal 1A Decimal 26 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Drives external device 2. The energizing time and delay time for the extern[...]

  • Página 76

    Rev . 0.00 3-64 ST ARLIneModeCommandSpecications ESC GS BEL m t1 t2 [Name] Ring buzzer [Code] ASCII ESC GS BEL m t1 t2 Hexadecimal 1B 1D 07 m t1 t2 Decimal 27 29 7 m t1 t2 [Dened Area] Thermal : 1 ≤ m ≤ 2, 49 ≤ m ≤ 50 (“1” ≤ m ≤ “2”) 1 ≤ t1 ≤ 255, 1 ≤ t2 ≤ 255 Slip : 1 ≤ m ≤ 2, 49 ≤ m ≤ 50 (?[...]

  • Página 77

    Rev . 0.00 3-65 ST ARLineModeCommandSpecications ESC GS EM DC1 m n1 n2 [Name] Set external buzzer drive pulse condition [Code] ASCII ESC GS EM DC1 m n1 n2 Hexadecimal 1B 1D 19 1 1 m n1 n2 Decimal 27 29 25 17 m n1 n2 [Dened Area] Thermal : 1 ≤ m ≤ 2, 49 ≤ m ≤ 50, (“1” ≤ m ≤ “2”) 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤[...]

  • Página 78

    Rev . 0.00 3-66 ST ARLIneModeCommandSpecications ESC GS EM DC2 m n1 n2 [Name] Execute external buzzer drive [Code] ASCII ESC GS EM DC2 m n1 n2 Hexadecimal 1B 1D 19 12 m n1 n2 Decimal 27 29 25 18 m n1 n2 [Dened Area] Thermal : 1 ≤ m ≤ 2, 49 ≤ m ≤ 50, (“1” ≤ m ≤ “2”) 1 ≤ n1 ≤ 20, n2 = 0 Slip : 1 ≤ m ≤ [...]

  • Página 79

    Rev . 0.00 3-67 ST ARLineModeCommandSpecications 3-3-13) Print Settings ESC RS d n [Name] Set print density [Code] ASCII ESC RS d n Hexadecimal 1B 1E 64 n Decimal 27 30 100 n [Dened Area] Thermal : 0 ≤ n ≤ 15 48 ≤ n ≤ 57 (”0” ≤ n ≤ “9”), 65 ≤ n ≤ 70 (”A” ≤ n ≤ “F”) Slip : - V alidation : - [I[...]

  • Página 80

    Rev . 0.00 3-68 ST ARLIneModeCommandSpecications ESC RS r n [Name] Set printing speed [Code] ASCII ESC RS r n Hexadecimal 1B 1E 72 n Decimal 27 30 1 14 n [Dened Area] Thermal : 0 ≤ n ≤ 2 48 ≤ n ≤ 50 (“0” ≤ n ≤ “2”) Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : - V alidation[...]

  • Página 81

    Rev . 0.00 3-69 ST ARLineModeCommandSpecications 3-3-14) Status ESC RS a n [Name] Set status transmission conditions [Code] ASCII ESC RS a n Hexadecimal 1B 1E 61 n Decimal 27 30 97 n [Dened Area] Thermal : 0 ≤ n ≤ 3, 48 ≤ n ≤ 51, (“0” ≤ n ≤ “51”) Slip : 0 ≤ n ≤ 3, 48 ≤ n ≤ 51, (“0” ≤ n ≤ “5[...]

  • Página 82

    Rev . 0.00 3-70 ST ARLIneModeCommandSpecications ESC ACK SOH [Name] Real-time printer status (ASB Status) [Code] ASCII ESC ACK SOH Hexadecimal 1B 06 01 Decimal 27 6 1 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] This command is effective only when using an in[...]

  • Página 83

    Rev . 0.00 3-71 ST ARLineModeCommandSpecications EOT [Name] Real-time printer status (2) [Code] ASCII EOT Hexadecimal 04 Decimal 4 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] This command is effective only when using an interface capable of bi-directional da[...]

  • Página 84

    Rev . 0.00 3-72 ST ARLIneModeCommandSpecications ESC RS E n [Name] Initialize ASB ETB counter , and ETB status. [Code] ASCII ESC RS E n Hexadecimal 1B 1E 45 n Decimal 27 30 69 n [Dened Area] Thermal : n = 0, 48 (“0”) Slip : n = 0, 48 (“0”) V alidation : n = 0, 48 (“0”) [Initial V alue] Thermal : ASB ETB counter = 0 [...]

  • Página 85

    Rev . 0.00 3-73 ST ARLineModeCommandSpecications 3-3-15) Kanji Characters ESC p [Name] Specify JIS Kanji character mode [Code] ASCII ESC p Hexadecimal 1B 70 Decimal 27 1 12 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Cancel JIS Kanji character mode Slip : Cancel JIS Kanji character mode V alidat[...]

  • Página 86

    Rev . 0.00 3-74 ST ARLIneModeCommandSpecications ESC $ n [Name] Specify/cancel JIS Kanji character mode [Code] ASCII ESC $ n Hexadecimal 1B 24 n Decimal 27 36 n [Dened Area] Thermal : n = 0, 1, 48, 49 Slip : n = 0, 1, 48, 49 V alidation : n = 0, 1, 48, 49 [Initial V alue] Thermal : Memory switch setting Slip : Memory switch set[...]

  • Página 87

    Rev . 0.00 3-75 ST ARLineModeCommandSpecications ESC s n1 n2 [Name] Set two-byte Kanji characters left/right spaces [Code] ASCII ESC s n1 n2 Hexadecimal 1B 73 n1 n2 Decimal 27 1 15 n1 n2 [Dened Area] Thermal : 0 ≤ n1 ≤ 7, 48 ≤ n1 ≤ 55 (“0” ≤ n1 ≤ “7”) 0 ≤ n2 ≤ 15, 48 ≤ n2 ≤ 57 (”0” ≤ n2 ≤ “[...]

  • Página 88

    Rev . 0.00 3-76 ST ARLIneModeCommandSpecications ESC t n1 n2 [Name] Set single-byte Kanji characters left/right spaces [Code] ASCII ESC t n1 n2 Hexadecimal 1B 74 n1 n2 Decimal 27 1 16 n1 n2 [Dened Area] Thermal : 0 ≤ n1 ≤ 7, 48 ≤ n1 ≤ 55 (“0” ≤ n1 ≤ “7”) 0 ≤ n2 ≤ 15, 48 ≤ n2 ≤ 57 (”0” ≤ n2 ≤ [...]

  • Página 89

    Rev . 0.00 3-77 ST ARLineModeCommandSpecications ESC r c1 c2 d1 … dk [Name] Register Chinese download characters [Code] ASCII ESC r c1 c2 d1 .. dk Hexadecimal 1B 72 c1 c2 d1 .. dk Decimal 27 1 14 c1 c2 d1 .. dk [Dened Area] Thermal : 0 ≤ d ≤ 255 k=72,c1andc2differaccordingtospecicationsand[...]

  • Página 90

    Rev . 0.00 3-78 ST ARLIneModeCommandSpecications <Slip>,<Validation> The defined ranges are shown below. Specications c1 c2 Registration count Japanese Language Kanji characters c1 = 77h 21h ≤ c2 ≤ 7Eh 94 Characters They are designed as shown below and data is sent sequentially. The font of Kanji download cha[...]

  • Página 91

    Rev . 0.00 3-79 ST ARLineModeCommandSpecications ESC u n [Name] Specify two-byte 16 x 16 dot Kanji character (Single density/double density) [Code] ASCII ESC u n Hexadecimal 1B 75 n Decimal 27 1 17 n [Dened Area] Thermal : - Slip : n = 0, 1, n = 48, 49 (“0,” “1”) V alidation : n = 0, 1, n = 48, 49 (“0,” “1”) [In[...]

  • Página 92

    Rev . 0.00 3-80 ST ARLIneModeCommandSpecications ESC x n [Name] Specify expanded Kanji characters (Double tall/double high & wide) [Code] ASCII ESC x n Hexadecimal 1B 78 n Decimal 27 120 n [Dened Area] Thermal : - Slip : n = 0, 1, n = 48, 49 (“0,” “1”) V alidation : n = 0, 1, n = 48, 49 (“0,” “1”) [Initial V[...]

  • Página 93

    Rev . 0.00 3-81 ST ARLineModeCommandSpecications ESC w n [Name] Specify expanded Kanji characters (batch double tall/double high & wide) [Code] ASCII ESC w n Hexadecimal 1B 77 n Decimal 27 1 19 n [Dened Area] Thermal : - Slip : n = 0, 1, n = 48, 49 (“0,” “1”) V alidation : n = 0, 1, n = 48, 49 (“0,” “1”) [In[...]

  • Página 94

    Rev . 0.00 3-82 ST ARLIneModeCommandSpecications 3-3-16) Others RS [Name] Ring buzzer [Code] ASCII RS Hexadecimal 1E Decimal 30 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Issues a short buzzer sound from the printer. Execute this command after printing the [...]

  • Página 95

    Rev . 0.00 3-83 ST ARLineModeCommandSpecications ESC @ [Name] Command initialization [Code] ASCII ESC @ Hexadecimal 1B 40 Decimal 27 64 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Initializes each command after printing data in the line buffer. However, prin[...]

  • Página 96

    Rev . 0.00 3-84 ST ARLIneModeCommandSpecications ESC U n [Name] Select printing direction [Code] ASCII ESC U n Hexadecimal 1B 55 n Decimal 27 85 n [Dened Area] Thermal : - Slip : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) V alidation : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) [Initial V alue][...]

  • Página 97

    Rev . 0.00 3-85 ST ARLineModeCommandSpecications ESC GS # m N n1 n2 n3 n4 LF NUL [Name] Set memory switch [Code] ASCII ESC GS # m N n1 n2 n3 n4 LF NUL Hexadecimal 1B 1D 23 m N n1 n2 n3 n4 0A 00 Decimal 27 29 35 m N n1 n2 n3 n4 10 0 [Dened Area] Thermal : m = 87, 84, 44, 43, 45, 64, 75, 76 (m = “W”, “T”, “,”, “+”[...]

  • Página 98

    Rev . 0.00 3-86 ST ARLIneModeCommandSpecications ESC # @ LF NUL [Name] Initialize all memory switches [Code] ASCII ESC # @ LF NUL Hexadecimal 1B 23 40 0A 00 Decimal 27 35 64 10 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Initializes all memory switches Val[...]

  • Página 99

    Rev . 0.00 3-87 ST ARLineModeCommandSpecications ESC # * LF NUL [Name] Inquire printer version [Code] ASCII ESC # * LF NUL Hexadecimal 1B 23 2A 0A 00 Decimal 27 35 42 10 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Sends printer version. ESC # *, printer ve[...]

  • Página 100

    Rev . 0.00 3-88 ST ARLIneModeCommandSpecications DC3 [Name] Printer deselect [Code] ASCII DC3 Hexadecimal 13 Decimal 19 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Select printer Slip : Select printer V alidation : Select printer [Function] Deselects printer. All received data is discarded until[...]

  • Página 101

    Rev . 0.00 3-89 ST ARLineModeCommandSpecications 3-4) Raster Graphics Command Details Raster graphics are command types and incidental specifications that enable high speed and high quality printing of graphics. The following shows the characteristics and specifications for raster graphics. • Define the raster mode command as an ex[...]

  • Página 102

    Rev . 0.00 3-90 ST ARLIneModeCommandSpecications ESC * r R [Name] Initialize raster mode [Code] ASCII ESC * r R Hexadecimal 1B 2A 72 52 Decimal 27 42 1 14 82 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Initializes raster mode. This command[...]

  • Página 103

    Rev . 0.00 3-91 ST ARLineModeCommandSpecications ESC * r A [Name] Enter raster mode [Code] ASCII ESC * r A Hexadecimal 1B 2A 72 41 Decimal 27 42 1 14 65 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Enters raster mode. This command is ignore[...]

  • Página 104

    Rev . 0.00 3-92 ST ARLIneModeCommandSpecications ESC * r B [Name] Quit raster mode [Code] ASCII ESC * r B Hexadecimal 1B 2A 72 42 Decimal 27 42 1 14 66 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Quits raster mode. When raster mode is quit[...]

  • Página 105

    Rev . 0.00 3-93 ST ARLineModeCommandSpecications ESC * r D n NUL [Name] Drawer drive [Code] ASCII ESC * r D n NUL Hexadecimal 1B 2A 72 44 n 00 Decimal 27 42 1 14 68 n 0 [Dened Area] Thermal : 0 ≤ n ≤ 3 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal> Drives the[...]

  • Página 106

    Rev . 0.00 3-94 ST ARLIneModeCommandSpecications ESC * r E n NUL [Name] Set raster EOT mode [Code] ASCII ESC * r E n NUL Hexadecimal 1B 2A 72 45 n 00 Decimal 27 42 1 14 69 n 0 [Dened Area] Thermal : n = 0, 1, 2, 3, 8, 9, 12, 13 Slip : - V alidation : - [Initial V alue] Thermal : n = 13 Slip : - V alidation : - [Function] <Th[...]

  • Página 107

    Rev . 0.00 3-95 ST ARLineModeCommandSpecications ESC * r F n NUL [Name] Set raster FF mode [Code] ASCII ESC * r F n NUL Hexadecimal 1B 2A 72 46 n 00 Decimal 27 42 1 14 70 n 0 [Dened Area] Thermal : n = 0, 1, 2, 3, 8, 9, 12, 13 Slip : - V alidation : - [Initial V alue] Thermal : n = 13 Slip : - V alidation : - [Function] <The[...]

  • Página 108

    Rev . 0.00 3-96 ST ARLIneModeCommandSpecications ESC * r P n NUL [Name] Set raster page length [Code] ASCII ESC * r P n NUL Hexadecimal 1B 2A 72 50 n 00 Decimal 27 42 1 14 80 n 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : Raster image buffer length Slip : - V alidation : - [Function] <Therma[...]

  • Página 109

    Rev . 0.00 3-97 ST ARLineModeCommandSpecications ESC * r m l n NUL [Name] Set raster left margin [Code] ASCII ESC * r m l n NUL Hexadecimal 1B 2A 72 6D 6C n 00 Decimal 27 42 1 14 109 108 n 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal> [...]

  • Página 110

    Rev . 0.00 3-98 ST ARLIneModeCommandSpecications ESC * r T n NUL [Name] Set raster top margin [Code] ASCII ESC * r T n NUL Hexadecimal 1B 2A 72 54 n 00 Decimal 27 42 1 14 84 n 0 [Dened Area] Thermal : 0 ≤ n ≤ 2 Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Sets [...]

  • Página 111

    Rev . 0.00 3-99 ST ARLineModeCommandSpecications ESC * r K n NUL [Name] Set raster print color [Code] ASCII ESC * r K n NUL Hexadecimal 1B 2A 72 4B n 00 Decimal 27 42 1 14 75 n 0 [Dened Area] Thermal : 0 ≤ n ≤ 3 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal> [...]

  • Página 112

    Rev . 0.00 3-100 ST ARLIneModeCommandSpecications b n1 n2 data [Name] Send raster data (auto line feed) [Code] ASCII b n1 n2 d1 d2 ... dk Hexadecimal 62 n1 n2 d1 d2 ... dk Decimal 98 n1 n2 d1 d2 ... dk [Dened Area] Thermal : 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255, 0 ≤ d ≤ 255 k = n1 + n2 x 256, 1 ≤ k Slip : - V alidation : - [...]

  • Página 113

    Rev . 0.00 3-101 ST ARLineModeCommandSpecications k n1 n2 data [Name] T ransfer raster data [Code] ASCII k n1 n2 d1 d2 ... dk Hexadecimal 6B n1 n2 d1 d2 ... dk Decimal 107 n1 n2 d1 d2 ... dk [Dened Area] Thermal : 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255, 0 ≤ d ≤ 255 k = n1 + n2 x 256, 1 ≤ k Slip : - V alidation : - [Initial V [...]

  • Página 114

    Rev . 0.00 3-102 ST ARLIneModeCommandSpecications ESC * r Y n NUL [Name] Moveverticaldirectionposition(Linefeedforspecieddots) [Code] ASCII ESC * r Y n NUL Hexadecimal 1B 2A 72 59 n 00 Decimal 27 42 1 14 89 n 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V a[...]

  • Página 115

    Rev . 0.00 3-103 ST ARLineModeCommandSpecications ESC FF EOT [Name] Execute EOT mode [Code] ASCII ESC FF EOT Hexadecimal 1B 0C 04 Decimal 27 12 4 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Executes EOT mode. Executes operation specified b[...]

  • Página 116

    Rev . 0.00 3-104 ST ARLIneModeCommandSpecications ESC * r V m n NUL [Name] Execute external buzzer drive [Code] ASCII ESC * r V 1 n NUL Hexadecimal 1B 2A 72 56 31 n 0 Decimal 27 42 1 14 86 49 n 0 [Dened Area] Thermal : m = 49, 50, 1 ≤ n ≤ 20 Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Fun[...]

  • Página 117

    Rev . 0.00 3-105 ST ARLineModeCommandSpecications 3-5) Black Mark Related Command Details The following commands control top of form functions using black mark paper. The following commands are effective only when black mark is set to be effective. ESC d n [Name] Auto - cutter: [Code] ASCII ESC d n Hexadecimal 1B 64 n Decimal 27 100 [...]

  • Página 118

    Rev . 0.00 3-106 ST ARLIneModeCommandSpecications FF [Name] Execute top of form [Code] ASCII FF Hexadecimal 0C Decimal 12 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Executes top of form. <Slip>,<Validation> One byte igno[...]

  • Página 119

    Rev . 0.00 3-107 ST ARLineModeCommandSpecications ESC C 0 n [Name] Set page length to n x 24 mm units [Code] ASCII ESC C 0 n Hexadecimal 1B 43 0 n Decimal 27 67 0 n [Dened Area] Thermal : 1 ≤ n ≤ 22 Slip : - V alidation : - [Initial V alue] Thermal : (Form feed amount initial value x 42) Slip : - V alidation : - [Function] [...]

  • Página 120

    Rev . 0.00 3-108 ST ARLIneModeCommandSpecications VT [Name] Feed paper to vertical tab position [Code] ASCII VT Hexadecimal 0B Decimal 1 1 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> When black mark is effective, this command is ignored. &[...]

  • Página 121

    Rev . 0.00 3-109 ST ARLineModeCommandSpecications ESC B NUL [Name] Clear vertical tab position [Code] ASCII ESC B NUL Hexadecimal 1B 42 00 Decimal 27 66 0 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> When black mark is effective, this comma[...]

  • Página 122

    Rev . 0.00 3-1 10 ST ARLIneModeCommandSpecications 3-6) 2-Color Printing Command Details The following commands control 2-color printing functions. The following commands are effective only when using a model handling 2-color printing. ESC RS c n [Name] Set print color in 2-color print mode [Code] ASCII ESC RS c n Hexadecimal 1B 1E 6[...]

  • Página 123

    Rev . 0.00 3-1 1 1 ST ARLineModeCommandSpecications ESC RS C n [Name] Select/cancel 2-color print mode [Code] ASCII ESC RS C n Hexadecimal 1B 1E 43 n Decimal 27 30 67 n [Dened Area] Thermal : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 (“0” ≤ n ≤ “2”), n = 16, n =32 Slip : - V alidation : - [Initial V alue] Thermal : n = 0, 48 S[...]

  • Página 124

    Rev . 0.00 3-1 12 ST ARLIneModeCommandSpecications ESC 4 [Name] (Thermal) Specify black/white inversion/(Slip) specify black/white inversion/specify red/black color [Code] ASCII ESC 4 Hexadecimal 1B 34 Decimal 27 52 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : White/black inversion cancelled Slip[...]

  • Página 125

    Rev . 0.00 3-1 13 ST ARLineModeCommandSpecications ESC RS d n [Name] Set print density [Code] ASCII ESC RS d n Hexadecimal 1B 1E 64 n Decimal 27 30 100 n [Dened Area] Thermal : 0 ≤ n ≤ 15 48 ≤ n ≤ 57 (“0” ≤ n ≤ “9”), 65 ≤ n ≤ 70 (“A” ≤ n ≤ “F”) Slip : - V alidation : - [Initial V alue] Therma[...]

  • Página 126

    Rev . 0.00 3-1 14 ST ARLIneModeCommandSpecications ESC RS r n [Name] Set printing speed [Code] ASCII ESC RS r n Hexadecimal 1B 1E 72 n Decimal 27 30 1 14 n [Dened Area] Thermal : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”) Slip : - V alidation : - [Initial V alue] Thermal : Memory switch setting Slip : - V alida[...]

  • Página 127

    Rev . 0.00 3-1 15 ST ARLineModeCommandSpecications ESC FS q n [x1 1 x12 y1 1 y12 d1 … dk]1 … [xn1 xn2 yn1 yn2 d1 … dk] n [Name] Register logo [Code] ASCII ESC FS q n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Hexadecimal 1B 1C 71 n [x1 1 x12 y1 1 y12 d1 .. dk]1 .. [xn1 xn2 yn1 yn2 d1 .. dk]n Decimal 27 28 1 13[...]

  • Página 128

    Rev . 0.00 3-1 16 ST ARLIneModeCommandSpecications (Note) The registered data is shared by all stations and modes. If this command is used frequently , there is the possibility of damaging the non-volatile memory . Write to the non-volatile memory less than 10 times in one day . Relationship of logo and registered data xn = xn1 + xn2[...]

  • Página 129

    Rev . 0.00 3-1 17 ST ARLineModeCommandSpecications ESC FS p n m [Name] Print logo [Code] ASCII ESC FS p n m Hexadecimal 1B 1C 70 n m Decimal 27 28 1 12 n m [Dened Area] Thermal : 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ “3”) Slip : 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, (“0” ≤ m ≤ [...]

  • Página 130

    Rev . 0.00 3-1 18 ST ARLIneModeCommandSpecications 3-7) Mark Command Details This command is specialized to mark sheet printing for lotteries. This command can print lines. Print Sample Command Transmission Example • Mark Format Mark Height h = 10 dots; Mark Line Feed Amount V = 20 dots Mark number 0: Mark Color c = White; Mark Hor[...]

  • Página 131

    Rev . 0.00 3-1 19 ST ARLineModeCommandSpecications ESC GS * 0 n m1 m2 m3 … mk [Name] Print Mark [Code] ASCII ESC GS * 0 n m1 m2 m3 ... mk Hexadecimal 1B 1D 2A 30 n m1 m2 m3 ... mk Decimal 27 29 42 48 n m1 m2 m3 ... mk [Dened Area] Thermal : “001” ≤ n ≤ “255”, “0” ≤ m ≤ “9”, k = n Slip : - V alidation :[...]

  • Página 132

    Rev . 0.00 3-120 ST ARLIneModeCommandSpecications ESC GS * 1 h v [Name] Specify mark height and line feed [Code] ASCII ESC GS * 1 h v Hexadecimal 1B 1D 2A 31 h v Decimal 27 29 42 49 h v [Dened Area] Thermal : “001” ≤ h ≤ “255”, “001” ≤ v ≤ “255”, h ≤ v Slip : - V alidation : - [Initial V alue] Thermal [...]

  • Página 133

    Rev . 0.00 3-121 ST ARLineModeCommandSpecications ESC GS * W [Name] Register mark format to non-volatile memory [Code] ASCII ESC GS * W Hexadecimal 1B 1D 2A 57 Decimal 27 29 42 87 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Registers the mark format (mark he[...]

  • Página 134

    Rev . 0.00 3-122 ST ARLIneModeCommandSpecications 3-8) AUTO LOGO Function Command Details If the portion that was changed was only the product name in a system, like the one below, already operating, this command functions to print a logo like the one below by only changing the product name. This function has two oper- ating modes. 1[...]

  • Página 135

    Rev . 0.00 3-123 ST ARLineModeCommandSpecications 2) Simple Auto Logo Function Preset the simple Auto Logo function, and execute the following operations with the printing cut command under the existing system as a trigger. (1) Simple Auto Logo function starts up using the existing system cut command as a trigger. (2) Center alignmen[...]

  • Página 136

    Rev . 0.00 3-124 ST ARLIneModeCommandSpecications Command Transmission Example 1) Set the Auto Logo function in advance and register to the non-volatile memory. ESC GS / 1 n ( n = 0x01 ): Auto Logo Function ON ESC GS / 2 n ( n = “/” ): Auto Logo Command Character (“/”) Specification ESC GS / 3 nL nH d1 d2 … dk: User macro 1[...]

  • Página 137

    Rev . 0.00 3-125 ST ARLineModeCommandSpecications ESC GS / W [Name] Register Auto Logo setting to non-volatile memory [Code] ASCII ESC GS / W Hexadecimal 1b 1d 2f 57 Decimal 27 29 47 87 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Registers Auto Logo setting [...]

  • Página 138

    Rev . 0.00 3-126 ST ARLIneModeCommandSpecications ESC GS / 1 n [Name] Set ON/OFF for Auto Logo function [Code] ASCII ESC GS / 1 n Hexadecimal 1b 1d 2f 31 n Decimal 27 29 47 49 n [Dened Area] Thermal : 0 ≤ n ≤ 2 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal> S[...]

  • Página 139

    Rev . 0.00 3-127 ST ARLineModeCommandSpecications ESC GS / 2 n [Name] Set command characters [Code] ASCII ESC GS / 3 n Hexadecimal 1b 1d 2f 32 n Decimal 27 29 47 50 n [Dened Area] Thermal : 32 ≤ n ≤ 127, n = 0 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal> Se[...]

  • Página 140

    Rev . 0.00 3-128 ST ARLIneModeCommandSpecications ESC GS / 3 nL nH d1 d2 … dk [Name] Set user macro 1 [Code] ASCII ESC GS / 3 nL nH d1 d2 ... dk Hexadecimal 1b 1d 2f 33 nL nH d1 d2 ... dk Decimal 27 29 47 51 nL nH d1 d2 ... dk [Dened Area] Thermal : 1 ≤ nL ≤ 64, nH = 0 1 ≤ (nL + nH x 256) ≤ 64 dk = (nL + nH x 256) 0 ?[...]

  • Página 141

    Rev . 0.00 3-129 ST ARLineModeCommandSpecications ESC GS / 4 nL nH d1 d2 … dk [Name] Set user macro 2 [Code] ASCII ESC GS / 4 nL nH d1 d2 ... dk Hexadecimal 1b 1d 2f 34 nL nH d1 d2 ... dk Decimal 27 29 47 52 nL nH d1 d2 ... dk [Dened Area] Thermal : 1 ≤ nL ≤ 64, nH = 0 1 ≤ (nL + nH x 256) ≤ 64 dk = (nL + nH x 256) 0 ?[...]

  • Página 142

    Rev . 0.00 3-130 ST ARLIneModeCommandSpecications ESC GS / 5 n [Name] Set command character switching method [Code] ASCII ESC GS / 5 n Hexadecimal 1b 1d 2f 35 n Decimal 27 29 47 53 n [Dened Area] Thermal : 0 ≤ n ≤ 1 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] <Thermal>[...]

  • Página 143

    Rev . 0.00 3-131 ST ARLineModeCommandSpecications ESC GS / 6 n [Name] Partial cut setting just prior to Auto Logo printing [Code] ASCII ESC GS / 6 n Hexadecimal 1b 1d 2f 36 n Decimal 27 29 47 54 n [Dened Area] Thermal : 0 ≤ n ≤ 1 Slip : - V alidation : - [Initial V alue] Thermal : n = 0 Slip : - V alidation : - [Function] &[...]

  • Página 144

    Rev . 0.00 3-132 ST ARLIneModeCommandSpecications This command selects execution of a partial cut just prior to Auto Logo Logo 2, and Logo 3, when executing Logos 2 and 3 as an Auto Logo print, as shown above. If a partial cut is set to be executed by this function, it is possible to supply coupons printed by Auto Logo cut by the par[...]

  • Página 145

    Rev . 0.00 3-133 ST ARLineModeCommandSpecications 3-9) 2-dimensional Bar Codes PDF417 Command Details This command prints 2-dimensional bar codes PDF417. Commands for 2-dimensional bar codes PDF417 are separated into the following four functions. 1) Barcodetypesetting  (<ESC><GS>“x”“S?[...]

  • Página 146

    Rev . 0.00 3-134 ST ARLIneModeCommandSpecications These are individual settings, so the following errors may occur even if there are no problems. In such cases, the bar codewillnotbegenerated,andthe(3)printcommand((<ESC><GS>“x”“P”)willbeignored. • An error occur[...]

  • Página 147

    Rev . 0.00 3-135 ST ARLineModeCommandSpecications ESC GS x S 0 n p1 p2 [Name] PDF417 bar code size setting [Code] ASCII ESC GS x S 0 n p1 p2 Hexadecimal 1B 1D 78 53 30 n p1 p2 Decimal 27 29 120 83 48 n p1 p2 [Dened Area] Thermal : n = 0, 1 When n = 0 1 ≤ p1 ≤ 99, 1 ≤ p2 ≤ 99 When n = 1 p1 = 0 or 3 ≤ p1 ≤ 90, p2 = 0 [...]

  • Página 148

    Rev . 0.00 3-136 ST ARLIneModeCommandSpecications ESC GS x S 2 n [Name] Set PDF417 module X direction size [Code] ASCII ESC GS x S 2 n Hexadecimal 1B 1D 78 53 32 n Decimal 27 29 120 83 50 n [Dened Area] Thermal : 1 ≤ n ≤ 10 Slip : - V alidation : - [Initial V alue] Thermal : n = 2 Slip : - V alidation : - [Function] <The[...]

  • Página 149

    Rev . 0.00 3-137 ST ARLineModeCommandSpecications ESC GS x D nL nH d1 d2 … dk [Name] PDF417 bar code data setting [Code] ASCII ESC GS x D nL nH d1 d2 … dk Hexadecimal 1B 1D 78 44 nL nH d1 d2 … dk Decimal 27 29 120 68 nL nH d1 d2 … dk [Dened Area] Thermal : 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 1 ≤ (nL + nH x 256) ≤ 102[...]

  • Página 150

    Rev . 0.00 3-138 ST ARLIneModeCommandSpecications ESC GS x I [Name] Get PDF417 bar code expansion information [Code] ASCII ESC GS x I Hexadecimal 1B 1D 78 49 Decimal 27 29 120 73 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> In printing bar [...]

  • Página 151

    Rev . 0.00 3-139 ST ARLineModeCommandSpecications 3-10) Print Starting T rigger Control Command Details This command is for models equipped with an expansion control function that page-controls the command in line units by page-controlling the image buffer. ESC GS g 0 m n [Name] Print starting trigger [Code] ASCII ESC GS g 0 m n Hexa[...]

  • Página 152

    Rev . 0.00 3-140 ST ARLIneModeCommandSpecications 3-1 1) 2-dimensional Bar Codes QR Code Command Details * QR code is a registered trademark of DENSO WAVE Incorporated. This command prints 2-dimensional bar codes of QR code. Commands for 2-dimensional bar codes QR code are separated into the following four functions. 1) Barcode[...]

  • Página 153

    Rev . 0.00 3-141 ST ARLineModeCommandSpecications 2) Bar code data setting command This command set the bar code print data. There are four types of data types that can be set by the QR code. They are: numbers, alpha-numeric characters, binary and Kanji characters. However, with these specifications, there are two data setting method[...]

  • Página 154

    Rev . 0.00 3-142 ST ARLIneModeCommandSpecications Below is a command transmission example. (1) Bar code type setting   <ESC><GS>“y”“S”“0”1 :Settomodel1.   <ESC><GS>“y”“S”“1”0 :SeterrorcorrectionleveltoL.   <ESC&g[...]

  • Página 155

    Rev . 0.00 3-143 ST ARLineModeCommandSpecications ESC GS y S 0 n [Name] Set QR code model [Code] ASCII ESC GS y S 0 n Hexadecimal 1B 1D 79 53 30 n Decimal 27 29 121 83 48 n [Dened Area] Thermal : 1 ≤ n ≤ 2 Slip : - V alidation : - [Initial V alue] Thermal : n = 2 Slip : - V alidation : - [Function] <Thermal> Sets t[...]

  • Página 156

    Rev . 0.00 3-144 ST ARLIneModeCommandSpecications ESC GS y S 2 n [Name] Set QR code cell size [Code] ASCII ESC GS y S 2 n Hexadecimal 1B 1D 79 53 32 n Decimal 27 29 121 83 50 n [Dened Area] Thermal : 1 ≤ n ≤ 8 Slip : - V alidation : - [Initial V alue] Thermal : n = 3 Slip : - V alidation : - [Function] <Thermal> Se[...]

  • Página 157

    Rev . 0.00 3-145 ST ARLineModeCommandSpecications ESC GS y D 1 m nL nH d1 d2 … dk [Name] QR code data setting (automatic setting) [Code] ASCII ESC GS y D 1 m nL nH d1 d2 … dk Hexadecimal 1B 1D 79 44 31 m nL nH d1 d2 … dk Decimal 27 29 121 68 49 m nL nH d1 d2 … dk [Dened Area] Thermal : m = 0 0 ≤ nL ≤ 255, 0 ≤ nH ?[...]

  • Página 158

    Rev . 0.00 3-146 ST ARLIneModeCommandSpecications ESC GS y D 2 a m1 n1L n1H d1 1 d12 … d1k m2 n2L n2H d21 d22 … d2k ml … dlk [Name] QR code data setting (manual setting) [Code] ASCII ESC GS y D 2 a m1 n1L n1H d1 1 d12 … d1k Hexadecimal 1B 1D 79 44 32 a m1 n1L n1H d1 1 d12 … d1k Decimal 27 29 121 68 50 a m1 n1L n1H d1 1 d12 [...]

  • Página 159

    Rev . 0.00 3-147 ST ARLineModeCommandSpecications ESC GS y P [Name] Print QR code [Code] ASCII ESC GS y P Hexadecimal 1B 1D 79 50 Decimal 27 29 121 80 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> This command prints the bar code data. When [...]

  • Página 160

    Rev . 0.00 3-148 ST ARLIneModeCommandSpecications 3-12) Page Function Command Details ESC GS h 0 k m n [Name] 180˚inversionfunction [Code] ASCII ESC GS h 0 k m n Hexadecimal 1B 1D 68 30 k m n Decimal 27 29 104 48 k m n [Dened Area] Thermal : 0 ≤ k ≤ 1, m = 0, n = 0 Slip : - V alidation : - [Initial V alue] Ther[...]

  • Página 161

    Rev . 0.00 3-149 ST ARLineModeCommandSpecications ESC GS h 1 k m n [Name] Water mark function [Code] ASCII ESC GS h 1 k m n Hexadecimal 1B 1D 68 31 k m n Decimal 27 29 104 49 k m n [Dened Area] Thermal : 0 ≤ k ≤ 2, 0 ≤ m ≤ 2, 1 ≤ n ≤ 255 Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [...]

  • Página 162

    Rev . 0.00 3-150 ST ARLIneModeCommandSpecications Example of Use 1) Register logo to use as the water mark as logo #1. 2) Water mark function is valid.: ESC GS h 1 k m n (k=0x02, m=0x01, n=0x01) 3) Transmit print data: Print data (print length is within the length of the image buffer) 4) Trigger command transmission: ESC d n (cutter [...]

  • Página 163

    Rev . 0.00 3-151 ST ARLineModeCommandSpecications 3-13) Slip/V alidation Function Command Details ESC SI n [Name] Set slip sensor [Code] ASCII ESC SI n Hexadecimal 1B 0F n Decimal 27 15 n [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Three bytes ignored ESC FF[...]

  • Página 164

    Rev . 0.00 3-152 ST ARLIneModeCommandSpecications ESC VT m n [Name] Sets slip paper discharge direction and discharge length [Code] ASCII ESC VT m n Hexadecimal 1B 0B m n Decimal 27 1 1 m n [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Four bytes ignored ESC E[...]

  • Página 165

    Rev . 0.00 3-153 ST ARLineModeCommandSpecications 3-14) Page Mode Command Details FF [Name] Batch printing of page data (valid only in page mode) [Code] ASCII FF Hexadecimal 0C Decimal 12 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Refer t[...]

  • Página 166

    Rev . 0.00 3-154 ST ARLIneModeCommandSpecications ESC n [Name] Selects page mode [Code] ASCII ESC n Hexadecimal 1B 6E Decimal 27 1 10 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Two bytes ignored <Slip>,<Validation> Shift[...]

  • Página 167

    Rev . 0.00 3-155 ST ARLineModeCommandSpecications ESC ! [Name] Select line mode (Default) [Code] ASCII ESC ! Hexadecimal 1B 21 Decimal 27 33 [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] <Thermal> Two bytes ignored <Slip>,<Validation>?[...]

  • Página 168

    Rev . 0.00 3-156 ST ARLIneModeCommandSpecications ESC * xL xH yL yH dxL dxH dyL dyH [Name] Set page mode print region [Code] ASCII ESC * xL xH yL yH dxL dxH dyL dyH Hexadecimal 1B 2A xL xH yL yH dxL dxH dyL dyH Decimal 27 42 xL xH yL yH dxL dxH dyL dyH [Dened Area] Thermal : - Slip : 0 ≤ xL ≤ 255, 0 ≤ xH ≤ 2 0 ≤ yL ?[...]

  • Página 169

    Rev . 0.00 3-157 ST ARLineModeCommandSpecications ESC T n [Name] Set page mode rotation direction [Code] ASCII ESC T n Hexadecimal 1B 54 n Decimal 27 84 n [Dened Area] Thermal : - Slip : 0 ≤ n ≤ 3, 48 ≤ n ≤ 51, (“0” ≤ n ≤ “3”) V alidation : 0 ≤ n ≤ 3, 48 ≤ n ≤ 51, (“0” ≤ n ≤ “3”) [Initial[...]

  • Página 170

    Rev . 0.00 3-158 ST ARLIneModeCommandSpecications 3-15) Station Selection Command Details ESC + A n [Name] Select printer station [Code] ASCII ESC + A n Hexadecimal 1B 2B 41 n Decimal 27 43 65 n [Dened Area] Thermal : n = 0, 3, 4, “0”, “3”, “4” Slip : n = 0, 3, 4, “0”, “3”, “4” V alidation : n = 0, 3, 4,[...]

  • Página 171

    Rev . 0.00 3-159 ST ARLineModeCommandSpecications 3-16) Presenter Related Command Details The following commands control the presenter functions. The following commands are effective only on models equipped with a presenter. ESC SYN 0 n [Name] Execute presenter paper recovery [Code] ASCII ESC SYN 0 n Hexadecimal 1B 16 30 n Decimal 27[...]

  • Página 172

    Rev . 0.00 3-160 ST ARLIneModeCommandSpecications ESC SYN 4 n [Name] Initialize presenter paper counter [Code] ASCII ESC SYN 4 n Hexadecimal 1B 16 4 n Decimal 27 22 52 n [Dened Area] Thermal : - Slip : - V alidation : - [Initial V alue] Thermal : - Slip : - V alidation : - [Function] Four bytes ignored[...]

  • Página 173

    Rev . 0.00 3-161 ST ARLineModeCommandSpecications 3-17) MICR Related Command Details The following commands control MICR functions. The following commands are effective only on models equipped with MICR. ESC FS M m n [Name] MICR function [Code] ASCII ESC FS M m n Hexadecimal 1B 1C 4D m n Decimal 27 28 77 m n [Dened Area] Therma[...]

  • Página 174

    Rev . 0.00 3-162 ST ARLIneModeCommandSpecications E13B Support Table T ype Numbers SYMBOL1 SYMBOL2 SYMBOL3 SYMBOL4 ASCII 0 to 9 T A O D Hex 30 to 39 54 41 4F 44 Decimal 48 to 57 84 65 79 68 CMC7 Support Table T ype Numbers S I S II S III S IV S V ASCII 0 to 9 / # = > ^ Hex 30 to 39 2F 23 3D 3E 5F Decimal 48 to 57 47 35 61 62 94[...]

  • Página 175

    Rev . 0.00 4-1 ST ARLIneModeCommandSpecications 4. CHARACTER CODE T ABLES Character Code Specifications References[...]

  • Página 176

    Rev . 0.00 5-1 ST ARLIneModeCommandSpecications 5. APPENDIX 5-1) Appendix 1: Bar Code Specication Details <Thermal> Refer to the dedicated manuals for characteristics and methods of use for each bar code symbol. This section describes precautions and methods for setting when printing with the printer. Bar code widths are set[...]

  • Página 177

    Rev . 0.00 5-2 ST ARLIneModeCommandSpecications 5-1-3) JAN/EAN/UPC Used numbers, not only the bar code symbols, are controlled using JAN, EAN and UPC as shared common commer- cial codes. Mainly, they are used for supermarkets such as shops and grocery stores. 1. Each mode and bar code width Items Mode 1 Mode 2 Mode 3 Module Width 2 D[...]

  • Página 178

    Rev . 0.00 5-3 ST ARLIneModeCommandSpecications 5-1-4) Code 128 These are bar code symbols that can print ASCII 128 characters. For that reason, use thereof is increasing. 1. Each module and module width Items Mode 1 Mode 2 Mode 3 Module Width 2 Dots 3 Dots 4 Dots Length of 1 Character (*) 2.75mm 4.125mm 5.5mm (*) Start and stob bars[...]

  • Página 179

    Rev . 0.00 5-4 ST ARLIneModeCommandSpecications 3. 2-Character set code table <ControlCodes> <ControlCodes> <ControlCodes> Code Format Code Format NUL 00H %@ 25H 40H % 25H %0 25H 30H SOH 01H %A 25H 41H STX 02H %B 25H 42H <FunctionCodes> ETX 03H %C 25H 43H Code Format EOT 04H %D 25H 44H FNC[...]

  • Página 180

    Rev . 0.00 5-5 ST ARLIneModeCommandSpecications 5-1-5) Code 93 1. Each mode and module width Items Mode 1 Mode 2 Mode 3 Module Width 2 Dots 3 Dots 4 Dots Length of 1 Character (*) 2.25mm 3.375mm 4.5mm (*) Start and stob bars not included. 2. Regulations • Start/stop codes are automatically applied. • Check character (C, K) is aut[...]

  • Página 181

    Rev . 0.00 5-6 ST ARLIneModeCommandSpecications 5-2) Appendix 2 – Status Specications <Shared> This function is valid only when using an interface capable of bi-directional data communications. Refer to your printer’s product specification manual to verify if the interface cable on the printer you use is capable of bi-di[...]

  • Página 182

    Rev . 0.00 5-7 ST ARLIneModeCommandSpecications 5-2-3) Automatic Status Automatic status is a group of states that are automatically returned from the printer to the host when the printer’s sta- tus has changed.Automatic status is composed of “Header – 1,” “Header – 2” and “plurality of bytes of the printer sta- tus a[...]

  • Página 183

    Rev . 0.00 5-8 ST ARLIneModeCommandSpecications (2) Header -2 Header -2 is the 1 byte length information transmitted from the second byte of the automatic status. The table below shows the composition of the Header -2. Header -2 represents the automatic status version (called automatic status version below) using bit 1 to bit 3 and b[...]

  • Página 184

    Rev . 0.00 5-9 ST ARLIneModeCommandSpecications (3) Printer Status Printer status is the status of the printer sent from the 3 rd byte of the automatic status. For the printer status, (the number of bytes added in Header -1 minus two) is returned. Printer status is always updated for new information. (No log exists.) The following sh[...]

  • Página 185

    Rev . 0.00 5-10 ST ARLIneModeCommandSpecications <Printerstatus4SensorInformation(SixthByte)> Bit Contents Status By model “0” “1” HSP7000 7 Fixed at “0” - - 6 Not Used (Fixed at “0”) - - 5 Not Used (Fixed at “0”) - 4 Fixed at “0” - - 3 Paper end Paper No paper ○ 2 Paper Near[...]

  • Página 186

    Rev . 0.00 5-1 1 ST ARLIneModeCommandSpecications <Printerstatus6ETBCounter(EighthByte)> Bit Contents Status By model “0” “1” HSP7000 7 Fixed at “0” - - 6 ETB Counter Bit-4 ○ 5 ETB Counter Bit-3 ○ 4 Fixed at “0” - - 3 ETB Counter Bit-2 ○ 2 ETB Counter Bit-1 ○ 1 ETB Counter Bit-[...]

  • Página 187

    Rev . 0.00 5-12 ST ARLIneModeCommandSpecications 5-2-4) Printer Status T ransmission Specication when using Ethernet and W ireless LAN Interfaces The following explains the printer status transmission specification when using Ethernet and wireless LAN interfaces. 1) Transmission format: • When transmitting only STAR ASB: STAR AS[...]

  • Página 188

    Rev . 0.00 5-13 ST ARLIneModeCommandSpecications (5) Printer status (variable) Status sent by printer The content of the status differs according to the cause. Refer to Commands That are Factors, and Automatic Status for details on the content of the status. (6) Delimiter 2 (1 byte) Sends “;”. 3) Status transmission specification[...]

  • Página 189

    Rev . 0.00 5-14 ST ARLIneModeCommandSpecications 5-3) Appendix 3 – Blank Code Page Conguration <Thermal> Blank code pages are character code tables that are empty from character code 80H to FFH. They can be specified using the command below. • ESC GS t n (n = 255) Also, it is possible to write data to the blank code page[...]

  • Página 190

    Rev . 0.00 5-15 ST ARLIneModeCommandSpecications 2. Example configuration of Font B data. (9 x 24 font) Fig. A-2 9 x 24 Font MSB LSB MSB LSB d1 d2 0 0 0 0 0 0 0 d3 • • • d4 0 0 0 0 0 0 0 d5 • • • • • d6 0 0 0 0 0 0 0 d7 • • • • • d8 0 0 0 0 0 0 0 d9 • • • • d10 0 0 0 0 0 0 0 d1 1 • • • • d12 [...]

  • Página 191

    Rev . 0.00 5-16 ST ARLIneModeCommandSpecications 5-4) Appendix 4 : QR Code Maximum Input Character Count in Each V erson <Thermal> 1) Model 1 Versions and Maximum Input Character Count V ersion Number of Cells on One Side Error Correction Level Numbers English Language Characters Binary Kanji Character 1 21 L 40 24 17 10 M 33 2[...]

  • Página 192

    Rev . 0.00 5-17 ST ARLIneModeCommandSpecications 2) Model 2 Versions and Maximum Input Character Count V ersion Number of Cells on One Side Error Correction Level Numbers English Language Characters Binary Kanji Character 1 21 L 41 25 17 10 M 34 20 14 8 Q 27 16 1 1 7 H 17 10 7 4 2 25 L 77 47 32 20 M 63 38 26 16 Q 48 29 20 12 H 34 20 [...]

  • Página 193

    Rev . 0.00 5-18 ST ARLIneModeCommandSpecications V ersion Number of Cells on One Side Error Correction Level Numbers English Language Characters Binary Kanji Character 16 81 L 1408 854 586 361 M 1082 656 450 277 Q 775 470 322 198 H 602 365 250 154 17 85 L 1548 938 644 397 M 1212 734 504 310 Q 876 531 364 224 H 674 408 280 173 18 89 L[...]

  • Página 194

    Rev . 0.00 5-19 ST ARLIneModeCommandSpecications V ersion Number of Cells on One Side Error Correction Level Numbers English Language Characters Binary Kanji Character 31 141 L 4417 2677 1840 1 132 M 3486 21 13 1452 894 Q 2473 1499 1030 634 H 1897 1 150 790 486 32 145 L 4686 2840 1952 1201 M 3693 2238 1538 947 Q 2670 1618 1 1 12 684 [...]

  • Página 195

    Rev . 0.00 6-1 ST ARLIneModeCommandSpecications 6. SPECIAL APPENDIX COMMAND LIST BY MODEL ○:ValidCommands •:ValidCommands(IndependentFunctionsonThermal/Slip) ‡:Commandwhereonlysettingsarevalid × : Invalid command (Ignored) • Standard Commands Class Commands[...]

  • Página 196

    Rev . 0.00 6-2 ST ARLIneModeCommandSpecications Class Commands Class Model Name HSP7000 Set Executed Thermal Slip Bit Image ESC K ○ ○ ○ Graphics ESC L ○ ○ ○ ESC k ○ ○ × ESC X ○ ○ × ESC ^ ○ × ○ Logo ESC FS q ○ ○ ○ ESC FS p ○ ○ ○ ESC RS L ○ ○ ○ Bar Codes ESC b ○ ○ ○ Cutter Control ESC [...]

  • Página 197

    Rev . 0.00 6-3 ST ARLIneModeCommandSpecications • Raster related commands Class Commands Class Model Name HSP7000 Set Executed Thermal Slip Raster ESC * r R ○ ○ × ESC * r A ○ ○ × ESC * r B ○ ○ × ESC * r C ○ ○ × ESC * r D ○ ○ × ESC * r E ○ ○ × ESC * r F ○ ○ × ESC * r P ○ ○ × ESC * r Q ○ ○ [...]

  • Página 198

    Rev . 0.00 6-4 ST ARLIneModeCommandSpecications • Auto Logo Commands Class Commands Class Model Name HSP7000 Set Executed Thermal Slip Auto Logo ESC GS / W ○ ○ ○ ESC GS / C ○ ○ ○ ESC GS / 1 ○ ○ ‡ ESC GS / 2 ○ ○ ‡ ESC GS / 3 ○ ○ ‡ ESC GS / 4 ○ ○ ‡ ESC GS / 5 ○ ○ ‡ ESC GS / 6 ○ ○ ‡ ?[...]

  • Página 199

    Rev . 0.00 6-5 ST ARLIneModeCommandSpecications • QR Code Commands Class Commands Class Model Name HSP7000 Set Executed Thermal Slip QR Codes ESC GS y S 0 ○ ○ ‡ ESC GS y S 1 ○ ○ ‡ ESC GS y S 2 ○ ○ ‡ ESC GS y D 1 ○ ○ ‡ ESC GS y D 2 ○ ○ ‡ ESC GS y P ○ ○ × ESC GS y I ○ ○ ○ • Page Function Com[...]

  • Página 200

    Rev . 0.00 7-1 ST ARLIneModeCommandSpecications 7. SPECIAL APPENDIX COMMAND FUNCTION LIST 7-1) HSP7000 7-1-1) Setting Command List Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Font Style and ESC RS F Shared Only valid[...]

  • Página 201

    Rev . 0.00 7-2 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Adornment ESC E Shared V alid V alid Shared V alid Shared ESC G Shared Invalid T wo bytes ignored Invalid Two bytes ignored [...]

  • Página 202

    Rev . 0.00 7-3 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precau- tions Line/Page Other Precautions Line/Page Other Precautions Download ESC & Shared V alid V alid Shared Shared with validation V alid Shared Shared with slip ESC % Shared V alid V[...]

  • Página 203

    Rev . 0.00 7-4 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, Validation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Macro ESC GS + Shared V alid V alid Shared V alid Shared Raster Mode ESC * r E Independent Station selection command dependen[...]

  • Página 204

    Rev . 0.00 7-5 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Printer Driver ESC RS A Independent Station selec- tion command dependent V alid V alid only Line Page Mode: V alid after sw[...]

  • Página 205

    Rev . 0.00 7-6 ST ARLIneModeCommandSpecications 7-1-2) Execution Command List Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Line spacing LF Independent Station selection command dependent V alid V alid For each Line/Pa[...]

  • Página 206

    Rev . 0.00 7-7 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions External Device Drive BEL Shared V alid V alid Shared V alid Shared FS Shared V alid V alid Shared V alid Shared SUB Shared [...]

  • Página 207

    Rev . 0.00 7-8 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alida- tion Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Raster Mode ESC * r D Independent Station selection command dependent Only valid for thermal V alid Invalid Data received [...]

  • Página 208

    Rev . 0.00 7-9 ST ARLIneModeCommandSpecications Execution Station Thermal Slip V alidation T ype Command Thermal, Slip, V alidation Line Other Precautions Line/Page Other Precautions Line/Page Other Precautions Head Failure Detection ESC RS # Independent Station selec- tion command dependent Invalid Four bytes ignored Invalid Four by[...]

  • Página 209

    Rev . 0.00 2008.09.29 Printed in Japan, 8087710 5 ELECTRONIC PRODUCTS DIVISION ST AR MICRONICS CO., L TD. 53 6 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 Japan T el: (int+81)-54-347-01 12, Fax: (int+81)-54-347-0709 Please access the following URL ht t p : / / w w w . s t a r - m . j p / eng/dl/dl02.htm for the latest revision of the manual. OVER[...]