Samsung SRP-500 DLE ENQ n, ESC SP n, = 3 Error status, Name Real-time request to printer Format

Page 24

n = 3 : Error 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

 

No mechanical error.

 

 

 

 

 

On

 

04

 

4

 

Mechanical error occurred.

 

 

3

 

 

Off

 

00

 

0

 

No auto-cutter error.

 

 

 

 

On

 

08

 

8

 

 

Auto-cutter error occurs.

 

 

 

 

 

 

 

 

 

 

 

4

 

 

On

 

10

 

16

 

Not used. Fixed to On.

 

 

5

 

 

Off

 

00

 

0

 

No unrecoverable error.

 

 

 

 

 

On

 

20

 

32

 

Unrecoverable error occurs.

 

 

6

 

 

Off

 

00

 

0

 

Automatic recover error.

 

 

 

 

 

On

 

40

 

64

 

No automatic recover error.

 

 

7

 

 

Off

 

00

 

0

 

Not used. Fixed to Off.

 

Bit 2 : If these errors occur due to paper jams or the like, it is possible to recover by correcting the cause of the error and executing DLE ENQ 2. If an error due to a circuit failure (e.g. wire break) occurs, it is impossible to recover.

n = 4 : Continuous paper sensor 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, 3

 

 

Off

 

00

 

0

 

Paper near-end sensor. Paper adequate.

 

 

 

 

On

 

 

0C

 

12

 

Paper near-end is detected by the paper near-end

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sensor.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

On

 

10

 

16

 

Not used. Fixed to On.

 

 

5, 6

 

 

Off

 

00

 

0

 

Paper end sensor. Paper adequate.

 

 

 

 

 

On

 

60

 

96

 

Paper end is detected by the paper end sensor.

 

 

7

 

 

Off

 

00

 

0

 

Not used. Fixed to Off.

 

39

DLE ENQ n

[Name]

Real-time request to printer

 

[Format]

ASCII

DLE

ENQ

n

 

Hex

10

05

n

 

Decimal

16

5

n

[Range]

n = 2

 

 

 

[Description]

The printer responds to a request from the host specified

 

by n.

 

 

 

n = 2: Recovers from an error after clearing the receive and print buffers.

[Notes]

This command should not be used within the data sequence of another command that consists of two 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 DLE ENQ 2 interrupts before n is received, the code <10>H for DLE ENQ 2 is processed as the code for ESC 3 <10>H.

This command n = 2 is valid only when a mechanical error or an auto- cutter error has occurred.

DLE ENQ 2 enables the printer to recover from an error after clearing the data in the receive buffer and the print buffer.

The printer retains the settings (by ESC !, ESC 3, etc.) in effect when the error occurred. The printer can be initialized completely by using this command and ESC @. This command is enabled only for errors that have the possibility of recovery

ESC SP n

[Name]

Set right-side character spacing

[Format]

ASCII

ESC

SP

n

 

Hex

1B

20

n

 

Decimal

27

32

n

[Range]

0 n 255

 

 

[Description]

Sets the character spacing for the right side of the

 

character to [ n x 0.122 mm {1/208 inches}] .

[Notes]

The right-side character spacing for double-width mode is

 

twice the normal value.

 

[Default]

n = 0

 

 

 

40

Image 24
Contents SRP-500 Reach Taking following measuresDo not let water or other foreign objects Printer EMC and Safety standards Applied Table of contents Introduction Front view Rear viewSetting up the printer UnpackingChoosing a place for the printer Connecting the cables Connect the AC adapter according to the following procedureConnecting the interface cable Installing or replacing paper roll Installing new Ink cartridges Using the control panel Control panel Power LEDError LED Clean ButtonTroubleshooting Self testRunning the self test If any of the lights are on, please check the followingCleaning the print head Printer stops printingYou want to check the operation of the printer by itself Printing is poorDIP switch settings Setting the DIP switchesDIP switch functions 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 CommandsCommand descriptions Character Code TablesName Horizontal tab Format DLE EOT n Name Real-time status transmission Format= 2 Off-line status = 3 Error status DLE ENQ nESC SP n Name Real-time request to printer FormatName Select/cancel user-defined character set Format ESC ! nESC % n Name Select print modes FormatESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xk ESC * m nL nH d1...dkName Define user-defined characters Format ESC n ESC 3 nESC = n ESC ? n ESC D n1... nk NULESC E n ESC G nESC J n ESC R n ESC a nESC U n ESC c 3 n ESC c 4 nName Select paper sensorsto stop printing Format ASCll ESC c 5 n ESC d nESC g0 k nH nL kd1…dmk ESC m ESC p m t1 t2ESC t n Name Turns on/off upside-down printing mode Format ESCName Transmit paper sensor status Format GS a pL pH n m GS I nName Enable/Disable Automatic Status Back Format ① GS V m ② GS V m nGS a n Default n = Reference First byte printer informationSecond byte printer information Third byte paper sensor informationGS j n Status BPrinting specification Paper specificationInk cartridge specification Reference informationElectrical characteristics Dimensions & WeightOptional features ReliabilityMemo ………..………………………………………………