Datamax-O'Neil DPL Programmer’s Manual User Manual
Page 21

Immediate Command Functions
13
SOH e
Send Batch Printed Quantity
This command causes the printer to return a four-digit number indicating the quantity of
labels that have been printed in the current batch, followed by a carriage return.
Communications latency may cause this value to be lower than actual on some printers.
Syntax:
Printer response:
nnnn
Where:
nnnn
-
Are four decimal digits, 0-9999.
SOH F
Send Status Byte
This command instructs the printer to send a single status byte where each bit (1 or 0)
represents one of the printer’s status flags, followed by a carriage return (see below). If
an option is unavailable for the printer, the single bit will always be zero. See
Syntax:
Response format:
X
Where:
“X” is 0 through 0xef with bits as indicated in the “Condition”
column below:
Bit
*
Value
Condition
8
1 or 0
(Internal) Rewinder out or fault
7
1 or 0
Label presented
6
1 or 0
Printer paused
5
1 or 0
Busy printing
4
1 or 0
Printing batch
3
1 or 0
Ribbon out or Fault
2
1 or 0
Paper out or Fault
1
1 or 0
Command interpreter busy (imaging)
*
One is the least significant bit.