Section 5: Interface Specifications

5.13 DRIVER PROTOCOL (CONT’D)

Status Response

This transmission protocol responds to the host the printer's information, as a status by receiving printing commands or 2 types of requested commands.

The details of each requested command or Status response is as follows.

(1) Status Request Command

In receiving this command, the ID number of received data currently being printed and the printer's condition, as well as the remaining quantity of print jobs and their names, are responded to the host. Furthermore, after printing or if no data has been received, or if the ID command has not been specified, the ID number will be responded back as spaces (Hex 20H), and the quantity of print jobs will be responded back as all zeroes (Hex 30H).

a)Command ENQ (Hex 05H)

b)Responded Status Definition

STX (Hex 02H)

 

STX

ID number

Status

Remaining quantity

 

 

 

of print jobs

000000 ~ 999999

The ID specified using the ID number specification command is set.

 

ETX (Hex 03H)

Job name

ETX

 

The Job name specified using the Job Name specification command is set.

27(Byte)

c) Status Byte Definition

 

 

Contents

ASCII

Hex

Offline

No errors

 

 

0

30

 

Ribbon near end

 

 

1

31

 

Buffer near full

 

 

2

32

 

Ribbon near end and buffer near full

3

33

 

Printing stopped (no errors)

4

34

Online

Reception Standby

 

No errors

A

41

 

 

 

Ribbon near end

B

42

 

 

 

Buffer near full

C

43

 

 

 

Ribbon near end and buffer near full

D

44

 

 

 

Printing stopped (no errors)

E

45

 

Printing

 

No errors

G

47

 

 

 

Ribbon near end

H

48

 

 

 

Buffer near full

I

49

 

 

 

Ribbon near end and buffer near full

J

4A

 

 

 

Printing stopped (no errors)

K

4B

 

Standby

 

No errors

M

4D

 

(dispenser cut

 

Ribbon near end

N

4E

 

standby)

 

 

 

Buffer near full

O

4F

 

 

 

 

 

 

Ribbon near end and buffer near full

P

50

 

 

 

Printing stopped (no errors)

Q

51

 

Analyzing / Editing

 

No errors

S

53

 

 

 

Ribbon near end

T

54

 

 

 

Buffer near full

U

55

 

 

 

Ribbon near end and Buffer near full

V

56

 

 

 

Printing stopped (no errors)

W

57

Error detection

Head open

 

 

b

62

 

Paper End

 

 

c

63

 

Ribbon end

 

 

d

64

 

Media error

 

 

e

65

 

Sensor error

 

 

f

66

 

Head error

 

 

g

67

 

Card error

 

 

i

69

 

Cutter error

 

 

j

6A

 

Other errors

 

 

k

6B

 

Cutter sensor error

 

 

l

6C

 

Stacker Full

 

 

m

6D

Page 5-16

GT Series Operator’s Manual

Page 98
Image 98
SATO GT424 manual Status Response, Status Byte Definition