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 12 of 57

JANUS 2020 Hand-Held Computer User's Manual, pages 111 to 120

Pages 111 to 120 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 111

NF

BC Learning About the Software

3 where: path is the drive and directory of the file or files to include in the image file. If you do not include a path, the current directory is used.

filename is the name of the file or files to include in the image file.

You can include multiple path\filename and path\*.* parameters in the command. The path\*.* parameter loads all the files in a directory. For example: loadnew c:\janus\data.txt c:\atadrv\*.* c:\data\*.*

6. The image file is saved as NEWDRV_C\IMAGE\DRIVEC.IMG on the host computer. The next time you execute the MAKENEW command, this image file will be overwritten. To protect the image file, you can rename it. To rename the image file When you execute a LOAD or MAKE command, Auto-Loader saves a copy of the drive C image file as NEWDRV_C\IMAGE\DRIVEC.IMG. You can copy that file to multiple readers. Auto-Loader overwrites DRIVEC.IMG each time you create a new image file. If you rename DRIVEC.IMG, it will not be overwritten. You can also create multiple image files and rename each with a unique name. For example, you can create an image file for each type of PC card you use in the reader. Each image file contains a CONFIG.SYS that loads the drivers for the PC card. When you need to switch PC cards in the reader, you can load the appropriate image file to the reader: •

NEWDRV_C\IMAGE\C-ATA.IMG

•

NEWDRV_C\IMAGE\C-FLASH.IMG

To copy the image file to more than one reader Note: All the files on each reader’s drive C will be overwritten. 1. Connect the reader to the host computer through a communications dock or optical link adapter. If you use the communications dock, you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly. 2. Connect the power supply to the communications dock or the optical link adapter.

3-21

Page 112

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

3. Type the LOADXIMG or LOADIMG command: •

If the image file has the NEWDRV_C\IMAGE\DRIVEC.IMG default name, type this command on the host computer: loadximg

•

If the image file has any other name, type this command on the host computer: loadimg path\filename where: path is the drive and directory of the image file to load.

filename is the name of the image file to load.

For example, to load the FLASH\C-ATA.IMG image file, type this command on the host computer: loadimg c:\flash\c-ata.img caf.

4. Auto-Loader runs Intersvr on the host computer. When you see the Interlnk Server Status screen on the host computer, press to warm boot the reader and load Interlnk into memory. Auto-Loader begins updating drive C. 5. When the update is complete, the reader reboots automatically. 6. To load the image file on another reader, disconnect the reader from the host computer, connect another reader to the host computer, and repeat Steps 3 through 5.

caf.

Note: Interlnk is still loaded in memory on the reader you disconnected from the host computer. You can press to warm boot the reader and remove Interlnk from memory. 7. When you finish updating your JANUS readers, you can exit Intersvr on the host computer by pressing Alt-F4. You will see this message: Drive C:

3-22

Installation process completed.

Page 113

NF

BC Learning About the Software

3

Using MkImage and PutImage to Change Drive C As noted in the table on page 3-12, you can use MkImage and PutImage to perform these tasks: •

Adding or editing files on drive C

•

Replacing some files on drive C

•

Replacing all of the files on drive C

•

Deleting files from drive C

Follow these steps, which the next sections describe in detail: 1. Decide if you want to run MkImage on a reader or host computer. 2. Create a working directory and fill it with files for the reader’s drive C. 3. Create the new image file with MkImage. 4. Load the new image file onto the reader with PutImage. Note: You do not have to install MkImage and PutImage onto the reader because the files are available by default on the reader’s drive D.

Deciding Where to Run MkImage You can run MkImage: • on the reader’s RAM drive if the image file is less than 256K.

• on a PC card inserted into the reader.

• on a host computer with or without Interlnk: With Interlnk You can use Interlnk on the host computer to execute the copy of MkImage that is stored on the reader’s drive D. Also, you can use Interlnk to copy files from the reader’s drive C to the host’s working directory. For help, see “Running Interlnk to Transfer Files” in Chapter 6. Without Interlnk You can run MkImage on the host computer without Interlnk if you copy the MkImage executable file, MKIMAGE.EXE, from the MS-DOS Programs companion disk 2 to the host computer. Also, you can use DOS COPY commands to copy additional files from the companion disks instead of from the reader’s drive C.

3-23

Page 114

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

Creating and Filling the Working Directory 1. Create a working directory where you will store the files you want on the reader’s drive C. If the directory contains subdirectories, MkImage ignores them because you cannot create subdirectories on the reader’s drive C. 2. Create or copy up to 127 files to the working directory, as follows: •

If you are adding new files to drive C, copy all files currently on drive C as well as the new files to the working directory.

•

If you are changing or replacing some of the existing files on drive C, copy all files currently on drive C to the working directory. Edit the files you want to change or replace.

•

If you are replacing all files on drive C, copy the files you want on drive C to the working directory.

•

If you are deleting files from drive C, copy all files currently on drive C to the working directory. Delete the files you want to remove from drive C.

You can use the DOS COPY command to copy files from the companion disks, or you can use Interlnk to copy files from the reader’s drive C.

Creating the New Image File Create the image file by typing the command: mkimage path [filename] where: path specifies the directory that contains the files for the image file. This directory is called the source directory. The path parameter is required and must begin with a slash (/) for the root directory. You do not need to include the drive letter. For example, you could enter/JANUS/IMAGE as the path. If you do not specify the path correctly, the command fails. If you omit the path parameter, MkImage uses the current path, which results in a corrupt image file that will not function properly on the reader.

filename specifies the full path and name of the image file to create. If you do not include this parameter, the image file is called DRIVEC.BIN and is placed in the current working directory.

All files in the source directory are placed into the image file, including hidden and read-only files. If subdirectories exist, they are ignored. If an error occurs while creating the image file, see Chapter 10, “Troubleshooting.”

3-24

Page 115

NF

BC Learning About the Software

3

Loading the New Image File Note: When you run PutImage, all files on drive C are overwritten. Be sure to back up any files you want to keep before you continue. 1. Connect the reader to the host computer through a communications dock or optical link adapter. Note: If you use the communications dock and plan to use Interlnk during this procedure (as described in Step 3), you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly. 2. Connect a power supply to the communications dock or optical link adapter. Caution The reader should be powered by an AC power source when you use the PutImage command in case the battery pack goes low while the flash memory is being erased. If the power goes down when using PutImage, the reader locks up and the system flash must be reloaded from the Boot Loader menu and you will lose data. Conseil Il faut alimenter le lecteur par une source de courant AC lors de l'exécution de la commande PutImage dans le cas où le jeu de piles s'affaiblit pendant l'effacement du flash. Si le courant est coupé lors de l'exécution de PutImage, le lecteur se verrouille, le flash système doit être rechargé du menu d'amorçage (Boot Loader) et vous perdez des données. 3. If you created the image file on the host computer and want to load it to the reader from the host, start Interlnk now (with the host as client, and the reader as server). For help, see “Running Interlnk to Transfer Files” in Chapter 6. You do not have to start Interlnk if you followed one of these strategies: •

You created the image file on the reader.

•

You created the image file on the host computer, copied the file to a PC card, and inserted the PC card into the reader.

3-25

Page 116

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

4. Type this command on the reader: putimage [drive:][\path\][filename] where: drive is the drive that contains the image file.

path is the name of the directory that contains the image file. If you do not include a path, the current directory is used.

filename is the name of the drive C image file created by MkImage. If you do not specify a filename, PutImage looks for DRIVEC.BIN. If that file does not exist, PutImage displays an error message and terminates.

Note: PutImage will overwrite all files on drive C. For example, to copy the C-ATA.IMG image file from the host computer’s C:\FINAL directory to the reader, type this command: putimage c:\final\c-ata.img

PutImage tries to determine if there is adequate power before replacing the drive image. If a power problem exists, PutImage displays an error message and terminates. You see messages as the reader updates drive C. PutImage copies the current DOS image into RAM, erases flash memory, copies the DOS and new drive C image file to drive C, and warm boots the reader. If an error occurs, see “Using MkImage and PutImage” in Chapter 10.

Examples of Using MkImage and PutImage Here are three examples of how you can use MkImage and PutImage to change the contents of the reader’s drive C:

3-26

•

In the first example, you run both MkImage and PutImage on the reader.

•

In the second example, you run MkImage on the host, transfer the image file to the reader on a PC card, and run PutImage on the reader.

•

In the third example, you run MkImage on the host, use Interlnk to make the image file appear as if it were on the reader, and run PutImage on the reader.

Page 117

NF

BC Learning About the Software

3

Example 1 In this example, the resulting image file will be smaller than 256K, so you can create the image file on the reader’s physical RAM drive (drive E) and then load the image from drive E to drive C. 1. Create a working directory on the reader’s drive E by typing this command at the reader’s DOS prompt: mkdir e:\drivec

2. Fill the working directory with all the files you want to include in the new image file: a. Copy all the files from the current drive C to the working directory by typing this command at the reader’s DOS prompt: copy c:\*.* e:\drivec\*.* b. Add any other files to the working directory that you want on the reader’s drive C. These files may include read-only data files and applications for your JANUS users. c. Edit AUTOEXEC.BAT, CONFIG.SYS, and other files as necessary. 3. Create the new image file by typing this command at the reader’s DOS prompt: mkimage e:\drivec e:\c-ata.img

An image file, C-ATA.IMG, is created in the working directory of drive E. 4. You must provide an external power supply for the reader before you can execute PutImage. Connect a communications dock or optical link adapter to the reader, and then connect a power supply to the dock or adapter. 5. Update drive C by typing this command at the reader’s DOS prompt: putimage e:\c-ata.img

3-27

Page 118

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

Example 2 In this example, the resulting image file will be larger than 256K, so you must create the image file on the host computer. Also, this example assumes that the host computer and reader can share a PC card. 1. Create a working directory on the host computer by typing this command at the host computer’s DOS prompt: mkdir c:\drivec

2. Fill the working directory with all the files you want to include in the new image file: a. Copy the files from the current drive C to the working directory. Because the host computer and reader can share a PC card, you can insert the card into the reader’s PC card drive and copy all files from drive C to drive G. Then insert the card into the host computer’s PC card drive and copy all the files to the working directory. b. Add any other files to the working directory that you want on the reader’s drive C. These files may include read-only data files and applications for your JANUS users. c. Edit AUTOEXEC.BAT, CONFIG.SYS, and other files as necessary. 3. Create the drive image by typing this command at the host computer’s DOS prompt: mkimage c:\drivec c:\newdrv.img

An image file, NEWDRV.IMG, is created in the working directory of the host computer’s drive C. 4. Copy the image file from the host computer to the PC card and then insert the PC card into the reader’s PC card drive, drive G. 5. You must provide an external power supply for the reader before you can execute PutImage. Connect a communications dock or optical link adapter to the reader, and then connect a power supply to the dock or adapter. 6. At the reader’s DOS prompt, type this command to load the new image file onto drive C: putimage g:\newdrv.img

3-28

Page 119

NF

BC Learning About the Software

3

Example 3 In this example, you create the image file on the host computer, use Interlnk to make the image file appear as if it were on the reader, and use PutImage to load the image file to drive C. 1. Connect the reader to a host computer with a communications dock or optical link adapter. If you use the communications dock, you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly. 2. Connect a power supply to the communications dock or optical link adapter. 3. Create a working directory on the host computer by typing this command at the host computer’s DOS prompt: mkdir c:\drivec

4. Fill the working directory with all the files you want to include in the new image file: a. Copy the files from the current drive C to the working directory. Use Interlnk with the host computer as the client and the reader as the server. For help, see “Running Interlnk to Transfer Files” in Chapter 6. (You can also copy the files from the companion disks.) b. Add any other files to the working directory that you want on the reader’s drive C. These files may include read-only data files and applications for your JANUS users. c. Edit AUTOEXEC.BAT, CONFIG.SYS, and other files as necessary. 5. Type this command at the host computer’s DOS prompt: mkimage c:\drivec c:\newdrv.img

MkImage creates an image file, NEWDRV.IMG, in the working directory of the host computer’s drive C. 6. Restart Interlnk. Make the reader the client, and the host computer the server. For help, see “Running Interlnk to Transfer Files” in Chapter 6. The new image file, NEWDRV.IMG, appears on the reader’s drive H. 7. At the reader’s DOS prompt, type this command to load the image file to drive C: putimage h:\newdrv.img

3-29

Page 120

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

Creating and Using a Physical RAM Drive A physical RAM (random access memory) drive is a disk drive that exists only in your reader’s extended memory. You create, read, write, and delete files on a RAM drive the same way you can on a hard disk drive. RAM drives are faster than hard disk drives because the contents of a RAM drive are, by definition, always resident in RAM. By default, your reader’s drive E is configured in the CONFIG.SYS file as a 256K RAM drive. You can use the same DOS commands and Norton utilities on a RAM drive that you can on a hard disk drive.

Understanding When Files Are Saved or Lost Make sure you understand when the files on a RAM drive are saved or lost:

q

When You Do This

RAM Drive Files Are

You press

Saved to turn off the reader.

You warm boot the reader.

Saved

You cold boot the reader.

Lost

You load the reader’s flash memory.

Lost

You put the reader in Storage mode.

Lost

You execute CONFIG.SYS after changing the command that creates the RAM drive.

Lost or You turn off the reader (by pressing removing the battery) while the reader is performing a warm boot.

Lost q

Copy all important files from the RAM drive to another drive or another computer before you perform any task that causes the files to be lost. Note: If you need to cold boot the reader, you may be able to save the contents of the RAM drive. For help, see “Saving the Contents of the RAM Drive” in Chapter 10.

3-30