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 9 of 17

PT2000 & Top Gun Portable Data Terminals User's Guide, pages 81 to 90

Pages 81 to 90 of 168

The original document is the PDF (3.9 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 PSC PT-2000, PSC TopGun, Datalogic PT-2000 and Datalogic TopGun

Page 81

5 Transferring Data With PSC Utilities

CHAPTER CONTENTS Ove rvie w ............................................................. 60 Us ing Porta ble File Tra ns fe r Progra m (PTFER).. 61 Installing & Setting up PTFER ............................. 61 Uploading a File .................................................... 62 Downloading a File ............................................... 64 Changing Settings ................................................. 64 Setting Command Line Options ........................... 66 Us ing PDTFER ................................................... 68 Us ing MACTFER ................................................ 69 Us ing UPDTFER................................................. 71

Page 82

Transferring Data With PSC Utilities

Overview After scanning a series of bar codes or inputting other data into the PT2000 or Top Gun, use a data-transfer utility to upload the information to the host computer. Note:

To launch Windows applications, select menu options, use dialog boxes, or refer to Microsoft Windows documentation.

Both the PT2000 and Top Gun come with PSC’s Portable Applications Library (PAL) on a disk. PAL includes two programs to transfer data between the portable and a PC:

PTFER Windows application. (Refer to page 73.) PDTFER DOS program that runs by issuing commands on the DOS command line. (Refer to page 80.) Note:

PSC also provides two utilities MACTFER and UPDTFER for transferring data to and from Macintosh or UNIX workstations. These utilities are free from PSC for your convenience, however their use is at your own risk, and not supported by PSC Technical support. Go to the PSC website at www.pscnet.com > Support > Software Updates > PT2000/ Top Gun to download the most current transfer program. Refer to Technical Support on page viii for more information.

MACTFER Macintosh program used to communicate via 8-pin DIN ADB (not USB) with a Macintosh. (Refer to page 81.)

UPDTFER UNIX program used to communicate with a UNIX workstation. (Refer to page 83.) After collecting data with the portable, use one of these programs to transfer the data to an ASCII file on the PC.

72

PT2000 & Top Gun PDTs

Page 83

Using Portable File Transfer Program (PTFER)

Using Portable File Transfer Program (PTFER) Installing & Setting up PTFER To prepare for a data transfer between the PC and the PT2000 or Top Gun, complete the following steps: 1.

If the utility software is not already installed on the PC, install it following the instructions included with the diskette packaged with the portable.

2.

In Windows, click on the Portable File Transfer (PTFER) icon in the PSC program group to get a blank PTFER window (refer to Figure 5-1).

Note:

The figures in this chapter show the utilities in Windows 95. When using a different version of Windows, the utility windows may look slightly different.

Figure 5-1: The PSC Portable File Transfer window

User’s Guide

73

Page 84

Transferring Data With PSC Utilities

3.

By default, PTFER uses the following communications settings: Port

COM2

Baud rate

9600

Stop bits

1

Data bits

8

Parity

None

Protocol

ACK/NAK

These are also the default settings for the PT2000 and Top Gun. Scan the following bar code to set the portable’s serial communications parameters to these defaults: Serial Communication parameters (defaults)

*$+$-C8EE* * $ + $ - C 8 E E *

To switch to a different port or make other changes to the defaults, refer to “Changing Settings,” on page 76. 4.

Select Options >Connect (or click on the Connect button in the Communications Settings dialog box) to connect with the selected port.

5.

The message Communications port opened appears in the window. It is now possible to transfer files between the PC and the portable.

Uploading a File To upload a file from the PT2000 or Top Gun to the PC: 1.

74

Select File > Receive and use the File to Receive dialog box (refer to Figure 5-2) to specify the name and location of the file to store the data in.

PT2000 & Top Gun PDTs

Page 85

Using Portable File Transfer Program (PTFER) Figure 5-2: The File to Receive dialog box

2.

PTFER displays a message saying that it is expecting the file (refer to Figure 5-3).

3.

Make the appropriate selections on the portable to upload the data into the specified file on the PC (refer to page 49).

Figure 5-3: The PTFER window during an upload

Note:

4.

User’s Guide

If no success message appears, select a different port.

When the file has been successfully transferred, a message appears in the PTFER window.

75

Page 86

Transferring Data With PSC Utilities

Downloading a File To send a file from the PC to the PT2000 or Top Gun: 1.

Prepare the portable to receive a file.

Note:

Refer to the information about the DESCRIPT application on Page 35.

2.

Then select File > Send from the PTFER menu.

3.

Specify the name and location of the file in the File to Transmit dialog box. (Except for the title bar, the File to Transmit dialog box is identical to the File to Receive dialog box, shown in Figure 5-4.)

4.

When the file has been successfully transferred, a message appears in the PTFER window.

Changing Settings By default, PTFER uses the PC's COM2 port for communicating with the portable. If the COM2 port is already in use by a modem, mouse, or other device, specify a different port or alter the communications settings for the port. Note:

When not sure what settings to use, leave them at the defaults. To restore factory defaults, scan the bar codes in Predefined Defaults on page 128

To use a different port or to alter port settings: 1.

76

Select Options > Settings from the PTFER menu to receive the Communications Settings dialog box (Figure 5-4).

PT2000 & Top Gun PDTs

Page 87

Using Portable File Transfer Program (PTFER)

Figure 5-4: The Communications Settings dialog box

User’s Guide

Note:

When a connection has been made to the serial port, the Settings option is dimmed on the menu and cannot be selected. Select Options > Connect again to disconnect the application, and then select Options > Settings again.

2.

To use a different COM port, select it in the Port options group.

3.

Use this dialog box to switch baud rate, the number of stop bits, and the type of parity. (Use the settings which match the settings used in the PT2000 or Top Gun.)

4.

When finished, click on the Connect button to connect to the port, or select OK and then use the Connect command in the menu to make the connection.

77

Page 88

Transferring Data With PSC Utilities

Setting Command Line Options Note:

In Windows 3.x, the command is in the Command Line input box in the application’s Program Item Properties window in the Program Manager. In Windows 95, create a shortcut to the application. (The Desktop is a good place to put the shortcut.) Find the command in the Target input box on the Properties tab of the shortcut’s Properties window.

Change settings for the Portable File Transfer program before starting the program by entering options for the command that starts it. Type the options using the following syntax: ptfer filename [-¦/][Pn][Bn][Dn][action] where filename = the name of the file to transfer (include the extension) Pn = the number of the COM port to be used (1, 2, 3, or 4; the default setting is P2) Bn = the baud rate to use (the default setting is B9600) Dn = the timeout period, in seconds (the default is 30 seconds on receive and 1 second on transmit) action = A to receive data and append it to the existing file C to connect automatically when transmitting or receiving E to echo the display to the screen H to display on screen help M to maximize the PTFER window N to minimize the PTFER window 0n n n to set the size and position of the PTFER window R to receive data from the portable and replace the existing file contents S to display the line count in the title bar T to transfer data to the portable (the default) X to exit automatically after data is transmitted or received 78

PT2000 & Top Gun PDTs

Page 89

Using Portable File Transfer Program (PTFER)

The port, baud rate, timeout, and action parameters are optional. If using one or more parameters, precede them with a hyphen (-) or a slash (/). Enter parameters either before or after the file name. For example: the command ptfer link.txt /P1 would send the file named link.txt over COM1 to the portable (the default action, T, is assumed). The command ptfer -3r data.txt would upload data from the portable over COM3 into a file named data.txt.

The port, baud rate, and position and size settings are saved to and restored from the initialization file.

User’s Guide

79

Page 90

Transferring Data With PSC Utilities

Using PDTFER Instead of using the PTFER application in Windows, transfer files to and from the PT2000 or Top Gun using commands on the DOS command line. The command line syntax for transferring files with PTFER is as follows: pdtfer filename [-¦/][port][Bn][Dn][action] where filename = the name of the file to transfer (include the extension) port = the number of the COM port to use (1, 2, 3, or 4; the default setting is 2) Bn = the baud rate to use (the default setting is B9600) Dn = the timeout period, in seconds (the default is 30 seconds on receive and 1 second on transmit) action = A to receive data and append it to the existing file E to echo the display to the screen H to display on screen help R to receive data from the portable and replace the existing file contents T to transfer data to the portable (the default) The port, baud rate, timeout, and action parameters are optional. When using one or more parameters, precede them with a hyphen (-) or a slash (/). Enter parameters either before or after the file name. For example, the command pdtfer link.txt /1 sends the file named link.txt over COM1 to the portable (the default action, T, is assumed). The command pdtfer -3r data.txt would upload data from the portable over COM3 into a file named data.txt. Note:

80

Files must be transferred to or from the current DOS directory.

PT2000 & Top Gun PDTs