int getBatteryDeviceStatus()

This function can be used to return the device status. Possible values are as follows:

0 - No status
1 - Off line
2 - Cover open
4 - Low paper
8 - Out of paper
10 - No recover error
20 - Recover error
40 - Serial settings error
80 - Send status query failed
100 - Read status query failed
200 - Paper jam
400 - Device busy
800 - Monitor out of range
1000 - Device full
FFFF - Any

Return

The state of the battery as a string (see above).