Samsung SRP-500 User Manual

Page 38

Advertising
background image

67

GS j n

[Name]

Enable/disable Automatic Status Back (ASB) for ink

[Format]

ASCII

GS

j

n

Hex

1D

6A

n

Decimal

29

106 n

[Range]

0 ≤ n ≤ 255

[Default]

n = 0

[Description]

Enables of disables the ASB for ink

n specifies the status for the ASB in the table below :

Bit Function Binary

Hexadicimal

Decimal

Disable online/offline status
of the ink mechanism

0 00 0

0

Enable online/offline status

of the ink mechanism

1 01 1

Disable the status of ink
detection

0 00 0

1

Enable the status of ink
detection

1 02 2

2~7 Reserved

0

00

0

[Notes]

• ASB(Automatic Status Back) transmits the status such as ink near-end, ink

cartridge installed/not installed automatically to the printer in real-time. It is
called [ASB function] and the status is [ASB status]. If you use ASB,
application can acquire the printer change in real-time and passively.

• Enabling any status (except n =0) starts ASB. Then the current ASB status

is transmitted. After that, when ASB is active, the selected enabled ASB
status is transmitted each time the status changes.

• When n = 0, ASB is disabled. During ASB is disabled, ASB status is not

transmitted.

• ASB status for ink is 4-byte, consisting of [header + status A + status B +

NUL].

• Header is [Hexadecimal = 35H/Decimal = 53]

68

• Status A :

Bit Function Binary

Hexadicimal

Decimal

Ink near-end not detected (1

st

color)

0

00

0

0

Ink near-end detected (1

st

color)

1

01

1

Ink end not detected (1

st

color)

0

00

0

1

Ink end detected (1

st

color)

1

02

2

Ink cartridge installed (1

st

color)

0

00

0

2

Ink cartridge not installed (1

st

color)

1

04

4

Ink cartridge installed (2

nd

color)

0

00

0

3

Ink cartridge not installed (2

nd

color)

1

08

8

4 Reserved

-

-

-

Cleaning is not being performed

0

00

0

5

Cleaning is being performed

1

20

32

6 Fixed

1

40

64

7 Fixed

0

00

0

• Status B :

Bit Function Binary

Hexadicimal

Decimal

Ink near-end not detected (2

nd

color)

0

00

0

0

Ink near-end detected (2

nd

color)

1

01

1

Ink end not detected (2

nd

color)

0

00

0

1

Ink end detected (2

nd

color)

1

02

2

2~5 Reserved

-

-

-

6 Fixed

1

40

64

7 Fixed

0

00

0

• ASB is enabled if any status item is selected. The printer transmits a 4-

byte status when this command is executed. The printer automatically
transmits a 4-byte status message whenever the status changes. Each
status represents the current status.

n

ASB status

Bit Status ASB

status

Bit

Detect ink end

Status A: Bit 1

Detect ink cartridge

Status A: Bit 2

0

Online/offline status of ink
mechanism

Cleaning

Status A: Bit 5

Detect ink near-end

Status A: Bit 0

Detect ink end

Status A: Bit 1

1

Ink detection status

Detect ink cartridge

Status A: Bit 2

Advertising