xpdf can not print via cups if started from firefox

O. Hartmann ohartman at zedat.fu-berlin.de
Fri Mar 11 16:29:19 UTC 2011


On 03/11/11 16:44, Warren Block wrote:
> On Fri, 11 Mar 2011, O. Hartmann wrote:
>
>> On 03/11/11 01:13, Polytropon wrote:
>>>
>>> Maybe you're experiencing a caching problem? I would guess
>>> that as you stated there is a temporary file, this should
>>> not happen (in relation to Firefox) there should at least
>>> be an error message.
>>>
>>> Did you try to enter the full command into xpdf's printing
>>> dialog, e. g. "/usr/local/bin/lpr -P<printer>", just in case
>>> the .xpdfrc setting hasn't been read upon program start?
>>>
>> Yes, I did, still the same problem. I have the strange feeling that a
>> firefox-started xpdf doesn't know anything about CUPS and its printing
>> queues. I try to figure out how to log this ...
>
> With a stock lpr/lpd, Firefox and xpdf work as expected. My .xpdfrc is:
> psFile "| lpr -Plaser"
>
> "laser" is the queue for my laser printer, defined in /etc/printcap.
>
> If the real BSD lpr is being called, you should see errors in
> /var/log/lpd-errs.
>
> There's a CUPS on FreeBSD article:
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cups/index.html

Using xpdf or any other printing client works well with my setup, even 
xpdf called from a terminal prints correctly, reports pages, access etc. 
in /var/log/cups/access_log|pages_log as expected.


More information about the freebsd-questions mailing list