Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 26 of 57

JANUS 2020 Hand-Held Computer User's Manual, pages 251 to 260

Pages 251 to 260 of 570

The original document is the PDF (2.1 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 J2020 and Intermec JR2020

Page 251

NF

BC Working With IRL

7

You can also use PC-IRL, Collect, DCM, DFM, or Interscan to download IRL programs. For help, see the product’s manual.

Transmitting IRL Files You can transmit an IRL program or data file using any of these methods when the IRL Desktop is open: •

Choose the Transmit command from the File menu. A transmit screen lists the program files in the current directory. Use and to select the program you want to transmit and press .

e

• h j

Send an IRL Transmit file command from the host computer: %%filename where filename is the number or letter designation of the file: 0, 1, or any character from A to Z. •

Scan this bar code label with the reader: Transmit IRL File

*%%* *%%* h j

A transmit screen lists all of the files. Use and to select the program to transmit and press . For help, see the IRL Programming Reference Manual.

e

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.

7-11

Page 252

JANUS 2020 Hand-Held Computer User’s Manual NF BC

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. •

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.

7-12

Page 253

NF

BC Working With IRL

7

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 first writable drive becomes the path when you boot the reader.

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, boot the reader, or exit the IRL Desktop.

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

7-13

Page 254

JANUS 2020 Hand-Held Computer User’s Manual NF BC

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-14

Page 255

NF

BC Working With IRL

7

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.

Change Program C:\ Data E:\

IRL Directory Path:

Path

Modify Path: Both Program Only Data Only OK

Cancel

?

2020U.214

The screen displays the paths currently set for IRL programs and data files. In this example, the program path is the root directory of drive C, and the data files path is the root directory of drive E.

j h m n

You can use or to select Both, Programs Only, and Data Only - but you must use or to select the OK and Cancel buttons. 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.

j until you select Both. Press e .

j until you select Programs Only. e. Press j until you select Data Only. Press e . Press Press

7-15

Page 256

JANUS 2020 Hand-Held Computer User’s Manual NF BC

The second Change Directory screen appears.

Change

IRL Directory

Path: C:\ Disks C: D: E: G:

Directories (none)

OK

Cancel

?

2020U.215 j or h to select the disk drive for the path. 5. Press m to move to the Directories field, and then press j or h to select 4. Press the 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. 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 press . The first Change Directory screen appears. Again, press until you select OK, and then press .

e m e

7. Use the IRL Desktop to perform another task.

7-16 m

Page 257

NF

BC Working With IRL

7

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. 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.

7-17

Page 258

JANUS 2020 Hand-Held Computer User’s Manual NF BC

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-18

Page 259

NF

BC Working With IRL

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-19

Page 260

JANUS 2020 Hand-Held Computer User’s Manual NF BC

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, Run

•

IRL Program, Resume

The IRL reader commands are described in Chapter 11, “Reader Command Reference.” You can execute these commands by:

7-20

• scanning a command from a Code 39 or Code 93 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.