Service Manual
2-29
Installing the Printer and Drivers
2
Using
printcap to configure a workstation for the printer's serial port
The printcap file configures the workstation's lpr queues. The file is usually
found in the workstation's /etc. directory. The printer's rear panel switch settings
should all be down. Use a null modem cable since the printer is set up as a DTE
device. For this example, the printer's serial port settings are as follows:
Speed: 9600
Flagging: Software (XON/XOFF)
Data Bits: 8
Parity: Ignore
To set up a printcap entry, perform the following steps:
1.
Make a backup copy of the /etc/printcap file.
2.
Append to the printcap file a new print queue name and set the port
parameters as needed. Append the following to the printcap file:
px:\
:br#9600:rw:\
:fc#00000374:fs#00000003:\
:xc#0:xs#0040060:\
:mx#0:sf:sh:\
:sd=/var/spool/px:\
:if=/var/spool/px/if:\
:lp=/dev/ttya:
px
may be changed to whatever unique printer name you choose. The
device driver name in lp may be different depending upon which
serial port the printer is connected to and the device driver naming
scheme for the workstation.