Graphics query, Graphics reply explanation, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual
Page 60
Querying the Printer
56
Datamax-O’Neil Quick Reference Programming
Graphics Query
Graphics Reply Explanation
Graphics Query
Query Format
ESC{GR?}
Reply Format
{GR!
N5
:x,
N1
:x,
L
:D,
UV
:x,
UD
:x,
US
:x}
Function
Lists graphics currently downloaded to the printer. The reply
is similar to the fonts query reply but without the font-related
information.
Each graphic present in the printer will return one complete
set of all parameters below. If there are no graphics present,
the response will be {GR!}. Available for original MF2/MF3/2t/
4t and radio ready 2t/3l/4t printers.
Reply Example
{GR!N5:LOGO1,N1:z(7A),L:D,UV:1,UD:05/29/96,
US:Big Logo}
Reply Example
Explanation
GR! - Reply to a graphics query.
N5:LOGO1, - The graphic has a five-character name, LOGO1.
N1:z(7A), - The graphic has a one-character name of z, or
7AH.
L:D, - This is a downloaded graphic.
UV:1, - The user version is 1.
UD:05/29/96, - The user date is 5/29/96.
US:Big Logo - The user descriptive summary is Big Logo.
CPI: 22.1
Query Reply
Definition
N5
xxxxx
Five character name = xxxxx
N1
x(nn)
One character name - also in HEX
L
R,D
Location - Resident or download
UV
x
User version number = x
UD
xx/xx/xx
User date
US
x..x
User descriptive summary of font, 20 characters
CPI
nn.n
Characters per inch. 1/CPI is the approximate width of
the graphic.