Intermec PF4i Fingerprint Developer's Guide (old) - Page 51
About File Types, Commands for Listing Files, Listing a File With the FILELIST Program
View all Intermec PF4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
Chapter 3 - Managing Files About File Types Four types of files can be stored in the various parts of the printer memory: • Program files • Data files • Image files. For more information, see "Understanding Images and Image Files" on page 74. • Font files. For more information, see "Managing Fonts" on page 68. In "/c", there is no restriction regarding the number of characters in a file name, but in "card1:" the name of a file may consist of up to 8+3 characters. Commands for Listing Files The files stored in the printer memory can be listed using a FILES statement or a FILENAME$ function, as in these examples: FILES,A lists all files in the current directory. FILES "/c",A lists all files in the read/write part of the permanent memory FILES "/c",R,A lists all files in the read/write part of the permanent memory recursively. FILES "/rom" lists all files stored in the read-only part of the permanent memory, except files preceded by a period character. FILES "card1:" lists all files stored in any inserted DOS-formatted CompactFlash memory card, except files preceded by a period character. FILENAME$("/c") returns all files in the read/write part of the permanent memory (wildcards are supported). You can COPY a file to the standard OUT channel, where it will be printed on the screen of the host, for example: COPY "[device]filename", "uart1:" Listing a File With the FILELIST Program The FILELIST.PRG program included in the Intermec Fingerprint firmware is used to LIST a line-oriented file to the standard OUT channel. To list a file 1 On your terminal, enter: RUN "/rom/FILELIST.PRG" The printer prompts you to enter the name of the file to be listed: Filename? 2 Enter the filename, possibly preceded by a directory reference, for example: "/c/*.*" 3 Press Enter. The file is listed. Intermec Fingerprint Developer's Guide 35