Font query, Fonts reply explanation, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual
Page 59
Querying the Printer
55
Datamax-O’Neil Quick Reference Programming
Font Query
Fonts Reply Explanation
Font Query
Query Format
ESC{FN?}
Reply Format
{FN!
N5
:x,
N1
:x,L:x,
UV
:x,
UD
:x,
US
:x,
CPI
:x}
Function
Lists fonts, both permanent and downloaded. Within a
complete font definition, each query character is separated
from the next with a comma (,). A semicolon, carriage return
and line feed (;.
for original MF2/MF3/2t/4t and radio ready 2t/3l/4t printers.
Reply Example
{FN!
N5
:MF107,
N1
:&(26),
L
:R,
UV
:1,
UD
:01/02/96,
US
:96CHARS BLOCKBOLD,
CPI
:10.7;N5:MF204,
N1
:!(21),
L
:D,
UV
:1,
UD
:01/02/96,
US
:224 CHR BLOCK
NORMAL,
CPI
:20.4}
Reply Example
Explanation
FN! - Reply to a font query.
N5:MF107, - The first font name is MF107.
N1:&(26), - The one-character name is &, or 26H.
L:R; - The first font is a resident font.
UV:1; - The user version is 1.
UD:01/02/96; - The user date is 01/02/96.
US:96chars blockbold, - The font is a 96 character block bold
font.
CPI:10.7; - The font has 10.7 characters per inch.
N5:MF204, - The next font begins.
Query Reply
Definition
N5
xxxxx
Five character name = xxxxx
N1
x(nn)
One character name - also in HEX
L
R,D
Location - Resident or Downloaded
UV
x
User version number = x
US
x..x
User descriptive summary of font, 20 characters
CPI
nn.n
Characters per inch - nn.nn