Samsung SRP-500 manual DLE EOT n, Name Real-time status transmission Format, = 2 Off-line status

Page 23

DLE EOT n

[Name]

Real-time status transmission

[Format]

ASCII

DLE

EOT

n

 

Hex

10

04

n

 

Decimal

16

4

n

[Range]

1 ≤ n ≤ 4

 

 

 

[Description]

Transmits the selected printer status specified by n in real

 

time, according to the following parameters:

 

n = 1: Transmit printer status

n = 2: Transmit off-line status

n = 3: Transmit error status

n = 4: Transmit paper roll sensor status

[Notes]

This command should not be used within the data sequence of another command that consists of 2 or more bytes. For example, If you attempt to transmit ESC 3 n to the printer, but DTR (DSR for the host computer) goes to MARK before n is transmitted and then DLE EOT 3 interrupts before n is received, the code <10>H for DLE EOT 3 is processed as the code for ESC 3

<10>H.

37

n = 1 : Printer status

Bit

Off/On

Hex

Decimal

Function

0

Off

00

0

Not used. Fixed to Off.

1

On

02

2

Not used. Fixed to On.

2

Off

00

0

Drawer kick-out signal is LOW (connector pin 3)

 

On

04

4

Drawer kick-out signal is HIGH (connector pin 3)

3

Off

00

0

On-line.

 

On

08

8

Off-line.

4

On

10

16

Not used. Fixed to On.

5

Off

00

0

Not used. Fixed to Off.

6

Off

00

0

Not used. Fixed to Off.

7

Off

00

0

Not used. Fixed to Off.

n = 2 : Off-line status

Bit

Off/On

Hex

Decimal

Function

0

Off

00

0

Not used. Fixed to Off.

1

On

02

2

Not used. Fixed to On.

2

Off

00

0

Cover is closed (front & rear)

 

On

04

4

Cover is open (front or rear)

3

Off

00

0

Paper is not being fed by using the paper feed button.

 

On

08

8

Paper is being fed by the paper feed button.

4

On

10

16

Not used.

5

Off

00

0

Fixed to On.

 

On

20

32

No paper-end stop.

6

Off

00

0

Printing stops due to paper end.

 

On

40

64

No error. Error occurs.

7

Off

00

0

Not used. Fixed to Off.

Bit 5 : On (printing stops due to paper-end) when printing stops due to paper- end detected by the paper-end sensor or the paper near-end enabled by using the ESC c 4.

38

Image 23
Contents SRP-500 Do not let water or other foreign objects Printer ReachTaking following measures EMC and Safety standards Applied Table of contents Front view Rear view IntroductionChoosing 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 Clean Button Using the control panelControl panel Power LED Error LEDIf any of the lights are on, please check the following TroubleshootingSelf test Running the self testPrinting is poor Cleaning the print headPrinter stops printing You want to check the operation of the printer by itselfYou want to check a software program DIP switch settingsSetting the DIP switches DIP switch functionsChanging 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 Commands Control commands listName Horizontal tab Format Command descriptionsCharacter Code Tables = 2 Off-line status DLE EOT nName Real-time status transmission Format Name Real-time request to printer Format = 3 Error statusDLE ENQ n ESC SP nName Select print modes Format Name Select/cancel user-defined character set FormatESC ! n ESC % nName 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 D n1... nk NUL ESC ? nESC 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 I n GS a pL pH n mGS a n Name Enable/Disable Automatic Status Back Format① GS V m ② GS V m n Third byte paper sensor information Default n = ReferenceFirst byte printer information Second byte printer informationStatus B GS j nReference information Printing specificationPaper specification Ink cartridge specificationReliability Electrical characteristicsDimensions & Weight Optional featuresMemo ………..………………………………………………