Microcom 814M Programming Manual User Manual

Page 61

Advertising
background image

57

[Reference]

ESC $, ESC T, ESC W, ESC \, GS $, GS P

GS ^ r t m

[Name]

[Format]

[Range]

[Description]

[Notes]

[Reference]

Execute macro

ASCII

GS

^

r

t

m

Hex

1D

5E

r t

m

Decimal 29

94

r t m

0 ≤ r ≤ 255

0 ≤ t ≤ 255

m = 0, 1

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.

When m = 0:

The macro executes r times continuously at the interval specified by t (t x 250

ms).

When 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.

ƒ

The waiting time is t × 250 ms for every macro execution.

ƒ

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, the command is disabled.

ƒ

When the macro is executed (m = 1), paper always cannot be fed by using the FEED

button.

GS :

GS a n

[Name]

[Format]

[Range]

[Description]

Enable / Disable Automatic Status Back (ASB)

ASCII GS a n

Hex

1D 61 n

Decimal 29 097 n

0 ≤ n ≤ 255

Enables or disables Automatic Status Back function.

Advertising