Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-55
continued
State Codes (What is the printer doing?)
To obtain the device’s state code use:
! U1 getvar “netmanage.state_code”
One of the following state codes will be returned:
0 Printer Idle
1 Agent Discovery
2 Agent Connection
3 Processing Messages
4 Agent Disconnection
Error Codes:
To obtain the device’s error status use:
! U1 getvar “netmanage.error_code”
One of the following error codes will be returned:
0 No Error 12 Unknown Encryption Type used.
1 No Agent Found 13 Unknown Command Received.
2 Send Data failed during Discovery. 14 Device Properties Update failed.
3 Received Data failed during Discovery. 15 User Authentication failed.
4 Agent Authentication failed. 16 Package Update failed.
5 Agent Connection failed. 17 No license available for device.
6 Socket Connect failed. 18 Device out of resources.
7 Device Registration failed. 19 Device needs data.
8 Message Send failed. 20 Device needs to be synced.
9 Message Received failed. 21 Unknown State reached
10 Message too large to process.
11 Data Timeout.
Comments to this Manuals