3. PRINTER FUNCTIONS
PRT 80
27
3-
m
t
r
E
5
$
D
1
$
[Name]
Execute macro
[Format]
ASCII
GS
^
r
t
m
Hex
1D
5E
r
t
m
Decimal
29
94
r
t
m
[Range]
0
≤
r, t
≤
255
0
≤
m
≤
1
[Description]
Executes a macro.
•
r
specifies the number of times to execute the macro.
•
t
specifies the waiting time for executing the macro.
The waiting time is
t
×
100 msec. for each macro execution.
•
m
specifies macro executing mode:
When the LSB of
m
= 0, the macro is executed
r
times continuously at the interval
specified by
t
.
When the LSB of
m
= 1, after waiting for the period specified by
t
, the LED indicator
blinks and the printer waits for the FORM FEED button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats the operation
r
times.
[Notes]
• This command has an interval of (
t
×
100 msec.) after a macro is executed by
t
.
• If this command is received while a macro is being defined, the macro definition is
aborted and the definition is cleared.
• If the macro is not defined or if
r
is 0, nothing is executed.
• When the macro is executed by pressing the FORM FEED button (
m
=1), the paper
cannot be fed using the FORM FEED button.
[Default]
[Reference]
$1D $3A
[Example]
c
S
G
[Name]
Print counter
[Format]
ASCII
GS
c
Hex
1D
63
Decimal 29
99
[Description]
Sets the serial counter value in the print buffer and increments or decrements the
counter value.
[Notes]
• After setting the current counter value in the print buffer as print data (a character
string), the printer counts up or down based on the count mode set. The counter value in
the print buffer is printed when the printer receives a print command or the buffer is full.
• The counter print mode is set using
GS C 0
.
• The counter mode is set using
GS C 1
or
GS C ;
.
• In count-up mode, if the counter value set by this command goes out of the counter
operation range set by
GS C 1
or
GS C ;
it is forced to revert to the minimum value.
• In count-down mode, if the counter value set by this command goes out of the counter
operation range set by
GS C 1
or
GS C ;
it is forced to revert to the maximum value.
[Default]
[Reference]
$1D $43 $30, $1D $43 $31, $1D $43 $32, $1D $43 $3B
[Example]
Содержание PRT 80
Страница 1: ...PRT 80 Thermal printer for information kiosks and ATMs PRT 80 User Manual www custom it ...
Страница 6: ...TABLE OF CONTENTS PRT 80 ii Blank Page ...
Страница 14: ...1 INSTALLATION AND USE PRT 80 4 1 Section printer wiew Fig 1 3 Fig 1 4 ...
Страница 16: ...1 INSTALLATION AND USE PRT 80 6 1 Blank page ...
Страница 91: ...4 TECHNICAL SPECIFICATIONS PRT 80 3 4 4 2 DIMENSIONS Fig 4 1 Fig 4 2 Side view Front view B section view ...
Страница 92: ...4 TECHNICAL SPECIFICATIONS PRT 80 4 4 Fig 4 3 Top view Low view Fig 4 4 4 X M3 ...
Страница 94: ...5 CHARACTER SETS PRT 80 2 5 Blank page ...