Samsung SRP-350 User Manual

Page 15

Advertising
background image

28

CAN

[Name]
[Format]


[Description]

Cancel print data in page mode.
ASCII CAN
Hex 18
Decimal 24
In page mode, deletes all the print data in the current printable area.

DLE EOT n

[Name]
[Format]


[Range]
[Description]

Real-time status transmission.
ASCII DLE EOT n
Hex 10 04 n
Decimal 16 4 n
1 ≤n ≤4
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.

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.

Off

00

0

Drawer open/close signal is LOW (connector pin 3).

2

On

04

4

Drawer open/close signal is HIGH (connector pin 3).

Off 00 0 On-Line

3

On 08 8 Off-Line

4

On

10

16

Not used. Fixed to On.

5-6 - - - Undefined.

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.

Off

00

0

Cover is closed.

2

On 04 4 Cover

is

open.

Off 00 0 Paper is not being fed by using the PAPER FEED button.

3

On

08

8

Paper is being fed by the PAPER FEED button.

4

On

10

16

Not used. Fixed to On.

Off

00

0

No paper-end stop.

5

On

20

32

Printing stops due to paper end.

Off 00 00 No

error.

6

On 40 64 Error

occurs.

7

Off

00

0

Not used. Fixed to Off.

Bit 5 : Becomes on when the paper end sensor detects paper end and printing stops.

29

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 - - - Undefined.

Off

00

0

No auto-cutter error.

3

On 08 8 Auto-cutter

error

occurs.

4

On

10

16

Not used. Fixed to On.

Off

00

0

No unrecoverable error.

5

On

20

32

Unrecoverable error occurs.

Off

00

0

No auto-recoverable error.

6

On

40

64

Auto recoverable error occurs.

7

Off

00

0

Not used. Fixed to Off.

Bit 3 :

Bit 6 :

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 n (1 ≤n ≤2).

When printing is stopped due to high print head temperature until the print
head temperature drops sufficiently or when the paper roll cover is open during
printing, bit 6 is on.

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

Off

00

0

Paper roll Near-END sensor : Paper adequate.

3

On

0C

12

Paper near-end is detected by the paper roll
Near-END sensor.

4

On

10

16

Not used. Fixed to On.

5

Off

00

0

Paper roll end sensor : Paper present.

6

On

60

96

Paper roll end detected by the paper roll-end
sensor.

7

Off

00

0

Not used. Fixed to Off.

DLE ENQ n

[Name]
[Format]


[Range]
[Description]

Real-time request to printer.
ASCII DLE ENQ n
Hex 10 05 n
Decimal 16 5 n
1 ≤n ≤2
Recovers from an error and restart printing from the line where the error
occurred.

Advertising