TH230/TH230+
Programmers Guide
159
GS ^
Function:
Execute macro
Code ASCII:
GS
^
r
t
m
Code HEX:
0x1D 0x5E
r
t
m
Range:
1 ≤
r
≤ 255
0 ≤
t
≤ 255
m
= 0, 1
Default:
None
Description:
Executes a macro r times while waiting
t
× 100 msec for each macro
execution, using the mode specified by
m
as follows:
• When
m
= 0, the macro executes
r
times continuously at the interval
specified by
t
.
• When
m
= 1, the printer waits for the period specified by
t
, blinks the
Paper LED, and then waits for the Paper feed button to be pressed. After this
button is pressed, the printer executes the macro once. The printer repeats
this operation
r
times.
Notes:
•
Macro function is useful to print the same data repeatedly. To define a
macro definition, send GS : just before and after 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.
•
If a macro is not defined or if
r
is 0, this command is ignored.
•
Even if the panel buttons are disabled by ESC c 5, paper feed button will
be enabled temporarily while printer is waiting for the button to be
pressed (
m
= 1). However, paper can not be fed if the paper feed button
is pressed.
•
If this command is processed while a macro is being defined, the printer
cancels macro definition and clears the definition.
•
This command can not be contained in the macro. Do not use this
command when the macro is defined.
•
When
m
= 1, the Paper LED indicator blinks during a macro waiting state.
•
See GS : for a state-machine!
•
If the printer is in Sleep Mode the first wait time is extended by the
wake-up time for state “Sleep Mode 1” and (if necessary) the power
wake-up time for state “Printing Mode”.
Summary of Contents for TH230
Page 1: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...
Page 3: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...
Page 214: ...TH230 TH230 Programmers Guide 207 Character code table Page 1 PC850 Multilingual Latin I ...
Page 215: ...Programmers Guide TH230 TH230 208 Character code table Page 2 PC852 Latin II ...
Page 216: ...TH230 TH230 Programmers Guide 209 Character code table Page 3 PC860 Portuguese ...
Page 217: ...Programmers Guide TH230 TH230 210 Character code table Page 4 PC863 Canadian French ...
Page 218: ...TH230 TH230 Programmers Guide 211 Character code table Page 5 PC865 Nordic ...
Page 219: ...Programmers Guide TH230 TH230 212 Character code table Page 6 PC858 Multilingual I Euro ...
Page 220: ...TH230 TH230 Programmers Guide 213 Character code table Page 7 PC866 Russian ...
Page 221: ...Programmers Guide TH230 TH230 214 Character code table Page 8 WPC1252 Latin I ...
Page 222: ...TH230 TH230 Programmers Guide 215 Character code table Page 9 PC862 Hebrew ...
Page 223: ...Programmers Guide TH230 TH230 216 Character code table Page 10 PC737 Greek ...
Page 224: ...TH230 TH230 Programmers Guide 217 Character code table Page 11 PC874 Thai ...
Page 225: ...Programmers Guide TH230 TH230 218 Character code table Page 12 PC857 Turkish ...
Page 226: ...TH230 TH230 Programmers Guide 219 Character code table Page 16 WPC1254 Turkish ...
Page 227: ...Programmers Guide TH230 TH230 220 Character code table Page 17 WPC1250 Central Europe ...
Page 228: ...TH230 TH230 Programmers Guide 221 Character code table Page 18 WPC28591 Latin 1 ...
Page 229: ...Programmers Guide TH230 TH230 222 Character code table Page 19 WPC28592 Latin 2 ...
Page 230: ...TH230 TH230 Programmers Guide 223 Character code table Page 20 WPC28599 Turkish ...
Page 231: ...Programmers Guide TH230 TH230 224 Character code table Page 21 WPC28605 Latin 9 ...
Page 232: ...TH230 TH230 Programmers Guide 225 Character code table Page 22 PC864 Arabic ...
Page 233: ...Programmers Guide TH230 TH230 226 Character code table Page 23 PC720 Arabic ...
Page 234: ...TH230 TH230 Programmers Guide 227 Character code table Page 24 WPC1256 Arabic ...
Page 235: ...Programmers Guide TH230 TH230 228 Character code table Page 25 WPC28596 Arabic ...
Page 236: ...TH230 TH230 Programmers Guide 229 Character code table Page 26 KATAKANA Asia ...
Page 237: ...Programmers Guide TH230 TH230 230 Character code table Page 27 PC775 Baltic ...
Page 238: ...TH230 TH230 Programmers Guide 231 Character code table Page 28 WPC1257 Baltic ...
Page 239: ...Programmers Guide TH230 TH230 232 Character code table Page 29 WPC28594 Baltic ...
Page 293: ...Wincor Nixdorf International GmbH 2013 D 33094 Paderborn ...