Soh e send batch remaining quantity, Soh e send batch printed quantity, Soh f send status byte – Datamax-O'Neil Class Series Programmer’s Manual User Manual
Page 27

Immediate Command Functions
Class Series Programmer’s Manual
13
SOH E
Send Batch Remaining Quantity
This command causes the printer to return a four-digit number indicating the quantity of labels that
remain to be printed in the current batch, followed by a carriage return. Communications latency may
cause this value to be higher than actual on some printers.
Syntax:
Printer response:
nnnn
Where:
nnnn
- Are four decimal digits, 0-9999.
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:
Printer response format: X
Where ‘X’ is 0 through 0xef with bits as indicated in the ‘Condition’ column below:
Bit
[1]
Value
Condition
8
0
Always zero
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)
[1]
One is the least significant bit.