From owner-freebsd-questions@freebsd.org Wed Dec 20 17:22:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01A18E976B7 for ; Wed, 20 Dec 2017 17:22:45 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF6DC785E1 for ; Wed, 20 Dec 2017 17:22:43 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id vBKHMZPZ011198; Wed, 20 Dec 2017 10:22:36 -0700 (MST) (envelope-from ah@dreamchaser.org) Subject: Re: printing problems: CUPS, claws-mail, firefox and xpdf-4 To: "Hartmann, O." , freebsd-questions@freebsd.org References: <20171220162908.445ef8c6@hermann> From: Gary Aitken Message-ID: <7d2f0edf-a3f0-48e5-4d5b-29e6e8b581cd@dreamchaser.org> Date: Wed, 20 Dec 2017 10:22:03 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171220162908.445ef8c6@hermann> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Wed, 20 Dec 2017 10:22:36 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 17:22:45 -0000 On 12/20/17 08:29, Hartmann, O. wrote: > At first, please CC me in your response, I'm not subscribing to the > list. > > I have problems printing on FreeBSD CURRENT (12.0-CURRENT #37 r327022: > Wed Dec 20 15:07:55 CET 2017 amd64). > > print/cups, graphics/xpdf, mail/claws-mail and www/firefox are of most > recent version as of usr/ports revvision r456793. > > The phenomenon is that I can not print via firefox' printing facility > (printer symbol which should open a requester showing all the available > printers), neither via xpdf or claws-mail. > > CUPS is up and running ans sockstat indicates, that cupsd is listening > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS > root cupsd 28838 5 tcp4 127.0.0.1:631 *:* > root cupsd 28838 7 stream /var/run/cups.sock > > Connecting via firefox and https://localhost:631 works, also printing a > testpage to any printer configured. > > The not-so-funny part is that either claws-mail, xpdf or firefox' > printing facility seem to take a long time when selected from menu, > showing then nothing but printing to file. In firefox, it takes ages to > come up with this residual set of printing options, xpdf and claws-mail > are a bit faster. > >>From the console, lpstat -a shows every configured printer and printing > PS or PDF to a queue from a xterm or console works as expected. > >>From a Linux forum I gathered some pieces of information regarding the > fact that possibly gtk3 problems may the reason but recompiling the > usual suspicious ports didn't help, even recompiling firefox, xpdf or > claws-mail or poppler/podofo didn't change the situation. > > I'm out of ideas. Maybe somebody faces the same problem and has some > hints - I'd appreciate any tip. ideas, although I'm currently fighting another issue: Have a look at /var/log/cups and check error_log and access_log. Also try using complete path to commands, as the cups commands have the same name as non-cups ones, e.g. /usr/local/bin/lpr not lpr which goes to /usr/bin/lpr, the non-cups cmd. Gary