Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 103
Chapter 2 Program Instructions
FRE
Field of Application
Function returning the number of free bytes in spci ed part of the
printers memory.
Syntax FRE(<<sexp>|<nexp>>)
<sexp> is the designation of the part of the printers 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 printers temporary memory ("tmp:").
Remarks
The 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 speci 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 printers 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 printers
temporary memory ("tmp:").
Example
PRINT FRE("tmp:")
yields for example:
2382384
PRINT FRE("uart1:")
yields:
0
PRINT FRE(1)
yields for example:
2382384