Stacey Roberts on Wed, 13 Nov 2002 19:51:49 +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


Hello Michael,

apsfilter-help@apsfilter.org schrieb am 10.11.02 16:35:48:
> Hello,
>      I've installed apsfilter-7.2.3, and despite successfully printing
> the test page, I am unable to get anything to print either from an
> application (opera / AbiWord), nor command line.
>
> 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.

> 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.

Stacey

Michael
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com