nugget
39
Operating the Terminal in a Network
4-23
4
The source code for the sample utilities
CLIENT.CPP
and the include file
UTILS.H
is
shown on the next pages. You can build the application using Microsoft Visual C++
version 4.0 (or higher) and the Windows socket library that is included with Windows
Visual C++. You can also develop your own application to meet the needs of your host
environment.
You run the resulting application (
CLIENT.EXE
) from the DOS command line. The
application expects NCM to be defined as the terminal IP address in the hosts file. Once
running, the application prompts you to enter a reader command, which it then sends to
the 2461. The application also displays any return messages. Reader commands are
handled by the 2461 terminal operating system, so you can continue running an
application while you use the
CLIENT.EXE
application to send commands.
To use the sample utility CLIENT.CPP
1. Make sure the TFTP server is running on the host and the 2461 is communicating
with the host.
2. In the hosts file on the host, add the terminal IP addresses and the target name,
NCM. For example, to send files or data to the 2461 with an IP address of
192.9.200.130, add this line to the hosts file:
192.9.200.130 ncm
3. Start the
CLIENT.EXE
application on the host.
4. When the “Enter Command” prompt appears on the host, enter the two-character
TMF code, CS (Configuration Set request) followed by the reader or configuration
command.
For example, to send the application
INVENTRY.BIN
from drive C on the host to
drive C on the 2461, enter this command:
CS.%R,c:inventry.bin,c:inventry.bin
Or, to change the beep volume to very loud, enter this command:
CS$+BV4
For command information, see Chapter 7, “Reader Command Reference” or
Chapter 8, “Configuration Command Reference.”
Содержание Trakker Antares 2460
Страница 1: ...Trakker Antares 246X Stationary Terminal User s Manual...
Страница 4: ...blank page...
Страница 19: ...Introducing the 246X Stationary Terminal 1...
Страница 20: ...blank page...
Страница 29: ...Installing the Terminal 2...
Страница 30: ...blank page...
Страница 47: ...Configuring the Terminal 3...
Страница 48: ...blank page...
Страница 58: ...blank page...
Страница 59: ...Operating the Terminal in a Network 4...
Страница 60: ...blank page...
Страница 88: ...blank page...
Страница 89: ...Programming the Terminal 5...
Страница 90: ...blank page...
Страница 107: ...Troubleshooting 6...
Страница 108: ...blank page...
Страница 121: ...Reader Command Reference 7...
Страница 122: ...blank page...
Страница 149: ...Configuration Command Reference 8...
Страница 150: ...blank page blank page...
Страница 242: ...blank page blank page...
Страница 243: ...Specifications A...
Страница 244: ...blank page blank page...
Страница 257: ...Full ASCII Charts B...
Страница 258: ...blank page blank page...
Страница 267: ...Using the Default Applications C...
Страница 268: ...blank page blank page...
Страница 279: ...Index I...
Страница 280: ...blank page...
Страница 290: ...body text 4...