m specifies macro executing mode.

When m = 0:

The macro executes r times continuously with interval specified by t.

When m = 1:

After waiting for the period specified by t, the PAPER OUT and SLIP LED indicators blink and the printer waits for the FEED, FORWARD or REVERSE button to be pressed. After the button is pressed, the printer executes the macro once. The printer repeats the operation r times.

GS a n

[Name]

Enable/Disable Automatic Status Back (ASB)

[Format]

ASCII

GS

a

n

 

Hex

1D

61

n

 

Decimal

29

97

n

[Range]

0 ≤ n ≤ 255

 

[Description]

 

Enables or disables ASB and specifies the status items to include, using

 

 

 

n as follows:

 

 

 

 

 

 

 

Bit

Off/On

 

Hex

Decimal

Status for ASB

 

 

 

 

 

 

0

Off

 

00

0

Drawer kick-out connector pin 3 status disabled.

 

 

 

 

 

On

 

01

1

Drawer kick-out connector pin 3 status enabled.

 

 

 

 

 

 

 

 

1

Off

 

00

0

On-line/off-line status disabled.

 

 

 

 

 

On

 

02

2

On-line/off-line status enabled.

 

 

 

 

 

 

 

 

2

Off

 

00

0

Error status disabled.

 

 

 

 

 

On

 

04

4

Error status enabled.

 

 

 

 

 

 

 

 

3

Off

 

00

0

Paper roll sensor status disabled.

 

 

 

 

 

On

 

08

8

Paper roll sensor status enabled.

 

 

 

 

 

 

 

 

4

-

 

-

-

Undefined.

 

 

 

 

 

 

5

Off

 

00

0

Slip paper sensor status disabled.

 

 

 

 

 

On

 

20

32

Slip paper sensor status enabled.

 

 

 

 

 

 

 

 

6, 7

-

 

-

-

Undefined.

 

 

 

 

 

 

GS b n

[Name]

Turns smoothing mode on/off

 

[Format]

ASCII

GS

b

n

 

Hex

1D

62

n

 

Decimal

29

98

n

[Range]

0 ≤ n ≤ 255

 

 

 

[Description]

Turns smoothing mode on or off.

 

5-24Commands

Page 85
Image 85
Epson TM-H5000/H5000P manual 24Commands, GS a n