xpdf can not print via cups if started from firefox

Warren Block wblock at wonkity.com
Fri Mar 11 15:44:40 UTC 2011


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


More information about the freebsd-questions mailing list