| Michael Loßin on Thu, 14 Nov 2002 09:18:12 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Printing to Win2K share printer with apsfilter via samba fails |
apsfilter-help@apsfilter.org schrieb am 13.11.02 20:08:35: > > Printer entry created by apsfilter setup in /etc/printcap: > > # APS1_BEGIN:printer1 > > # - don't delete start label for apsfilter printer1 > > # - no other printer defines between BEGIN and END LABEL > > hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\ > > :lp=/dev/null:\ > > /dev/null ?!? Are you sure this is supposed to be here? > The setup should have done this (or is it just for > testing purposes?). > > > :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ > > :sd=/var/spool/lpd/hp845c:\ > > :lf=/var/spool/lpd/hp845c/log:\ > > :af=/var/spool/lpd/hp845c/acct:\ > > :mx#0:\ > > :sh: > > # APS1_END - don't delete this > > What you've seen here (inclusinve of the ":lp=/dev/null:\" line) is > EXACTLY what I ended up with after configuring / installing apsfilter. > > What you've suggested as what the /etc/printcap entry that should have > been inserted by apsfilter is news to me. I've been posting that very > same /etc/printcap entry for over a week, and no-one's said anything > about it. In fact, Michael, every single respondent, said that its fine. Well, the lp=/dev/null was created only with some "help" by you, since the apsfilter setup can't know which device to talk to. So during the setup (in "interface setup") you must've entered "/dev/null" as the target device, but it should rather be "/dev/lp0" or something like that. > > Checking spool logs: > > # tail /var/spool/lpd/hp845c/log > > apsfilter: The configuration file > > /usr/local/etc/apsfilter/hp845c/apsfilterrc > > apsfilter: is missing. Please run SETUP. > > > But this file DOES exist: > > [it really does] > > It's probably a file permission problem. Please tell us > what the permissions of > "/usr/local/etc/apsfilter/hp845c/apsfilterrc" are. > > Its set to 600. This is not guaranteed to work -- it depends on the printer spooler. Please make it world readable (chmod 644 /usr/local/etc/apsfilter/hp845c/apsfilterrc) and try again. (Don't forget the lp=/dev/lp0 stuff, and restart the printer spooler daemon.) I don't know why this doesn't work for you. Did you use a distribution specific package or the original tarball from www.apsfilter.org? Michael ________________________________________________________________ Viren? Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den Virencheck für Dateianhänge! http://freemail.web.de/features/?mc=021159