There are two separate printing programs on the SGI's, lp which is used by the Desktop and most SGI programs and is the default on an SGI, and lpr, which is usually used from the command line in a shell window and is used by most other Unix systems like Suns and RS/6000's.
The lp program does not normally use the network or talk to remote printers which is why you don`t see it in the Printer Manager. The lpr program was created to use the network and will talk to remote printers on other Unix systems also using lpr.
To use the Desktop to print to remote printers you need to
follow the instructions in the other printer document: lptolpr
This text explains how to configure the use of lpr on an SGI.
The daemon /usr/etc/lpd, should already be running by default if the proper software has been installed. The software is installed from the eoe2.sw.bsdlpr subsystem on 3.3.1 or later versions of IRIX.
Remote printers (lpr):
acc_l1| LaserWriterII, Gilmer B002, ACC:\
:lp=:rm=jeeves.acc.virginia.edu:rp=acc_l1:\
:sd=/usr/spool/print/acc_l1:
cd /usr/spool mkdir print chown lp print chgrp lp print chmod 755 print
cd /usr/spool/print mkdirchown lp chgrp lp chmod 775
lpr -Pprinter-name filename
Local Printers (using lpr):
The SGI's can only communicate with local printers via lp/lpsched, the System V Unix commands, so you must first configure that software using the Printer Manager menu in the System Manager.
Connect the printer to either the parallel or serial port and configure with the Printer Manager. It's fairly self explanatory. Banner pages are usually turned on by default. To disable them, after adding the printer with the Printer Manager, go to /usr/spool/lp/interface and edit the file that has the printer's name. Change the line "BANNER=1" to "BANNER=0" if it exists.
#! /bin/sh lp -s -dprinter-name
chown lp filename chmod 755 filename
Modify the following lines:
:lp=/dev/null :of=/usr/spool/lp/etc/
acc_l1|lp| LaserWriterII, Gilmer B002, ACC:\
:lp=/dev/null:sb:sf:sh:\
:of=/usr/spool/lp/etc/acc_l1:\
:sd=/usr/spool/print/acc_l1:
cd /usr/spool
mkdir print
chown lp print
chgrp lp print
chmod 755 print
cd /usr/spool/print
mkdir name
chown lp name
chgrp lp name
chmod 775 name
Do all items mentioned above. If you want to use troff to format PostScript output, you may have to install Documenter's Workbench package.
Do all items mentioned above. If you want to connect a color printer directly to your SGI, and it is not listed in the directory /usr/spool/lp/model, you may have to install the Impressario package.