17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FRE<br />

Chapter 2 Program Instructions<br />

Field of Application Function returning the number of free bytes in spcified part of the<br />

printer's memory.<br />

Syntax FRE()<br />

is the designation of the part of the printer's memory from<br />

which the number of free bytes should be returned, e.g. "c:",<br />

"tmp:", "card1:".<br />

is a dummy argument. Returns the number of free bytes in<br />

the printer's temporary memory ("tmp:").<br />

Remarks The firmware looks for a colon (:) sign in the argument for the FRE function.<br />

If the argument is valid name of a memory device, the number of free bytes<br />

in that device is returned.<br />

If the argument specifies device “card1:", but no card is inserted, error<br />

condition #1039 “Not mounted” will occur.<br />

If the name of a device, that is not a part of the printer's memory (e.g. "uart1:"<br />

or "console:"), is entered as an argument, the FRE function will return 0.<br />

Refer to DEVICES for more information on memory and non-memory<br />

devices.<br />

If the argument contains a colon, but is not a valid name of any device (e.g.<br />

"QWERTY:"), error condition #1013 “Device not found” will occur.<br />

Any argument, that does not include a colon sign (e.g. 7 or "QWERTY"), will<br />

return the amount of free bytes in the printer's temporary memory ("tmp:").<br />

Example PRINT FRE("tmp:")<br />

2382384<br />

PRINT FRE("uart1:")<br />

0<br />

PRINT FRE(1)<br />

2382384<br />

yields e.g.:<br />

yields:<br />

yields e.g.:<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 88

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!