Gs ^ R T M; Gs A N - Bematech LR2000 Programming Manual

Pos thermal printer
Hide thumbs Also See for LR2000:
Table of Contents

Advertisement

 The contents of the macro can be defined up to 2048 bytes. If the macro definition
[Reference]
GS ^

GS ^ r t m

[Name]
Execute macro
[Format]
ASCII
Hex
Decimal
0 r 255
[Range]
0 t 255
m 0, 1
[Description]
Executes a macro.
 r specifies the number of times to execute the macro.
 t specifies the waiting time for executing the macro.
 m specifies macro executing mode.
 The waiting time is t×100 ms for every macro execution.
[Notes]
 If this command is received while a macro is being defined, the macro definition is
 If the macro is not defined or if r is 0, nothing is executed.
 When the macro is executed (m = 1), paper cannot be fed by using the FEED
[Reference]
GS :

GS a n

[Name]
Enable/Disable Automatic Status Back (ASB)
[Format]
ASCII
Hex
Decimal
0 n 255
[Range]
[Description]
Enables or disables ASB and specifies the status items to include, using n as follows:
exceeds 2048 bytes, excess data is not stored.
GS
^
r t m
1D 5E r
t m
29 94 r
t m
When the LSB of m = 0:
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1:
After waiting for the period specified by t, the PAPER OUT LED indicators blink
and the printer waits for the FEED button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats the operation
r times.
aborted and the definition is cleared.
button.
GS
a
n
1D
61 n
29
97 n
LR2000 Programming Manual V1.2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents