Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Mar 2011 12:05:37 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Leslie Jensen <leslie@eskk.nu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: xpdf can not print via cups if started from firefox
Message-ID:  <4D760D81.6010705@zedat.fu-berlin.de>
In-Reply-To: <4D760860.4050303@eskk.nu>
References:  <4D75EB04.7090704@zedat.fu-berlin.de> <4D760860.4050303@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/08/11 11:43, Leslie Jensen wrote:
>
>
> On 2011-03-08 09:38, O. Hartmann wrote:
>> Hello.
>>
>> I've got a weird problem here. Very often I download scientific papers
>> as pdf from protals and they got opened via firefox3 with the configured
>> propper utility, in this case xpdf. In such a case, printing is
>> impossible. I hit the print button, a popup shows up with the configured
>> CUPS printing queue, but hitting OK doesn't have any effect. The funny
>> thing is: when opening the same PDF (it is stored in /tmp/) with xpdf by
>> starting xpdf from a terminal, printing on the same queue works well.
>> I realized that the change of this behaviour occured a long time ago
>> when the cups printing system got an update. I never figured out what's
>> the diffrence between starting xpdf via terminal and starting via
>> firefox. My first guess was that my local ~/.xpdfrc does have effect, as
>> the right configured CUPS printing queue showed up, but even the
>> firefox-started xpdf client shows the right printing queue, so this
>> implies that xpdf also reads my ~/.xpdfrc.
>> I'm not sure what's going wrong. I have no clue what kind of paper
>> information is passed to xpdf by being called via firefox. Any help
>> appreciated.
>>
>> Thanks,
>>
>> Oliver
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>
>
> Have you made the printer as system default in CUPS? Then you should be
> able to "print with command" lp from xpdf.
>
> /Leslie
>
>


Yes I have. But this doesn't work anyway. With a terminal started xpdf 
either each queue existent in CUPS works with an opened PDF, even the 
standard 'lp' queue. But the PDF never reaches the printer when started 
via firefox. When xpdf is started from inside firefox, the .xpdfrc seems 
to be read since changes to the default printer queue in .xpdfrc takes 
immediately effect, but hitting printing/OK never produces a result.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D760D81.6010705>