zpl.system_status

zpl.system_status

This command returns the errors and warnings of the system.
This command is equivalent to all data reported by the
~HQES
ZPL command.

Getvar

To return the system error and warning flags:
! U1 getvar "zpl.system_status"
Result
"0","0","00000000","00000000","0","00000000","00000000"
(flag, error flag, group 2, group 1, warning flag, group 2, group 1)
Example
This example shows how to request the printer’s status.
To request the printer’s status, type
! U1 getvar "zpl.system_status"
The printer responds with data similar to this:
"1,1,00000000,00000004,0,00000000,00000000"
In this example, the Printer Status resolves to these conditions:
  • The printer is in Pause (value = 1)
  • The Error Flag is 0 if there are no errors (i.e. Group 2 and Group 1 are all 0s), and 1 if there are any errors (non-zero).
  • The cover/printhead is open (value = 4).
  • The Warning Flag is 0 if there are no warnings (i.e. Group 2 and Group 1 are all 0s), and 1 if there are any errors (non-zero).
Error Flags (~HQES)
Error Flags
Flag
Group 2
Group 1     (X = Value can be any hexadecimal number [0-9, A-F])
Nibbles16-9
Nibble8
Nibble7
Nibble6
Nibble5
Nibble4
Nibble3
Nibble2
Nibble1
No Error
0
00000000
0
0
0
0
0
0
0
0
Error Present
1
00000000
X
X
X
X
X
X
X
X
Printhead Thermistor Open
1
00000000
X
X
X
X
X
2
X
X
Invalid Firmware Config.
1
00000000
X
X
X
X
X
1
X
X
Printhead Detection Error
1
00000000
X
X
X
X
X
X
8
X
Bad Printhead Element
1
00000000
X
X
X
X
X
X
4
X
Motor Over Temperature
1
00000000
X
X
X
X
X
X
2
X
Printhead Over Temperature
1
00000000
X
X
X
X
X
X
1
X
Cutter Fault
1
00000000
X
X
X
X
X
X
X
8
Head Open
1
00000000
X
X
X
X
X
X
X
4
Ribbon Out
1
00000000
X
X
X
X
X
X
X
2
Media Out
1
00000000
X
X
X
X
X
X
X
1
Clear Paper Path Failed
1
1
00000000
X
X
X
X
8
X
X
X
Paper Feed Error
1
1
00000000
X
X
X
X
4
X
X
X
Presenter Not Running
1
1
00000000
X
X
X
X
2
X
X
X
Paper Jam during Retract
1
1
00000000
X
X
X
X
1
X
X
X
Black Mark not Found
1
1
00000000
X
X
X
8
X
X
X
X
Black Mark Calibrate Error
1
1
00000000
X
X
X
4
X
X
X
X
Retract Function timed out
1
1
00000000
X
X
X
2
X
X
X
X
Paused
1
1
00000000
X
X
X
1
X
X
X
X
1. This error flag is only supported on KR403 printers.
Warning Flags (~HQES)
Warning Flags
Flag
Group 2
Group 1     (X = Value can be any hexadecimal number [0-9, A-F])
Nibbles16-9
Nibble8
Nibble7
Nibble6
Nibble5
Nibble4
Nibble3
Nibble2
Nibble1
No Warning
0
00000000
0
0
0
0
0
0
0
0
Warning Present
1
00000000
X
X
X
X
X
X
X
X
Paper-near-end Sensor
1
1
00000000
X
X
X
X
X
X
X
8
Replace Printhead
1
00000000
X
X
X
X
X
X
X
4
Clean Printhead
1
00000000
X
X
X
X
X
X
X
2
Need to Calibrate Media
1
00000000
X
X
X
X
X
X
X
1
Sensor 1 (Paper before head)
1
1
00000000
X
X
X
X
X
X
1
X
Sensor 2 (Black mark)
1
1
00000000
X
X
X
X
X
X
2
X
Sensor 3 (Paper after head)
1
1
00000000
X
X
X
X
X
X
4
X
Sensor 4 (loop ready)
1
1
00000000
X
X
X
X
X
X
8
X
Sensor 5 (presenter)
1
1
00000000
X
X
X
X
X
1
X
X
Sensor 6 (retract ready)
1
1
00000000
X
X
X
X
X
2
X
X
Sensor 7 (in retract)
1
1
00000000
X
X
X
X
X
4
X
X
Sensor 8 (at bin)
1
1
00000000
X
X
X
X
X
8
X
X
1. This warning flag is only supported on KR403 printers.