The text of a manual · part 18 of 57
JANUS 2020 Hand-Held Computer (4MB) User's Manual, pages 171 to 180
Pages 171 to 180 of 565
The original document is the PDF (2.7 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, Intermec JG2020 and Intermec JR2020
Page 171
JANUS 2020 Hand-Held Computer User’s Manual (4MB) NFBC
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 172
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.”
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
5-15
Page 173
JANUS 2020 Hand-Held Computer User’s Manual (4MB) NFBC
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
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
5-16
Page 174
NF
BC Configuring the Reader
5
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.
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
@:
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 . Choose the Load Default command from the File menu. ic and press 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.
@
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-17
Page 175
JANUS 2020 Hand-Held Computer User’s Manual (4MB) NFBC
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-18
Page 176
NF
BC Configuring the Reader
5
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-19
Page 177
JANUS 2020 Hand-Held Computer User’s Manual (4MB) NFBC
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-20
Page 178
NF
BC Configuring the Reader
5
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-21
Page 179
JANUS 2020 Hand-Held Computer User’s Manual (4MB) NFBC
Communications Protocol Parameters Table (continued) Parameter
Options
Location in IC.EXE
Intercharacter Delay
0 1 ms 2 ms 5 ms 10 ms 20 ms 50 ms 100 ms
Com menu, COM1 option, User-Defined protocol Point-to-Point protocol
IRL BAK
Disabled Any ASCII character BEL
Com menu, COM1 option, User-Defined protocol
IRL End Program Block
Disabled Any ASCII character SO (shift out)
Com menu, COM1 option, User-Defined protocol
IRL EOP
Disabled Any ASCII character SYN (synchronous idle)
Com menu, COM1 option, User-Defined protocol
IRL PAK
Disabled Any ASCII character RS (record separator)
Com menu, COM1 option, User-Defined protocol
IRL PSS
Disabled Any ASCII character CR (carriage return)
Com menu, COM1 option, User-Defined protocol
IRL RUN
Disabled Any ASCII character DC2 (device control 2)
Com menu, COM1 option, User-Defined protocol
IRL SOP
Disabled Any ASCII character SI (shift in)
Com menu, COM1 option, User-Defined protocol
LRC
Disabled Enabled
Com menu, COM1 option, User-Defined protocol
NEG
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
Parity
None Even Odd Mark Space
Com menu, COM1 option, All protocols except Polling Mode D
5-22
Page 180
NF
BC Configuring the Reader
5
Communications Protocol Parameters Table (continued) Parameter
Options
Location in IC.EXE
POL
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
Records Per Block
All records transmitted in one block 1-99 records transmitted per block
Com menu, COM1 option, User-Defined protocol
REQ
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
RES
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
SEL
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
SOM
Disabled Any ASCII character
Com menu, COM1 option, User-Defined protocol
Stop Bits
1 bit 2 bits
Com menu, COM1 option, User-Defined protocol Polling Mode D protocol PC Standard protocol
Timeout Delay
5 ms 100 ms 500 ms 2 sec 10 sec 20 sec 40 sec 60 sec no timeout
Com menu, COM1 option, User-Defined protocol Point-to-Point protocol
Transmit Abort Timeout
Disabled (0) 1-65000 ms
Com menu, COM1 option, User-Defined protocol Multi-Drop protocol
5-23