Samsung SRP-500 manual GS j n, Status B

Page 38

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

Image 38
Contents SRP-500 Do not let water or other foreign objects Printer ReachTaking following measures EMC and Safety standards Applied Table of contents Introduction Front view Rear viewChoosing a place for the printer Setting up the printerUnpacking Connecting the interface cable Connecting the cablesConnect the AC adapter according to the following procedure Installing or replacing paper roll Installing new Ink cartridges Error LED Using the control panelControl panel Power LED Clean ButtonRunning the self test TroubleshootingSelf test If any of the lights are on, please check the followingYou want to check the operation of the printer by itself Cleaning the print headPrinter stops printing Printing is poorDIP switch functions DIP switch settingsSetting the DIP switches You want to check a software programChanging the DIP switch setting Code table 3 PC860 Portuguese 4 PC 863 Canadian French 5 PC 865 Nordic 16 CP1252 WinLatin1 17 PC 866 Russian 18 CP 852 DosLatin2 19 PC 858 Euro 21 MS-DOS 862 Israel 22 MS-DOS 864 Arabic 23 MS-DOS 874 Thai Control commands list CommandsName Horizontal tab Format Command descriptionsCharacter Code Tables = 2 Off-line status DLE EOT nName Real-time status transmission Format ESC SP n = 3 Error statusDLE ENQ n Name Real-time request to printer FormatESC % n Name Select/cancel user-defined character set FormatESC ! n Name Select print modes FormatName Define user-defined characters Format ESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xkESC * m nL nH d1...dk ESC = n ESC nESC 3 n ESC ? n ESC D n1... nk NULESC J n ESC E nESC G n ESC U n ESC R nESC a n Name Select paper sensorsto stop printing Format ASCll ESC c 3 nESC c 4 n ESC g0 k nH nL kd1…dmk ESC c 5 nESC d n ESC t n ESC mESC p m t1 t2 Name Transmit paper sensor status Format Name Turns on/off upside-down printing mode FormatESC GS a pL pH n m GS I nGS a n Name Enable/Disable Automatic Status Back Format① GS V m ② GS V m n Second byte printer information Default n = ReferenceFirst byte printer information Third byte paper sensor informationGS j n Status BInk cartridge specification Printing specificationPaper specification Reference informationOptional features Electrical characteristicsDimensions & Weight ReliabilityMemo ………..………………………………………………