Intermec PB51 Fingerprint Developer's Guide (old) - Page 47
To create a startup program, Sending Fingerprint Commands to the Printer on,
View all Intermec PB51 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
Chapter 2 - Understanding Fingerprint Syntax 2 An AUTOEXEC.BAT file stored in the read/write part of the printer permanent memory (device "/c"). 3 The PUP.BAT file (Intermec Shell) in the read-only part of the printer permanent memory (device "/rom"). The MKAUTO.PRG program is included in the systems part of the printer memory ("/rom/MKAUTO.PRG") and consists of the following lines: 10 OPEN "AUTOEXEC.BAT" FOR OUTPUT AS 1 20 INPUT "startup file name:",S$ 30 PRINT#1,"RUN";CHR$(34);S$;CHR$(34) 40 CLOSE1 Follow the next procedure to create a startup program from an ordinary program: To create a startup program 1 Connect the printer to a host PC and start a communications program on the host PC. For help, see "Sending Fingerprint Commands to the Printer" on page 3. 2 Write and test your program. 3 Type SAVE "MyFileName" and then press Enter. The printer returns "Ok". 4 Type RUN "/rom/MKAUTO" and then press Enter. The printer returns: Startup file name: 5 Type the name of the program you just saved (with or without the extension .PRG) and then press Enter. The printer returns "Ok". Your program has been saved as a startup program in the current directory. When you restart the printer, the new startup program will start running, provided there is no other startup program with higher priority as described earlier. 6 (Optional) To undo the operation, type KILL "AUTOEXEC.BAT" and press Enter. This will not erase the original program, but it will no longer be used as a startup program. Note that you cannot KILL startup programs stored in "/rom". Intermec Fingerprint Developer's Guide 31