Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!uunet!in1.uu.net!boulder!emu.fsl.noaa.gov!kelly From: kelly@emu.fsl.noaa.gov (Sean Kelly) Newsgroups: comp.unix.bsd.misc Subject: Re: printer-logfile Date: 7 Mar 1996 17:27:27 GMT Organization: Forecast Systems Laboratory Lines: 31 Message-ID: <4hn69v$ssa@peabody.colorado.edu> References: <313ECB57.6F5E@mpia-hd.mpg.de> NNTP-Posting-Host: emu.fsl.noaa.gov NNTP-Posting-User: kelly In article <313ECB57.6F5E@mpia-hd.mpg.de>, Ulrich Hiller <hiller@mpia-hd.mpg.de> wrote: >is it possible to let all printer-jobs be listed in a logfile? >The system is sunos4.1.3. You bet. That's what the `af' entry is for in /etc/printcap. Basically, there are two steps. First, insert the `af' entry and set it to the location of the log file. eeep|lp|Apple LaserWriter II:\ :af=/var/account/apple-acct:\ ... Then, the system will start each filter with /var/account/apple-acct as the last argument. So, modify each filter to append information about each job to that file. For more information, see http://www.freebsd.org/handbook/printing.html Don't let ``freebsd'' in that URL fool you---the spooler on SunOS 4.1.3 and FreeBSD is the same BSD spooler, so the most of the information should be appropriate. -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/