Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 103
Chapter 2 Program Instructions
FRE
Field of Application
Function returning the number of free bytes in spcifi ed part of the
printer’s memory.
Syntax FRE(<<sexp>|<nexp>>)
<sexp> is the designation of the part of the printer’s memory from
which the number of free bytes should be returned, for
example "c:", "tmp:", "card1:".
<nexp> is a dummy argument. Returns the number of free bytes in
the printer’s temporary memory ("tmp:").
Remarks
The fi rmware looks for a colon (:) sign in the argument for the FRE function.
If the argument is valid name of a memory device, the number of free
bytes in that device is returned.
If the argument specifi es device "card1:", but no card is inserted, Error
1039, “Not mounted" will occur.
If the name of a device, that is not a part of the printer’s memory (for
example "uart1:" or "console:"), is entered as an argument, the FRE
function will return 0.
Refer to DEVICES for more information on memory and non-memory
devices.
If the argument contains a colon, but is not a valid name of any device (for
example "QWERTY:"), Error 1013, “Device not found” will occur.
Any argument, that does not include a colon sign (for example “7”
or "QWERTY”), will return the amount of free bytes in the printer’s
temporary memory ("tmp:").
Example
PRINT FRE("tmp:")
yields for example:
2382384
PRINT FRE("uart1:")
yields:
0
PRINT FRE(1)
yields for example:
2382384