Query Commands; Interpreting The Reply To A Query - Intermec PK80 Series User Manual

80-column printer
Hide thumbs Also See for PK80 Series:
Table of Contents

Advertisement

Appendix
A
Commands

Query Commands

46
Note: Any time ESC is used in a command, the command needs to con-
tain the actual ASCII character for ESC (0x1B), not the letters E-S-C.
There should be no spaces before the next character. Sometimes a space is
included in the documentation for readability.
Queries can be sent to the PK80 Printer via the Bluetooth or the RS-232
data link. The printer's reply to a query returns information about the
printer or the print request. There are three steps involved:
1 Frame your query using the correct command format.
2 Send the Query (for example, via an applications program or a terminal
emulator such as "Terminal" in the Windows Accessories group).
3 Use the appropriate table to interpret the printer's reply.

Interpreting the Reply to a Query

Consult the table for each Query command to interpret the reply. Each
reply contains several pairs of letters. The first letter or "query character" is
separated from the reply character by a colon (:) and the pair is followed
by a semicolon (;). Example: E:N; (part of the reply to a STATUS query).
According to the STATUS table, the E refers to "errors" in Easy Print
Commands. An N means "no errors."
Quick Reference
Command
Format
Status
ESC{ST?} Returns information about the printer's ability to print
Configuration ESC{CF?} Returns information about configuration options, such
Version
ESC{VR?} Returns the version number of the loaded firmware,
Memory
ESC{MY?} Returns the size of all memory available — the amount
Print Head
ESC{PH?} Returns the print head type in use and the number of
Fonts
ESC{FN?} Returns a list of available fonts.
Note: The order of the printer's reply to a query may change, and new
queries will be added. Therefore, search for the "Query character" to find
data whenever interpreting the reply to a query.
Description
the next report, and reports any errors from the last
print request, such as paper condition, command errors,
buffer size, or battery voltage.
as baud rate, default mode, time-out, etc.
boot code, and download files.
used and the amount remaining for the application.
dots across.
PK80 Series 80-Column Printer User's Manual

Advertisement

Table of Contents
loading

Table of Contents