Infrared Query - Oneil microFlash2 Programming Reference Manual

Table of Contents

Advertisement

Infrared Query

Infrared Query
Query Format
ESC{IR?}
Reply Format
{IR!P:x;AV:x;DV:x;IV:x;IN:x;ID:x}
Function
Returns information about the current infrared settings. Also
returns a unique name for the printer, communication
capabilities, and peripherals.
Although not all printers have infrared capabilities, the
ESC{IR?} query is present in all printers to allow the user to
determine uniquely which printer type is attached.
Reply Example
{IR!P:IrDA;AV:00;DV:00;IV:1.02;IN:microFlash2;
ID:1234567890123456789}
Reply Example
IR! - Reply to an infrared query.
Explanation
P:IrDA; - The IrDA protocol is on.
AV:00; - The ASK version is 00.
DV:00; - The DIRECT version is 00.
IV:1.0-06; - The IrDA version specification supported is 1.0
and the firmware is version 06.
IN:microFlash2; - The device nickname is microFlash2.
ID: - The device name is 1234567890123456789.
Chapter 4: Querying the Printer
O'Neil Programming Language Reference Manual
52

Advertisement

Table of Contents
loading

Related Products for Oneil microFlash2

Table of Contents