Intermec PC43d Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 45
About File Types, Commands for Listing Files, Listing a File With the FILELIST Program
View all Intermec PC43d manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 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 70. • Font files. For more information, see "Managing Fonts" on page 66. 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. 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. Fingerprint Developer's Guide 33