From owner-freebsd-questions@FreeBSD.ORG Tue Mar 8 11:05:39 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6727D1065673 for ; Tue, 8 Mar 2011 11:05:38 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1E38FC1B for ; Tue, 8 Mar 2011 11:05:37 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1PwujQ-0005tA-RH>; Tue, 08 Mar 2011 12:05:36 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1PwujQ-0001o6-Op>; Tue, 08 Mar 2011 12:05:36 +0100 Message-ID: <4D760D81.6010705@zedat.fu-berlin.de> Date: Tue, 08 Mar 2011 12:05:37 +0100 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: Leslie Jensen , freebsd-questions@FreeBSD.ORG References: <4D75EB04.7090704@zedat.fu-berlin.de> <4D760860.4050303@eskk.nu> In-Reply-To: <4D760860.4050303@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: Re: xpdf can not print via cups if started from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 11:05:39 -0000 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.