| Andreas Klemm on Thu, 17 Jan 2002 20:10:11 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: 4.4R: if: doesn't get started when getting remote print job |
On Thu, Jan 17, 2002 at 02:43:27PM +0100, Christian Ullrich wrote: > * Michael Loßin wrote on Thursday, 2002-01-17: > > > On 16-Jan-02 Christian Ullrich wrote: > > > * Christian Ullrich wrote on Wednesday, 2002-01-16: > > > > > [...] > > > 6. I added the above line "filter_stderr_to_status_file" to > > > /etc/lpd.conf. > > > This file had not existed before. I restarted lpd. > > > > Argh... By mentioning "/etc/lpd.conf" I meant "whatever the > > correct config file for LPRng is"... I just hope it *really* > > is /etc/lpd.conf (you should at least see /etc/lpd.conf.sample > > if the path is correct). > > I haven't got any file called lpd.conf or lpd.conf.sample. But > I removed LPRng yesterday on request by Garance Drosihn. If you look at the pkg-plist file of the LPRng file, you'll see, that there are 2 config files. And after installation you'll notice these files: -rw-r--r-- 1 root wheel 17939 17 Jan 19:48 /usr/local/etc/lpd.conf -rw-r--r-- 1 root wheel 17939 17 Jan 19:48 /usr/local/etc/lpd.conf.sample -rw-r--r-- 1 root wheel 11364 17 Jan 19:48 /usr/local/etc/lpd.perms -rw-r--r-- 1 root wheel 11364 17 Jan 19:48 /usr/local/etc/lpd.perms.sample And if you are unsure what paths have been compiled in use strings /usr/local/sbin/lp* | grep /etc =/etc/printcap =/usr/local/etc/lpd.perms =/usr/local/etc/lpd.keytab:/etc/lpd.keytab =/usr/local/etc/lpd.conf /etc/services file for a missing 'printer 515/tcp' entry /etc/services file for a missing 'printer 515/tcp' entry =/etc/printcap =/usr/local/etc/lpd.perms =/usr/local/etc/lpd.keytab:/etc/lpd.keytab =/usr/local/etc/lpd.conf Well, so FreeBSDs does the right thing a) use /etc/printcap for backward compatibility for all other tools that need to look into printcap ... b) look for config files in /usr/local/etc, since /usr/local/... is the place for 3rd party applications. Cheers Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html