
NCR RealScan 7802 Price Verifier User Guide
497-0425530 Release E
06/03
17 of 94
Adding a Serial Printer
Software versions 4.16 and later provide support for an external serial printer as well as
the hand-held scanner. The factory default setting for serial port 2 is
SCANNER
for the
hand scanner. If a serial printer is required instead of the scanner, serial port 2
configuration must be changed to
OUTPUT
. The port may also be disabled by setting it
to
NONE
. You must also purchase a special Y cable that exposes the external RS232 port
to connect the printer to RealScan 7802. This cable comes with a DB9 female connector
and connects directly to the NCR 7197 Thermal Receipt Printer connector. Other
manufacturers serial printers may require a different cable. Check with the factory
before attempting to connect a different printer.
In
OUTPUT
mode, serial port 2 is an output only, RS232 data port. The RealScan 7802
receives pre-formatted data and control codes from a printer driver resident on the
network host, which it passes, unmodified, through serial port 2 to the printer. Printer
drivers are specific to the printer used and are the responsibility of the user.
Wiring and Configuring the Serial Port
Use the modeset utility to change the serial port configuration to
OUTPUT
mode. If you
are using an MS Windows system, open a DOS box and change to the C:\POS directory
where modeset is stored and send the 2 following lines. The modeset utility, found on
the CD-ROM, must be copied onto the server before these commands can be sent.
C:\POS modeset -iPort2function = OUTPUT <IP>
↵
C:\POS modeset -c -r <IP>
↵
where <IP> is the unit’s IP address.
The default serial port 2 settings are 9600 baud, no parity, 8 data bits, 1 stop bit. The
printer port settings must be set to the same parameters as serial port 2 to be able to
communicate with the RealScan 7802. If you want to run the printer faster or change
other parameters, a utility program
PortSet
is provided on the CD-ROM for modifying
serial port settings.
Sending Data to the Printer
The host server must use nominal-mode ProductInfo packets to send data to the printer.
The packets required are
Data
type,
Special Text
sub-type. Following is an example of a
typical message.
Byte Count
Value (Oh)
Meaning
0-3
00 00 00 13
Length of packet (19 bytes)
4-7
44 41 54 41
'DATA' Data type
8-11
53 50 45 43
'SPEC' Special Text sub-type
12-18
48 65 6C 6C 6F 21 0A
'Hello!<LF>' Text sent to printer
Содержание RealScan 7802
Страница 30: ...NCR RealScan 7802 Price Verifier User Guide 06 03 497 0425530 Release E 30 of 94 ...
Страница 54: ...NCR RealScan 7802 Price Verifier User Guide 06 03 497 0425530 Release E 54 of 94 ...
Страница 70: ...NCR RealScan 7802 Price Verifier User Guide 06 03 497 0425530 Release E 70 of 94 ...
Страница 82: ...NCR RealScan 7802 Price Verifier User Guide 06 03 497 0425530 Release E 82 of 94 20029 ...
Страница 83: ...NCR RealScan 7802 Price Verifier User Guide 497 0425530 Release E 06 03 83 of 94 20030 2 0 3 73 19 73 11 01 ...