Intermec PX4i Fingerprint Developer's Guide (old) - Page 142
Checking Free Memory, Providing More Free Memory, Formatting the Permanent Memory
View all Intermec PX4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 142 highlights
Chapter 7 - Controlling the Printer 10 CHDIR "tmp:" ..... 90 CHDIR "/c" Checking Free Memory You can check the size of the memory in the current directory and see how much free space there is by issuing a FILES statement in Immediate Mode. Another way is to use the FRE function in a small instruction that returns the number of free bytes in a specified part of the printer memory. Example: PRINT FRE("tmp:") Results in (for example) 2382384 Providing More Free Memory In order to free up memory space in temporary memory, you can use a CLEAR statement to empty all strings, set all variables to zero, and reset all arrays to their default values. If even more memory is required, you will have to consider either to KILL some programs or files, or to use REMOVE IMAGE to delete images stored in "/c" and or "tmp:". If the printer is not equipped with the maximum amount of memory, you have the option to install additional or larger Flash or SDRAM SIMM packages. Note: Make backup copies on the host before you replace memory units or install additional memory in the printer. Formatting the Permanent Memory The printer permanent memory ("/c") can be formatted either partially or completely by using the FORMAT command as follows: FORMAT "/c",A erases all files in the "c:" device (hard formatting). FORMAT "/c" erases all files, except those starting with a period (.) character (soft formatting). All Fingerprint system filenames begin with a period character, for example ".profile". These system files are necessary for correct operation and are not erased when printer memory is erased with the FORMAT command. Using the Industrial Interface The optional Serial/Industrial Interface Board includes 8 digital IN ports, 8 digital OUT ports, and 4 OUT ports with relays. 126 Intermec Fingerprint Developer's Guide