Penn State mark   AIS Header AIS Home Page link ITS Home Page link
in:
AIS Home > Printing From Admin Sys > Tips on Config IpDaemon

Tips on Congfiguring IpDaemon



From the lpDaemon README file:

lpDaemon is a utility that implements the Berkeley Line Printer Protocols on the Macintosh. It normally spools postscript files sent from a unix host and sends them to a LaserWriter on the Mac network. It may be used to print any files to an AppleTalk printer or a Serial printer.

You can configure your lpDaemon print server through the lpd.config file. This file contains mostly comments and can essentially be pared down to the following flags:

DEBUG #toggles Debug mode
NOACTION #turns off printing, though files are still spooled
NOMAIL #turns off mail if BSD sendmail is not supported.
(Should be uncommented for AIS printing)
NOACNT #turns off lpDaemon's attempts to keep track of number of pages sent (printer must be postscript)
LASERWRITER <name> #if the default selected printer is different than LaserWriter
CTLFIL cfA #set the print control file prefix
ADMIN <foo@psu.edu> #defines account to be mailed if NOMAIL is not commented out
PRINTER <name1> PAP|Serial <name2> [baud stop parity bits] [POSTSCRIPT]
#defines each printer
HOST <foobar.psu.edu> #hosts that may print to the daemon

The above list is simply a brief synopsis of the variables. More detailed information can be found in the lpDaemon lpd.config file.

We have made a working lpd.config file from a machine within AIS available to use as a template for setting up your print server at PSU. Unless you plan to print from other systems as well as AIS, you will probably only need to alter the PRINTER and HOST lines.

Notes:

  • Remember to include oas.psu.edu and oas2.psu.edu in the Hosts list or your print server will not be able to accept the job that is sent.

  • lpDaemon looks in the LaserWriter driver file for the PAP (Printer Access Protocol) resources as well as the selected printer. We have encountered problems with lpDaemon recognizing the printer driver if it is called something besides "LaserWriter". If you find this is the case and you are using LaserWriter 8, move the original LaserWriter file to something like LaserWriter.sav and rename the LaserWriter 8 file to "LaserWriter".




Questions: AIS Support


Printer friendly view



The Pennsylvania State University © 2008 | Copyright | Privacy and Legal Statements | Alternative Media - Nondiscrimination Statement
This site is maintained by Administrative Information Services, a unit of Information Technology Services.
Provide site feedback to AIS-webmaster@psu.edu. Can't find it? Ask AIS
Last revised: Wednesday, July 14, 2004 13:21