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

0

00

0

 

0

of the ink mechanism

 

 

 

 

Enable online/offline status

1

01

1

 

 

 

 

of the ink mechanism

 

 

 

 

 

 

 

Disable the status of ink

0

00

0

 

1

detection

 

 

 

 

 

 

 

Enable the status of ink

1

02

2

 

 

 

 

detection

 

 

 

 

 

 

 

 

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]

67

Status A :

Bit

Function

Binary

Hexadicimal

Decimal

0

Ink near-end not detected (1st color)

0

00

0

Ink near-end detected (1st color)

1

01

1

1

Ink end not detected (1st color)

0

00

0

Ink end detected (1st color)

1

02

2

2

Ink cartridge installed (1st color)

0

00

0

Ink cartridge not installed (1st color)

1

04

4

3

Ink cartridge installed (2nd color)

0

00

0

Ink cartridge not installed (2nd color)

1

08

8

4

Reserved

-

-

-

5

Cleaning is not being performed

0

00

0

Cleaning is being performed

1

20

32

 

6

Fixed

1

40

64

7

Fixed

0

00

0

Status B :

Bit

Function

Binary

Hexadicimal

Decimal

0

Ink near-end not detected (2nd color)

0

00

0

Ink near-end detected (2nd color)

1

01

1

1

Ink end not detected (2nd color)

0

00

0

Ink end detected (2nd 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

0

Online/offline status of ink

Detect ink end

Status A: Bit 1

 

mechanism

Detect ink cartridge

Status A: Bit 2

 

 

Cleaning

Status A: Bit 5

1

Ink detection status

Detect ink near-end

Status A: Bit 0

 

 

Detect ink end

Status A: Bit 1

 

 

Detect ink cartridge

Status A: Bit 2

68

Page 38
Image 38
Samsung SRP-500 manual GS j n, Status B