User's Manual
1 DATECS DPP-450 User manual
22
Command 4 Get printer status. 5 data bytes returned in response:
BufferHi BufferLo PrStatus Volt Temperature
BufferHi High byte of the count of free bytes in input
buffer.
BufferLo Low byte of the count of free bytes in input
buffer.
PrStatus Printer status. The following bits defined:
Bit 0 Battery low
Bit 1 Too hot
Bit 2 No paper
Volt The battery voltage in units 0.1V
Temperature The head temperature in degrees Celsius.
If free bytes in input buffer are more than 65535 (FFFFh), then
FFFFh is returned.
Using channel 16 is the only way for full control over the optional card
reader.
Communication example (all bytes hexadecimal):
Send data:
>>> 01 02 00 05 11 22 33 44 55
<<< 81 00 00 00
Send data with error:
>>> 01 02 00 05 11 22 33 44 55
<<< 81 01 00 00
>>> 01 02 00 05 11 22 33 44 55
<<< 81 01 00 00
>>> 01 02 00 05 11 22 33 44 55
<<< 81 00 00 00
Receive data:
>>> 01 03 00 00
<<< 81 00 00 00
>>> 01 03 00 00
<<< 81 00 00 04 11 22 33 44
>>> 01 03 00 00
<<< 81 00 00 00
Get status:
>>> 01 04 00 00
<<< 81 00 00 05 3F F8 01 49 27
5.9 Hardware setup
Holding <ON/OFF>button while power on for more than 6sec. – enter
hardware setup mode. “STATUS”(red led) will blink once, after this device is printing
message: