7193 Owner’s Guide
Chapter 5: Communication
August 1998
33
Chapter 5: Communication
Communication Overview
In order for a receipt to be printed, a program must be in place that translates the data
from the host computer into a language that the printer can understand. This program
must tell the printer exactly how to print each character. This chapter describes how to
create such a program or modify an existing one.
Interfaces
In order for the printer to communicate with the host, a communication link must be set
up. The 7193 supports the following communication interfaces:
•
RS-232C Interface
•
Parallel Interface
Each of these has a protocol associated with it that the host must understand and adhere to.
Only when the interface parameters are matched and the proper protocol is used will the
host and the printer be able to communicate. See the respective sections in this chapter for
a description of the protocol associated with each type of interface.
Sending Commands
Once the communication link is established, commands can be sent to the printer. This
section describes how to send commands to the printer using DOS and BASIC. This section
does not take into account the necessary protocol, but is meant as a general introduction to
how the printer functions.
Using DOS to Send Commands
One way of getting commands to the printer is to send them directly from DOS. For
example, the command
COPY CON: COM1:
sets the computer up such that the hexadecimal code corresponding to any key that was
pressed would be sent to the communication port COM1 when the COPY mode is exited.
If the printer is connected to COM1, then the data will go to the printer.
Exit the COPY mode by typing
CTRL Z
and then pressing the ENTER key. Once the computer knows to direct data from any print
command to the proper port, commands can be sent from any software program.
Summary of Contents for 7193
Page 1: ...BD20 1439 A Issue B August 1998 NCR 7193 Thermal Receipt Printer Owner s Guide ...
Page 6: ...Contents 7193 Owner s Guide August 1998 x ...
Page 16: ...Chapter 2 Setting Up the Printer 7193 Owner s Guide August 1998 10 Parallel Models ...
Page 22: ...Chapter 2 Setting Up the Printer 7193 Owner s Guide August 1998 16 ...
Page 24: ...Chapter 2 Setting Up the Printer 7193 Owner s Guide August 1998 18 ...
Page 26: ...Chapter 2 Setting Up the Printer 7193 Owner s Guide August 1998 20 ...
Page 30: ...Chapter 3 Solving Problems 7193 Owner s Guide August 1998 24 ...
Page 48: ...Chapter 5 Communication 7193 Owner s Guide August 1998 42 ...
Page 88: ...Chapter 6 Commands 7193 Owner s Guide August 1998 82 ...
Page 96: ...Appendix B Print Characteristics 7193 Owner s Guide August 1998 88 ...
Page 102: ...Index 7193 Owner s Guide August 1998 94 ...
Page 103: ......