The text of a manual · part 25 of 56
JANUS 2010 Hand-Held Computer (4MB) User's Manual, pages 241 to 250
Pages 241 to 250 of 556
The original document is the PDF (3.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2010
Page 241
Working With IRL nugget code39 helconital
7
Receiving IRL Files You can receive a file from the host computer and store it under a specified filename using any of these methods when the IRL Desktop is open: •
Choose the Receive command from the File menu.
•
Send an IRL Receive file command from the host computer: .%filename where filename is 0, 1, or any character from A to Z. A receive screen appears. Type the filename to be received and choose OK. For help, see the IRL Programming Reference Manual. •
Scan this bar code label with the reader: Receive IRL File
*.%* *.%*
A receive screen appears. Type the filename to be received and choose OK. For help, see the IRL Programming Reference Manual.
Clearing IRL Data Files You can delete one or all of the IRL data files with default filenames: {IRL-0}.IRD, and {IRL-A}.IRD to {IRL-Z}.IRD. Use any of these methods when the IRL Desktop is open: •
Choose Clear Data from the File menu to delete all IRL data files. A message explains that the default data files will be deleted and shows the directory where the files are located. Choose OK to delete the data files.
•
Scan one of these bar code labels with the reader to delete one or all of the IRL data files. Clear All IRL Data Files
Clear {IRL-0}.IRD
*.$*
*.$0*
*.$*
*.$0*
Note: You can create bar code labels to delete {IRL-A}.IRD to {IRL-Z}.IRD. If you choose to clear all data files, a message explains that the default data files will be deleted and shows the directory where the files are located. Choose OK to delete the data files. If you clear one data file, IRL deletes the file without displaying a message or prompt.
7-11
Page 242
JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital •
Send an IRL Clear file command from the host computer: .$filename where filename is 0 or any character from A to Z. If you do not include a filename, all IRL data files (0, A to Z) are deleted. Caution When the clear file command is sent from the host without data, all data is cleared and all files are deleted. Conseil Lorsque la commande d'effacement de fichier (clear file) est envoyée de l'hôte sans préciser les données à effacer, toutes les données sont effacées et tous les fichiers sont supprimés.
Specifying the Path for Programs and Data Files The directory that is current when you open the IRL Desktop becomes the path for your IRL programs and data files. However, when the current drive is C or D, the first writable drive on the reader becomes the path. If you do not want to use the current directory or first writable drive as the path, you can specify a path for programs and data files. There are several ways to specify the path: How to Specify the Path
How Long the Path Remains in Effect
You set the IM_IRLPROG and/or IM_IRLDATA environment variables in your AUTOEXEC.BAT file.
This change remains in effect until you reset the path to another value. Each time you boot the reader, AUTOEXEC.BAT sets the path according to the environment variables. Note: If you do not set the environment variables in AUTOEXEC.BAT, the current directory or firstwritable drive becomes the path when you boot the reader.
7-12
You set the IM_IRLPROG and/or IM_IRLDATA environment variables at the DOS prompt.
This change remains in effect until you reset the path to another value or boot the reader.
You include the path for a data file in the OPEN command.
This change remains in effect for the data file until you modify the OPEN command.
You select the path from the IRL Desktop.
This change remains in effect until you reset the path to another value or boot the reader or exit from the Desktop.
Page 243
Working With IRL nugget code39 helconital
7
The next sections describe these tasks: •
Setting the Path With an Environment Variable
•
Including a Data File Path in the OPEN Command
•
Selecting the Path From the IRL Desktop
Setting the Path With an Environment Variable You can use the IM_IRLPROG and IM_IRLDATA environment variables to set the paths for programs and data files. You can include the environment variables in your AUTOEXEC.BAT file or type them at the DOS prompt. To set the path for IRL programs with an environment variable •
Follow this command format: set IM_IRLPROG=[drive:][\directory] where: drive is the letter of the drive where you will store programs. Note: You can set IM_IRLPROG to any drive, even one that you cannot write to.
directory is the directory or directories where you will store programs.
For example: set IM_IRLPROG=e:\sales\programs
To set the path for IRL data files with an environment variable •
Follow this command format: set IM_IRLDATA=[drive:][\directory] where: drive is the letter of the drive where you will store data files. Note: If you set IM_IRLDATA to a drive you cannot write to, the reader defaults to the drive that was current when you opened the IRL Desktop. If you cannot write to that drive, IRL uses the reader’s first writable drive.
directory is the directory or directories where you will store data files.
For example: set IM_IRLDATA=e:\sales\data
7-13
Page 244
JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital Including a Data File Path in the OPEN Command You can specify the path for a data file in an IRL program by declaring the path in the OPEN command for files A through Z. For example: OD"e:\sales\accounts\orders.ird"(10,15)
This command creates File D, which is stored as ORDERS.IRD in the E:\SALES\ACCOUNTS directory. To learn more about the OPEN command, see the IRL Programming Reference Manual. Note: You cannot specify a path for File 0 in an IRL program.
Selecting the Path From the IRL Desktop 1. Open the IRL Desktop. 2. Choose Change Dir from the File menu. This Change Directory screen appears. The screen displays the current paths for IRL programs and data files. In this example, the path for programs is C:\, and the path for data files is E:\.
E C H I
You can use or to select Both, Programs Only, and Data Only, but you or to select the OK and must use Cancel buttons.
Change Program C:\ Data E:\
IRL Directory Path:
Path
Modify Path: Both Program Only Data Only OK
Cancel
?
2010U.121
3. Decide if you want to modify one or both of the paths: For This Task
Press These Keys
Set one path for both programs and data files.
Press
Set a path for programs only. Set a path for data files only.
7-14
E until you select Both, and press @ . Press E until you select Programs Only, and press @ . Press E until you select Data Only, and press @ .
Page 245
7
Working With IRL nugget code39 helconital The second Change Directory screen appears.
E or C to select the disk drive for the 5. Press H to move to the Directories field, and then press E or C to select the 4. Press path.
Change Path: C:\ Disks C: D: E: G:
directory for the path.
If the drive does not contain directories, (none) appears under the Directories heading, as shown in the second Change Directory screen.
H
IRL Directory
Directories (none)
OK
Cancel
?
2010U.007
6. To exit and save your changes, you must select OK at both Change Directory screens. Press until you select the OK button, and then . The first Change Directory screen appears. Again, press press . you select OK, and then press
@
@
H until
7. Use the IRL Desktop to perform another task.
Resuming IRL Programs You can exit an IRL program, perform other functions (such as execute DOS commands, run other IRL programs, or put the reader in Suspend mode), and then resume the IRL program exactly where you left off.
Exiting a Program So You Can Resume It Later You can resume an IRL program if you exit it using one of these methods: •
Execute the IRL Program, Exit (/$) command. You can scan a bar code that contains the command, or send the command from a host computer.
•
Add to your IRL program an Exit command with a D modifier (ED). When the ED command executes, the program terminates and returns you to the DOS prompt.
•
Press the application break sequence, as described in “Breaking Out of an Application” in Chapter 9.
You can exit multiple programs that can all be resumed later. IRL creates a filename.RSM file in the data file path for each program, where filename is the program name. The .RSM file contains information that lets IRL resume the program exactly where you left off. IRL deletes the .RSM file when you run or resume the program.
7-15
Page 246
JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital IRL also saves the name of the last program that was exited as described previously into the {LATEST}.RSM file. Every time IRL saves the filename to this file, it overwrites the last filename; therefore, the file always identifies the last IRL program that can be resumed. IRL deletes this file when you run or resume the program.
Resuming a Program From the DOS Prompt To resume an IRL program from the DOS prompt, use this command: irl [-rX] [filename] where: -r is the command that instructs IRL to resume a program. If you do not include the -r, IRL starts the program from the beginning and deletes the .RSM file.
X is an optional value to be placed in the status register (#0). Make sure there is no space between the -r and X value, or the value will not be placed into the status register (#0). If you do not specify an X value, IRL sets the register to 0. If you supply an invalid value, IRL sets the register to 999999999. IRL sets the status register only if you exited the program with the ED command. You determine the significance of this value. For example, you can use it to pass to the IRL program a status of some action taken while the user was in DOS.
filename is the name of the IRL program to resume running. If you do not specify a filename and you do include the -r, IRL resumes the last program exited, as identified in {LATEST}.RSM.
Resuming a Program From the IRL Desktop Choose the Resume command from the File menu and select a program to resume. Or scan this IRL Program, Resume command ($.) from the IRL Desktop to resume the program identified in the {LATEST}.RSM file: Resume IRL Program
*$.* *$.*
7-16
Page 247
Working With IRL nugget code39 helconital
7
Freeing Enough Memory to Run an IRL Program If you see the message “Insufficient memory” when you try to run an IRL program from the IRL Desktop, you do not have enough conventional memory available to run the program and the IRL Desktop. You may be able to free enough conventional memory to run the program by following the suggestions in “Making More Memory Available on the Reader” in Chapter 3. You can also use the IRLXDESK utility instead of the IRL Desktop to run the program. IRLXDESK does not provide the IRL Desktop menu environment, so it uses less conventional memory than the IRL Desktop. To run an IRL program with IRLXDESK 1. Make sure the IRLXDESK.EXE file is on your JANUS reader. You may need to copy the IRLXDESK.EXE file from the Application companion disk 3 to your reader. For help, see “Running Interlnk to Transfer Files” in Chapter 6. 2. If your IRL program requires a protocol handler, you must load it manually. IRLXDESK does not automatically load any protocol handlers. For help, see “Loading and Unloading a Protocol Handler” in Chapter 6. 3. Type this command at the DOS prompt: irlxdesk filename where filename is the name of the IRL program you want to run.
7-17
Page 248
JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital
IRL Reader Commands You can use these reader commands only from the IRL Desktop: •
IRL File, Clear
•
IRL File, Receive
•
IRL File, Transmit
•
IRL Program, Download
•
IRL Program, Exit
•
IRL Program, Resume
•
IRL Program, Run
The IRL reader commands are described in Chapter 11, “Reader Command Reference.” You can execute these commands by:
7-18
• scanning a command from a bar code label.
• choosing a command from a menu in the IRL Desktop by pressing keys on the keypad.
• sending a command from a host computer only when the host is running an application that uses Reader Services.
• executing a command in an IRL program only when the IRL Desktop is running.
Page 249
nugget code39 helconital
8 Preparing the Reader for International Use
Page 250
nugget code39 helconital