The text of a manual · part 21 of 28
6400 PSK Reference Manual, pages 201 to 210
Pages 201 to 210 of 272
The original document is the PDF (1.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 6400
Page 201
Nugg
C
39 Reader Command Reference
6
Transmit File XMODEM Purpose:
From COM Port:
Transmits a file from the 6400 through the serial port and saves it on the host computer. You must have the 6400 connected to the host through the EZ Dock docking. On the host, you need to receive the file using a serial communications package that supports the XMODEM protocol (i.e., Windows 3.1 Terminal or Win95 Hyperterminal). %%X1,drive:filename where:
Scan:
%%X is the command to transmit a file using XMODEM protocol.
1 indicates the 6400’s serial port.
drive:
indicates the drive where the file is stored on the 6400. You must include the colon (:) after the drive letter.
filename is the file you want to transmit.
1. Scan this bar code label: Enter Accumulate Mode / Transmit File
*/K/O/E/EX1/L* *+/%%X1,*
2. Scan the bar code label(s) for the file you want to transmit. You can scan labels from the “Full ASCII Table” in Appendix C. The label must use this format: drive:filename
3. Scan this bar code label to exit Accumulate mode and transmit the file. Exit Accumulate Mode
*-/* *-/*
Or:
You can create your own bar code labels to transmit files by creating a bar code in this command format: %%X1,drive:filename
Example:
To transmit the file SHIPPING.DAT from drive C to the host, use this command: %%X1,c:shipping.dat
6-15
Page 202
6400 PSK Reference Manual Nugg C
39
Transmit File XMODEM-1K Purpose:
From COM Port:
Transmits a file from the 6400 through the serial port and saves it on the host computer. You must have the 6400 connected to the host through the EZ Dock docking. On the host, you need to receive the file using a serial communications package that supports the XMODEM-1K protocol (i.e., Windows 3.1 Terminal or Win95 Hyperterminal). %%K1,drive:filename where:
Scan:
%%K is the command to transmit a file using XMODEM-1K protocol.
1 indicates the 6400’s serial port.
drive:
indicates the drive where the file is stored on the 6400. You must include the colon (:) after the drive letter.
filename is the file you want to transmit.
1. Scan this bar code label: Enter Accumulate Mode / Transmit File
*/K/O/E/EK1/L* *+/%%K1,*
2. Scan the bar code label(s) for the file you want to transmit. You can scan labels from the “Full ASCII Table” in Appendix C. The label must use this format: drive:filename
3. Scan this bar code label to exit Accumulate mode and transmit the file. Exit Accumulate Mode
*-/* *-/*
Or:
You can create your own bar code labels to transmit files by creating a bar code in this command format: %%K1,drive:filename
Example:
To transmit the file SHIPPING.DAT from drive C to the host, use this command: %%K1,c:shipping.dat
6-16
Page 203
7 Configuration Command Reference
Page 204
blank
Page 205
Configuration Command Reference
7
This chapter contains an alphabetical list of all the configuration commands supported on the 6400.
Using Configuration Commands A configuration command changes the way the 6400 operates while running a PSK application. You can execute configuration commands by: • sending a command from a device connected to the serial port.
• calling an im_command from an application.
• scanning a bar code label using the 6400.
You can find the following information about each configuration command in this chapter: •
Command description and purpose
•
Command syntax and options
•
Default setting
The configuration commands are listed alphabetically by command name. For a list of bar code symbology, operations, or communications commands, use the next table, “Configuration Commands Listed by Category.” All configuration commands begin with $+, followed by the specific two-character command and optional parameters. The configuration that you specify with these commands is distinct from the BIOS level configuration specified with the setup utility. The configuration that you specify is active only through an application built with the PSK library. For more information on the 6400 BIOS, see the Pen*Key 6400 Hand-Held Computer Programmer’s Guide, Part No. 977-054-004. The configuration is stored in a hidden file on the C drive, TR6400.CFG. This file is referenced only when an application calls a PSK function. If TR6400.CFG is deleted or corrupted, a new file will be created with default values when a PSK function is called. Note: Placeholders may be used in the syntax of some commands to allow compatibility with other programmable Intermec products that have more variables.
7-3
Page 206
6400 PSK Reference Manual
Configuration Commands Listed by Category The following table lists the configuration commands you may need to set for bar code symbologies, operations, or serial port device communications.
7-4
Bar Code Symbologies
Default Setting
Codabar
Disabled
Code 39
Full ASCII Code 39 enabled with no check digit
Code 128
Standard
Interleaved 2 of 5
Disabled
MSI
Disabled
UPC/EAN
Enabled
Operations
Default Setting
Append Time
Disabled
Beep Volume
Normal
Command Processing
All reader commands enabled
Display Backlight Timeout
10 seconds
Display Contrast
3
Display Font Type
6x9
Keypad clicker
Disabled
Postamble
No characters (disabled)
Preamble
No characters (disabled)
RAM Drive Size
0
Resume Execution
Allowed
Time and Date
920101120000
Time in Seconds
Disabled
Page 207
Configuration Command Reference
Communications
Default Setting
Baud Rate
19200
Configuration Commands Via Serial Port
Enabled without TMF
Data Bits
7
End of Message (EOM)
\x03 (hexadecimal value for ETX)
Flow Control
None
Handshake
Disabled
LRC (Longitudinal Redundancy Check)
Disabled
Parity
Even
Poll (Polling)
Disabled
Start of Message (SOM)
\x02 (hexadecimal value for STX)
Stop Bits
1
Timeout Delay
10 seconds
7
Entering Variable Data in a Configuration Command You can enter variable data for many of the configuration commands. For example, you can set a preamble that is up to 25 ASCII characters long. You need to follow these general instructions to enter variable data. To enter variable data in a configuration command 1. Scan a bar code label with this syntax: +/$+command where: +/ is the syntax for the Enter Accumulate Mode command.
$+ is the syntax for the Change Configuration command.
command is the syntax for the command you want to change.
7-5
Page 208
6400 PSK Reference Manual
Entering Variable Data in a Configuration Command (continued) For example, the command syntax for a preamble is ADdata. To change or set a preamble, scan this bar code: Enter Accumulate Mode / Change Configuration / Set Preamble
*+/$+AD* *+/$+AD*
2. Scan a bar code label from the “Full ASCII Table” in Appendix C. To set the preamble to the character T, scan this label: T
*T* *T*
Note: To use the bar code labels in Appendix C, you must configure the 6400 to use Code 39 in Full ASCII mode. For help, see “Code 39” later in this chapter. 3. Scan the Exit Accumulate Mode bar code label to update the 6400’s configuration: Exit Accumulate Mode
*-/* *-/*
7-6
Page 209
Configuration Command Reference
7
Append Time Purpose:
Appends the time to data records that are transmitted from the 6400. You can also use the Time in Seconds command to append the time in hours and minutes only, or hours, minutes, and seconds. The time is appended to each data record in the form HH:MM:SS. For help, see “Time in Seconds” later in this chapter.
Syntax:
DEdata Acceptable values for data are: 0 1
Default: Scan:
Disabled Enabled
Disabled One of these bar codes: Disable Append Time
*$+DE0* *$+DE0*
Enable Append Time
*$+DE1* *$+DE1*
PSK Example:
im_command (“$+DE1”,5); will enable the Append Time feature.
7-7
Page 210
6400 PSK Reference Manual
Baud Rate Purpose:
Sets the baud rate for the serial port on the 6400. The baud rate must match the baud rate of the device (i.e., the host computer) that the 6400 is communicating with through the serial port.
Syntax:
IAdata Acceptable values for data are: 3 4 5 6 7 8 9 A
Default: Scan:
1200 baud 2400 baud 4800 baud 9600 baud 19200 baud 38400 baud 57600 baud 115200 baud
19200 baud One of these bar codes: 1200 Baud
2400 Baud
*$+IA3*
*$+IA4*
4800 Baud
9600 Baud
*$+IA5*
*$+IA6*
19200 Baud
38400 Baud
*$+IA7*
*$+IA8*
57600 Baud
115200 Baud
*$+IA3*
*$+IA5*
*$+IA7*
*$+IA9* *$+IA9*
PSK Example:
im_command (“$+IA8”,5); will set the baud rate to 38400.
7-8
*$+IA4*
*$+IA6*
*$+IA8*
*$+IAA*
*$+IAA*