From owner-freebsd-questions@freebsd.org Wed Dec 20 23:27:36 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 8458BE865E6 for ; Wed, 20 Dec 2017 23:27:36 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06E4F67B62 for ; Wed, 20 Dec 2017 23:27:35 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.19.61]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M5tU1-1fC3aj1aLx-00xtoZ; Thu, 21 Dec 2017 00:27:20 +0100 Date: Thu, 21 Dec 2017 00:26:46 +0100 From: "O. Hartmann" To: Gary Aitken Cc: "Hartmann, O." , freebsd-questions@freebsd.org Subject: Re: printing problems: CUPS, claws-mail, firefox and xpdf-4 Message-ID: <20171221002713.319a0237@thor.intern.walstatt.dynvpn.de> In-Reply-To: <7d2f0edf-a3f0-48e5-4d5b-29e6e8b581cd@dreamchaser.org> References: <20171220162908.445ef8c6@hermann> <7d2f0edf-a3f0-48e5-4d5b-29e6e8b581cd@dreamchaser.org> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/6RKs_wOzQgHhIR+cVbtJjtd"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:PJwb17ResHlzQ/sJQguLsDonOI8GQqlar2l1X1UoQKrxf6ML462 Lh2eCWTMetIY0vqBk2HgqFR8p+8WO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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 23:27:36 -0000 --Sig_/6RKs_wOzQgHhIR+cVbtJjtd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Wed, 20 Dec 2017 10:22:03 -0700 Gary Aitken schrieb: > On 12/20/17 08:29, Hartmann, O. wrote: > > At first, please CC me in your response, I'm not subscribing to the > > list. > >=20 > > I have problems printing on FreeBSD CURRENT (12.0-CURRENT #37 r327022: > > Wed Dec 20 15:07:55 CET 2017 amd64). > >=20 > > print/cups, graphics/xpdf, mail/claws-mail and www/firefox are of most > > recent version as of usr/ports revvision r456793. > >=20 > > 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. > >=20 > > CUPS is up and running ans sockstat indicates, that cupsd is listening > >=20 > > 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 > >=20 > > Connecting via firefox and https://localhost:631 works, also printing a > > testpage to any printer configured. > >=20 > > 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. > > =20 > >>From the console, lpstat -a shows every configured printer and printing= =20 > > PS or PDF to a queue from a xterm or console works as expected. > > =20 > >>From a Linux forum I gathered some pieces of information regarding the = =20 > > 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. > >=20 > > I'm out of ideas. Maybe somebody faces the same problem and has some > > hints - I'd appreciate any tip. =20 >=20 > ideas, although I'm currently fighting another issue: >=20 > 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. >=20 > Gary I have already checked this (obvious) path problem, but it doesn't trigger = the problem. Even if I rename the base system's lpr command or prevent the LPR subsystem via /etc/src.conf to be installed, the problem persists. Prior to the update of Firefox to their "Quantum" version, R 57, I faced a = similar problem on on of our workstations: the printer window in Firefox came up qu= ickly, but presented only printing to a file - after a while, say 2 or 3 minutes, the = CUPS served printers (even those locally) came up. The problem magically vanished into = thin air after a update to Firefox 57.0. The fact that on the system in question the problems appear in X11, but man= ually printing via /usr/local/bin/lpr -P printer-name file.pdf/file.ps does work as expect= ed, makes me believe that something is out-of-synchronisation. The question is: what and= how to find it or better, how to resolve it. The fact, that claws-mail, xpdf-4 and firefox are affected (I didn't test o= ther software like GIMP, Inkscape or Scribus, I'll do this later when back in the office)= let me believe it must have to do something with a commonly used subsystem ... --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/6RKs_wOzQgHhIR+cVbtJjtd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWjrx0QAKCRDS528fyFhY lIS8Af42DaGuyW1h/pCGhKXw4le6LKeucQxqjoRt/UBmOvf43rqeub3o00ahMWYU V0TUOTBZ9+lq9I1wsRRzdN2PoxjdAf9D9AkGHJp/hyto8ZJ+pJwWLpL+XixSx3HA 8Vl/HBPQ92w4U3TFilLUzdbc6l/mGpcNz0sI6daYgDgamnOzjQA1 =UUK0 -----END PGP SIGNATURE----- --Sig_/6RKs_wOzQgHhIR+cVbtJjtd--