| Jon Hargreaves on Fri, 15 Feb 2002 12:56:41 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: apsfilter bug: Fault logged when printing usning samba and l |
Thanks. I have now put acroread in the path but seem to have a new problem. I am getting the following message in file errsGj7XhK: apsfilter warning: unknown option 'dbserver.pfsuk.co.uk' /usr/local/Acrobat4/bin/acroread: cd: /root: Permission denied gawk: cmd. line:1: (FILENAME=- FNR=358) fatal: print to "standard output" failed (Broken pipe) Should I be changing permissions here somewhere, or should acroread be changing to a different directory. My guess, I suppose, is that it's being run as root whereas it should be run as daemon or lp. Is this correct, or do I need to tweak something elsewhere? Thanks for responding Jon Hargreaves ----- Original Message ----- From: "Michael Loßin" <phallobst@web.de> To: <apsfilter-help@apsfilter.org> Sent: Thursday, February 14, 2002 1:03 PM Subject: Re: apsfilter bug: Fault logged when printing usning samba and l > On 13-Feb-02 Jon Hargreaves wrote: > > I am having a few problems when attempting to print using samba and the lpd > > daemon and would appreciate some help! > > > >>Error type: usage > > > >>How to repeat: By printing a pdf document using lpr > >>Error log: > [... no apparent errors ...] > > > >>apsfilterrc changes: > > Did not change any. The following are the settings written automatically to > > the /usr/local/etc/apsfilter/apsfilterrc program after running setup > > > > PRINTER='PS' > > PAPERSIZE='a4' > > METHOD='auto' > > QUALITY='medium' > > COLOR='full' > > RESOLUTION='300x300' > > > >>Comment: > > > > I am having problems printing via Samba using lpr to a HP4050PS Postscript > > printer. > > I have followed all instructions, run the setup script and have printed a > > test page > > satisfactorily. Whenever I print using the lpr command, however, I get a > > log file containing the > > following message (under var/spool/lpd/lp): > > > > apsfilter warning: unknown option 'dbserver.pfsuk.co.uk' > > This is a warning that results in silly options from the lpd > daemon... you can safely ignore it. > > > gawk: cmd. line:1: (FILENAME=- FNR=138) fatal: print to "standard output" > > failed (Broken pipe) > > A "broken pipe" results in one program producing data with no > other that consumes it (here: gawk -> pdf2ps). > > > Unexpected interpreter error -16. > > Error object: > > This error is emitted by ghostscript. Although you don't directly > call ghostscript, the "pdf2ps" script is a wrapper for gs. > Error code -16 means "stack overflow" (btw, I wonder which error > can possibly be *expected*, but anyway...). > > The source file might have some syntax error or a *very* big object > embedded into it. > > > I have installed the acrobat reader, acroread, under > > /usr/local/Acrobat4/bin, the default. > > Here we are... That path is not visible to apsfilter (for > security reasons), so you might want to add a useable PATH > setting in /usr/local/etc/apsfilter/apsfilterrc or create > a symlink to acroread in e.g. /usr/local/bin. > > > HTH > Michael >