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.”
Summary of Contents for Trakker Antares 2460
Page 1: ...Trakker Antares 246X Stationary Terminal User s Manual...
Page 4: ...blank page...
Page 19: ...Introducing the 246X Stationary Terminal 1...
Page 20: ...blank page...
Page 29: ...Installing the Terminal 2...
Page 30: ...blank page...
Page 47: ...Configuring the Terminal 3...
Page 48: ...blank page...
Page 58: ...blank page...
Page 59: ...Operating the Terminal in a Network 4...
Page 60: ...blank page...
Page 88: ...blank page...
Page 89: ...Programming the Terminal 5...
Page 90: ...blank page...
Page 107: ...Troubleshooting 6...
Page 108: ...blank page...
Page 121: ...Reader Command Reference 7...
Page 122: ...blank page...
Page 149: ...Configuration Command Reference 8...
Page 150: ...blank page blank page...
Page 242: ...blank page blank page...
Page 243: ...Specifications A...
Page 244: ...blank page blank page...
Page 257: ...Full ASCII Charts B...
Page 258: ...blank page blank page...
Page 267: ...Using the Default Applications C...
Page 268: ...blank page blank page...
Page 279: ...Index I...
Page 280: ...blank page...
Page 290: ...body text 4...