Technical data

PortServer Terminal Server Page 97
Printers
Configuring a Printer
First, you need to define the port that the printer is connected to as a printer device, with the
command set ports dev=prn range=printer port.(Seepage52.)AlsoseeDevices and
Wiring Considerations on page 93.
Connecting a Printer
See the discussion on connecting peripheral devices on page 6 for a suggested printer wiring
diagram, and the discussion under dev=prn on page 94. For most printers you will also have
to configure software or hardware flow control, or the printer will fall behind and data will be
lost.
Most printers that use hardware flow control use DTR flow control. Therefore DTR from the
printer must be wired to some input on the PortServer (usually CTS or DCD) that can be used for
flow control. Some printers use Printer Busy (pin 11) for output flow control.
The type of flow control used is set by the set flow= commands, described on page 45.
When setting flow control on the PortServer, do not set any flow control from the host youre
printing from.
Printing a File
Telnet example: (printer on port 1)
pr myfile | telnet ncx 2001
RSH example: (printer on port 1)
pr myfile | rsh ncx 1
If you are not getting the proper linefeed after a carriage return, turn on onlcr (converts
CR to CR-NEWLINE). The command is set line onlcr=on (as described on page 50).
TABS (ASCII 9) can be converted to spaces, with 8 spaces per TAB character. Use set
line otab=on if you want tabs converted. (See page 50).