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

JANUS 2020 Hand-Held Computer User's Manual, pages 171 to 180

Pages 171 to 180 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 171

NF

BC Configuring the Reader

5

The bar code labels change the reader’s current configuration, but the changes are not saved to a configuration file. Note: Quotation marks are required if parameter options conflict with the reader configuration commands. For example, to set a preamble to BV, use $+AD"BV". If you leave out the quotation marks ($+ADBV), the reader will mistake the command as setting the preamble (AD) to no characters and changing the beep volume (BV). Type two sets of quotation marks ("") to include one quotation mark in the command.

Configuring the Reader With IRL Z Commands You can automatically configure the reader each time you run an IRL program by including Z commands in the program. These Z commands change the reader’s current configuration, but the changes are not saved to a configuration file. You should use this configuration method when you want to run an IRL program that requires the reader to have a specific configuration. Include Z commands at the beginning of the IRL program to modify the configuration, and then include more Z commands at the end of the program to restore the configuration to its previous settings. For example, to change the display mode from buffered to transparent, insert this Z command in your IRL program: Z"$+DM1"

When the IRL program reaches this command statement, it configures the reader and then executes the next command line in the program. For help using Z commands, see your IRL Programming Reference Manual.

Configuring the Reader With PSK Functions You can automatically configure the reader each time you run a PSK application by including IM_COMMAND functions in the application. These IM_COMMAND functions change the reader’s current configuration, but the changes are not saved to a configuration file. For help using IM_COMMAND functions, see your JANUS PSK reference manual.

5-13

Page 172

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

Sending Commands From a Host Computer You can create reader applications that use Reader Services to accept configuration command strings from the host computer. These command strings change the reader’s current configuration, but the changes are not saved to a configuration file. For example, to configure the reader to decode Code 93, the host computer sends this command to a reader application: $+CF1

The reader application must have been designed to accept command syntax from the host computer. The reader cannot accept commands when it is at the DOS prompt. For help using Reader Services, see your JANUS PSK reference manual.

Editing a Configuration File A configuration file contains commands that modify the reader’s configuration. You can manually edit a configuration file to add, delete, or modify the commands. Choose one of these methods: •

Upload the configuration file to a host computer, edit the file using any standard ASCII text editor, and download the file to the reader.

•

Start Interlnk with the host computer as the client and the reader as the server. From the host computer, use any standard ASCII text editor to edit the configuration file on the reader.

•

Edit the configuration file on the reader with the EDLIN.EXE editor.

After editing the configuration file, you must configure the reader with the file. For help, see the next section, “Loading a Configuration File From the DOS Prompt.” This table shows the commands in a sample INI file, as well as descriptions of each command:

5-14

Command

Description

AD""

Preamble disabled.

AE"\x0D"

Postamble set to CR.

BD"00050L"BD"00050H"

Beep duration set to 50 ms for low and high beeps.

BF"01200L"BF"02400H"

Beep frequency set to 1200 Hz for low beeps and 2400 Hz for high beeps.

BV"1"

Beep volume set to quiet.

CA"99"

Interleaved 2 of 5 set to variable length with a check digit.

Page 173

NF

BC Configuring the Reader

5

Make sure you follow these conventions when you edit the INI file: •

Type all configuration commands in uppercase, or else the reader cannot recognize them as commands.

•

Enclose the command options in quotes (BV"1") when you are editing the configuration file. Quotation marks designate the end of a configuration command.

•

Use double quotes to enter a quote in the command line. For example, the reader interprets AD""4 as a command to set the preamble (AD) to the characters " and 4.

For a list of configuration commands in alphabetical order by command syntax, see the “Configuration Commands by Syntax” table in Appendix A. For a complete description of each command, see Chapter 12, “Configuration Command Reference.”

5-15

Page 174

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

Loading a Configuration File From the DOS Prompt You can type a command at the DOS prompt that causes IC.EXE to configure the reader with the specified configuration file without opening the menudriven IC.EXE interface. To load a configuration file from the DOS prompt •

Type this command at the DOS prompt: ic /l path\filename where: /l is the IC.EXE switch that loads a configuration file.

path is the drive and directory that contains the configuration file.

filename is the name of the configuration file you want to load.

For example, type this command: ic /l e:\network\reader\janus.ini

If there are no errors in the configuration file, the reader displays this message and configures the reader with the configuration file: Loading reader Configuration from {path\filename}

If the configuration file contains errors, the reader displays a message stating that the reader configuration is unchanged. The reader generates an error file with the same filename as the configuration file, but with the extension .ERR. This file lists the line numbers with the incorrect syntax and the reason for the error. The command SET IM_ERRPATH=E:\ in AUTOEXEC.BAT specifies that the error file is written to drive E. You can view the file by typing this command at the DOS prompt on drive E: type filename.err

5-16

Page 175

NF

BC Configuring the Reader

5

Loading a Configuration File Whenever You Boot Each time you cold boot the reader, the reader returns to its default configuration. If you do not want the default configuration, you can add a command to AUTOEXEC.BAT that configures the reader with another configuration file every time you warm or cold boot the reader. The reader’s AUTOEXEC.BAT file is stored on drive C. Because drive C is a ROM drive resident in flash memory, you must use special utilities to change its contents. For help, see “Learning How to Change the Contents of Drive C” in Chapter 3. To load a configuration file when you boot the reader 1. Create the configuration file to load when you boot the reader. For example, to save the current configuration in a file, start IC.EXE and select Save As from the File menu. Type a unique DOS filename for the file, such as JANUS.INI. 2. Add this line to the reader’s AUTOEXEC.BAT file: d:\ic /l path\filename where: /l is the IC.EXE switch that loads a configuration file.

path is the drive and directory that contains the configuration file.

filename is the name of the configuration file you want to load.

For example, type this command: d:\ic /l e:\network\reader\janus.ini

3. Copy the configuration file and new AUTOEXEC.BAT onto drive C. Or copy the configuration file onto a memory card in one of the PC card drives. Because the reader cannot boot from drive F, you should not copy the new AUTOEXEC.BAT file to drive F and expect the reader to boot from drive F. Note: If you store the configuration file on drive E, the file will be erased when you cold boot the reader, load flash memory, put the reader in Storage mode, or execute CONFIG.SYS after changing the command that creates drive E.

5-17

Page 176

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

Restoring the Reader’s Default Configuration When you configure the reader according to the instructions presented in this chapter, the parameters remain in effect until you reconfigure the parameters or cold boot the reader. You can return the reader to its default configuration, which is described in Appendix A. Choose one of these methods: •

Type this command at the DOS prompt and press e:

ic /d

Or scan this command at the DOS prompt:

*IC /OD* *IC /D*

•

Use IC.EXE to restore the default configuration. At the DOS prompt, type ic and press . Choose the Load Default command from the File menu. Then choose Exit from the File menu. When prompted to update the online configuration, choose Yes.

•

Cold boot the reader. During a cold boot, the reader returns to its default configuration. For help, see “Cold Booting the Reader” in Chapter 9.

e

Note: The reader does not return to its default configuration during a cold boot if you followed the instructions in the previous section, “Loading a Configuration File Whenever You Boot.”

5-18

Page 177

NF

BC Configuring the Reader

5

Recording Your Reader’s Configuration These tables list all of the configuration parameters, their options, and where to find them in IC.EXE. The default setting for each parameter is identified in bold italics in these tables. You should have an accurate record of the reader’s configuration settings in case the reader is ever reset and the configuration setup is lost: •

You can back up the reader’s configuration files and store the backups on another reader, a host computer, a PC card, or a disk.

•

You can record the configuration on the following pages by circling the option you chose for each parameter or writing the value.

Bar Code Symbologies Table Parameter

Options

Location in IC.EXE

Codabar

Disabled ABC Standard Concatenated

Sym menu, Codabar option

Start/Stop

Discard Retain ABCD Retain DC1-DC4

Sym menu, Codabar option

Code 11

Disabled One check digit Two check digits

Sym menu, Code 11 option

Code 16K

Disabled Standard With function code 1

Sym menu, Code 16K option

Code 2 of 5

Disabled 3 bar start/stop, label length 2 bar start/stop, label length

Sym menu, 2 of 5, I2 of 5 option

Code 39

Disabled No check digit Check digit HIBC AIAG check digit

Sym menu, Code 39 option

Check digit

Discard Retain

Sym menu, Code 39 option

ASCII

Non-full ASCII Full ASCII Mixed-full ASCII

Sym menu, Code 39 option

5-19

Page 178

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

Bar Code Symbologies Table (continued) Parameter

Options

Location in IC.EXE

Code 49

Disabled Enabled

Sym menu, Code 49 option

Function Code 1

Disabled ASCII character

Sym menu, Code 49 option

Function Code 2

Disabled ASCII character CR LF

Sym menu, Code 49 option

Function Code 3

Disabled ASCII character

Sym menu, Code 49 option

Code 93

Disabled Enabled

Sym menu, Code 93 option

Code 128

Disabled Standard UCC/EAN-128

Sym menu, Code 128 option

Interleaved 2 of 5

Disabled Fixed length # Variable length, no check digit Case Code, check digit Variable length, check digit

Sym menu, 2 of 5, I2 of 5 option

MSI

Disabled No check digit 1 modulus 10 check digits 2 modulus 10 check digits

Sym menu, MSI option

Check digits

Discard Retain

Sym menu, MSI option

Plessey

Disabled Discard check digit Retain check digit

Sym menu, Plessey option Sym menu, UPC/EAN option

UPC/EAN Check digit

Discard Retain

Sym menu, UPC/EAN option

EAN-8

Disabled Enabled

Sym menu, UPC/EAN option

Supplementals

Yes No

Sym menu, UPC/EAN option

5-20

Page 179

NF

BC Configuring the Reader

5

Bar Code Symbologies Table (continued) Parameter

Options

Location in IC.EXE

UPC/EAN (continued) UPC-A/EAN-13

Disabled Enabled UPC-A only

Sym menu, UPC/EAN option

UPC-E

Disabled Enabled

Sym menu, UPC/EAN option

Number system digit

Discard Retain

Sym menu, UPC/EAN option

UPC-A leading zero

Discard Retain

Sym menu, UPC/EAN option

Parameter

Options

Location in IC.EXE

Communications Dock Port

Auxiliary Network

Com menu, COM1 option, Dock Port option

COM Port, Select

COM1 COM4 (RF)

Not available in IC.EXE

COM Port, UART Restore

00 Hex Hex value

Com menu, COM1 option UART Restore option

Communications Protocol Configure

User-Defined Point-to-Point Polling Mode D Multi-Drop PC Standard

Com menu, COM1 option, Configure option

Communications Protocol, Activate

User-Defined Point-to-Point Polling Mode D Multi-Drop PC Standard None

Com menu, COM1 or RF option, Activate option

Communications Protocol, User-Defined Multi-Drop

Disabled Enabled

Com menu, Configure option, User-Defined protocol

Communications Table

5-21

Page 180

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

Communications Protocol Parameters Table Parameter

Options

Location in IC.EXE

Address, Multi-Drop

A to Z, 0 to 5 A

Com menu, COM1 option, Multi-Drop protocol

AFF

Disabled Any ASCII character

Com menu, COM1 option, User-Defined protocol

Baud Rate

110 300 600 1200 2400 4800 9600 19200 38400

Com menu, COM1 option, All protocols except Multi-Drop

Data Bits

7 bits 8 bits

Com menu, COM1 option, All protocols except Polling Mode D

EOF

Disabled Any ASCII character

Com menu, COM1 option, User-Defined protocol

EOM Transmit

Disabled Any two ASCII characters CR and LF

Com menu, COM1 option, User-Defined protocol

EOM Receive

Disabled Any two ASCII characters CR and LF

Com menu, COM1 option, User-Defined protocol

EOR

Disabled Any two ASCII characters

Com menu, COM1 option, User-Defined protocol

Flow Control

None XON/XOFF response XON/XOFF control XON/XOFF response and control CTS checking/RTS control

Com menu, COM1 option, User-Defined protocol Point-to-Point protocol Polling Mode D protocol

5-22