Using Printcap To Configure A Workstation For The Printer's Serial Port - Tektronix Phaser 550 Service Manual

Hide thumbs Also See for Phaser 550:
Table of Contents

Advertisement

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. 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.
3.
Create a directory called /var/spool/px and create a file in the directory
called if. The content of the file should look like this:
#!/bin/sh
/bin/cat
4.
Give the if file executable permission:
chmod +x if
Installing the Printer and Drivers
Service Manual
2
2-33

Advertisement

Table of Contents
loading

Table of Contents