US r

VERSAJET

Programming Reference

[Name]

Get printer status

 

 

[Format]

ASCII

US r

 

 

 

 

 

Hex

1F 72

 

 

 

Decimal

31 114

 

 

[Return value]

 

 

 

 

 

 

Function

 

Length (Byte)

Value

 

 

Start byte

 

1

0x5F

 

 

Status

 

1

0x30: Idle

 

 

 

 

 

0x31: Paper empty

 

 

 

 

 

0x32: Cover opened

 

 

 

 

 

0x33: Command error

 

 

 

 

 

0x34: Paper jam

 

 

 

 

 

0x36: Thermal head broken

 

 

 

 

 

0x37: Thermal head overheated

 

 

 

 

 

0x38: Low battery

 

 

 

 

 

0x39: Motor overheated

 

 

 

 

 

0x3A: Thermal head overcooled

 

 

 

 

 

0x3B: Motor overcooled

 

 

 

 

 

0x3C: BT module error

 

 

End byte

 

1

0x00

[Description]

[Notes]

This is a real-time command that the printer executes upon receiving it.

The printer returns 3 bytes, the first and last bytes are fixed values. Make sure the host computer can receive data from receiving buffer.

227