FAQ: How to configure SGI IRIX to print to RPM
Question: How do I configure my SGI IRIX lpr to print through RPM Remote Print Manager™?
Answer: To print through RPM from SGI IRIX, the following instructions will help you configure the remote printer definition.
The daemon /usr/etc/lpd should already be running by default if the proper software has been installed. This software is installed from the eoe2.sw.bsdlpr subsystem on 3.3.1 or later versions of IRIX.
- Edit the /etc/printcap file and add your printer information. If you need help here, see the man pages for printcap. If you want to make a printer the default printer for the lpr command, add lp to the list of printer name aliases. A typical printer entry looks like:
hp4|rpmqueue|lp:\:sd=/usr/spool/print/hp4:\:rm=rpm.brooksnet.com:\:rp=rpmqueuename:\:lf=/var/adm/lpd-errs:
- Create the general spool directory and set the correct ownership and permissions. This step should only be done if this is the first printer created. You cannot perform this step more than a single time.
cd /usr/spoolmkdir printchown lp printchgrp lp printchmod 755 print
- Create the spool directory for the new printer and set the correct ownership and permissions. The name of the directory is specified in the /etc/printcap entry on the sd= line.
cd /usr/spool/printmkdir hp4chown lp hp4chgrp lp hp4chmod 755 hp4
- At this point, the system should be restarted or you may restart the /usr/etc/lpd to allow the changes to take effect.
Note: To print, enter the following command at the shell prompt:
lpr -Php4 path/to/file
- Login or register to post comments
Printer-friendly version
