Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 145
IPL Examples, Using #P and #F Extended Commands, Querying Print Status, Querying the Printer Model - battery
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 145 highlights
Chapter 3 - Extended Commands IPL Examples Note: Printers using Bluetooth connections do not return data. If you use #F in control character sequences to Bluetooth printers, you will get an F error saying that the command timed out. Querying Print Status This example queries the status of the printer and expects a response. ^9f#F8N810000099000000bb05=1b(ST?)#^9c where =1b(ST?) is the ESC/P "Status" command. A typical response from the printer could be: {ST!E:N;L:D;P:P;R:16384;B:O,H:O} Print Status Reply Descriptions Return Code E:N L:D P:P R:16384 B:O H:O Description Error status: N (No error) Printer media cover status: D (Cover is closed) Media status: P (Media is installed) Amount of RAM buffer remaining: 16384 (kilobytes) Battery status: O(OK) Printhead temperature: O (OK) Querying the Printer Model This example uses the ESC/P "Infrared" command to query the printer model. ^9f#F8N810000099000000bb05=1b(IR?)#^9c where =1b(IR?) is the ESC/P "Infrared" command. A typical response from the printer could be: {IR!P:OFF;AV:Not supported;DV:Not supported;IV:Not supported;IN:PB50,ID:PB50 The IN or ID value includes the printer model. For information on all IPL commands, see the IPL Command Reference Manual. For further information about IPL syntax and forms, see the IPL Developer's Guide. Using #P and #F Extended Commands A #F command instructs the device to wait for a response from the printer. #F is required for queries. For print commands, #F allows you to receive a response from the printer. However, if no response is needed or required, a #P command can run more quickly. Typical command sequences are as follows: ^9f#P8N8100000#^9c ^9f#F8N810000099000000bb05#^9c Querying Printer Status This example queries the status of the printer and expects a response. Intermec Terminal Emulator (ITE) Programmer's Reference Manual 133