Chapter 4:
Querying the Printer
50
O’Neil Programming Language Reference Manual
Version Reply Explanation
Memory Query
Memory Reply Explanation
Query Reply
Definition
F
n.nn
Firmware version is
n.nn
.
B
n.nn
Boot code version is
n.nn
.
D
n.n
Download (fonts, graphics, formats) version is
n.nn
.
Memory Query
Query Format
ESC{MY?}
Reply Format
{MY!
FS
:x;
FM
:x;
RS
:x;
DT
:x;
DR
:x}
Function
Returns the size of all memory available in the printer,
including the amounts used and the amount remaining.
Available for original MF2/MF3/2t/4t and radio ready 2t/3l/4t.
Reply Example
{MY!
FS
:1M;
FM
:AMD;
RS
:1M;
DT
:049152;
DR
:000512}
Reply Example
Explanation
MY! - Reply to a memory query.
FS
:1M; - This printer contains a 1M bit Flash memory
FM
:AMD; - The Flash manufacturer is AMD.
RS
:1M; - RAM Size = 1M.
DT
:049152; - Total Flash area available for download is
49,152 bytes.
DR
:000512; - Download Flash memory Remaining. Out of
49,152 bytes, 512 bytes are available.
Query Reply
Definition
FS
1 Meg,
4 Meg
Flash size = 1 Meg (128K bytes) or 4 Meg (512K bytes)
FM
AMD
Flash manufacturer = AMD
RS
1 Meg
RAM size = 1 Meg (128K bytes)
DT
nnnnnn
Download total area =
nnnnnn
bytes. This is the size after
the application program is downloaded to Flash and after
the boot code size is deducted.
DR
nnnnnn
Download RAM remaining =
nnnnnn
bytes. Download total
and download remaining are the same values only if no
fonts or graphics were downloaded.
Summary of Contents for microFlash2
Page 3: ......