From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 16:29:19 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 D775A106566B for ; Fri, 11 Mar 2011 16:29:19 +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 8F9F08FC16 for ; Fri, 11 Mar 2011 16:29:19 +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 <1Py5DJ-0004vo-M0>; Fri, 11 Mar 2011 17:29:18 +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 <1Py5DJ-0002NQ-Jj>; Fri, 11 Mar 2011 17:29:17 +0100 Message-ID: <4D7A4DDF.8090509@zedat.fu-berlin.de> Date: Fri, 11 Mar 2011 17:29:19 +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: Warren Block References: <4D75EB04.7090704@zedat.fu-berlin.de> <4D78AA1B.3000000@zedat.fu-berlin.de> <20110311011336.51d0ce9a.freebsd@edvax.de> <4D79C405.6030201@mail.zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Polytropon , freebsd-questions@freebsd.org 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: Fri, 11 Mar 2011 16:29:19 -0000 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", 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.