Star Micronics 150 Printer User Manual


 
Programmer's Guide PcOS Series 150 Control Codes
Printer Status Set/Inquire
12/14/99 Rev G Page 67
Function Inquire printer ID
ASCII [ENQ] <21>
Hexadecimal 05H 15H
Decimal <5> <21>
Function Returns printer IEEE 1284 ID string
Serial/Parallel, IEEE1284 Parallel, non-IEEE 1284
Response [ACK] <21> <n> {ID string} Not supported via PE
Where <21> is the echo of the command ID.
<n> = number of return bytes in the ID string
{ID string} is the IEEE 1284 ID return string, which is as follows:
MFG:Ithaca-Periph.;
CMD:M150CL,IPCL;
CLS:PRINTER;
MDL:S150 PcOS;
DES:Ithaca-Peripherals Series 150;
REV:01.00;
OPTS:$51xy
Where x is a bit field defined as follows:
Bit 0 = Alternate print zone
Bit 1 = 0 not defined
Bit 2 = 0 not defined
Bit 3 = Always 0
Bit 4 = Always 1
Bit 5 = Always 1
Bit 6 = Always 0
Bit 7 = Always 0
and y is a bit field defined as follows:
Bit 0 = Slip capability
Bit 1 = Knife installed
Bit 2 = MICR installed
Bit 3 = Always 0
Bit 4 = Always 1
Bit 5 = Always 1
Bit 6 = Always 0
Bit 7 = Always 0