From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 00E811388B6 for ; Fri, 24 Oct 2014 19:51:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12BC9E0872; Fri, 24 Oct 2014 19:51:16 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1AFAE079E for ; Fri, 24 Oct 2014 19:51:14 +0000 (UTC) Received: from gmx.de ([141.24.13.188]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MSq5p-1XaMNQ05Hp-00Rnrh for ; Fri, 24 Oct 2014 21:51:13 +0200 Date: Fri, 24 Oct 2014 21:51:11 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Trying to set up HP printer with foo2zjs Message-ID: <20141024195111.GA3154@kern.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20141017235056.GA4104@kern.lan> <20141018120228.GC4104@kern.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt 1.5.22 (2013-10-16, Gentoo 1.5.22-r3) X-Provags-ID: V03:K0:9VLOTeOUtduDP3A6VzRKCIu6F8CCz8M4S1CD12KiA+V2m0hjlNW 9blOv4Cjquv0LYtjVOEob/P/WXl46tVWlirMawciiG6lWljbbcdYnDtA+MyqYtXl7fKD5bF 2bLopqG/riXXRkbQVOgnSTf+UbkRtP5kmAxcAxE8Nqh/jbuRVtco8sj5KJf5nwUhb3p6ukq 9a1HBOMQWCLmIXxwWzY0A== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 27a72ef5-d7f0-4b94-970d-4763834c2827 X-Archives-Hash: 573c075cd49771e86460837eded15bab --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 18, 2014 at 03:12:06PM +0000, James wrote: Sorry, reply took a while. Got lots of different stuff going on right now. > > > cups + hplip is pretty robust. > > > Mostly because I want a minimal system. I have cups already which KDE c= an > > use, I don=E2=80=99t need (or want) another tool that does the same job= and that > > has a lot of GUI stuff that my printer doesn=E2=80=99t support anyway (= scanners > > and such). > [=E2=80=A6] > So you have compiled these before, with a minimum of flags activated? I had been using it for years on my machines that use the printer. I can=E2= =80=99t remember ever having looked at its use flags, though. > The know the number of flags, the smaller the binaries..... (as you know). > > > Furthermore, it installs a tool which I don=E2=80=99t need and pollutes= my tray > > and which has no off-switch. Tries to deactivate it in the past had not > > succeeded (as I said, non-technical reasons). > > Ah, kde frustration? Been there, left that constant_change environment. > Personally, I would not use kde as part of my printing solution. Because you don=E2=80=99t use KDE (which is in no way meant as a negative).= While I find the possibility to print from anywhere including the commandline neat (I was a Windows-only noob until my early 20s), I never actually needed it. > Cups + > hplip work fine without kde involvement. But as a KDE user, this time I *want* to use KDE, because I get a consistent print interface in all applications (oh well, 95 % of my printouts are PDFs =66rom Okular). Of course I can still use KDE=E2=80=99s solution even with hplip installed.= But there is still the hp tool in the tray for the exact same thing, wasting space. My mind just works in strange ways and is simply bothered by that fact. Plus, I dislike vendor-specific software on principle. :o) > > Also, with every update it wants to download the proprietary plugin anew > > (which I had trouble with in the past b/c I did offline updates) or else > > no printo worko. > > OK, so mask the offending codes? I don=E2=80=99t quite follow. The printer needs a binary firmware uploaded = each time it is connected to the computer. This comes as a binary =E2=80=9Cplugin=E2= =80=9D which is downloaded by hp-setup. And for some reason this plugin file is only compatible with a single hplip version, hence the new download after each update. The plugin file is actually a shellscript that has a tarball embedded in base64. This tar contains the actual install files and a python2 script which does not advertise its version in the shebang. I just tested it on my old netbook which already had hplip isntalled. If I have python 3 active, all I get at some point is "Plugin install failed" during printer setup. So I switch to python2, rinse and repeat and then the installation works. Incidentally when installing hplip, the ebuild does lots of "Fixing shebang" on a lot of python files (I had to reinstall b/c a useflag was missing). > Did you have a ppd file setup via cups? (/etc/cups/ppd) YOu mave have a c= opy > of the old ppd config file in the cups/ppd dir? Right now I have a single PPD in that location which originated from foo2zjs. Obviously it comes from setting up the printer in cpus, b/c it is named after the printer=E2=80=99s cups name. > What is your computer-printer interface? (usb/eth/par/ser/rf)? USB. -- Made in mid-2002, the printer itself has a parallel port, but came with (and only with) a USB converter cable so it actually hooks up to the computer over USB. > Do have sys-apps/hwids installed? Yep. > On a side note, you may want to try lxqt-0.8.0 in a few weeks, when it > is released..... I had a look at it a few months ago but found it yet unusable due to missing functionality (e.g. couldn=E2=80=99t find where to set number of virtual de= sktops). --=20 Gru=C3=9F | Greetings | Qapla=E2=80=99 Please do not share anything from, with or about me with any Facebook servi= ce. =E2=80=9CYour code is shit.. your argument is shit.=E2=80=9D =E2=80=93 Linu= s Torvalds, linux.kernel --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUSq2vAAoJEIsxvrVA1DDKET8QAMZJe0xjSlmORDFIaZj8w9uy ntbvbUQfKoa8+e/Sw/I4bKzUIAmDUlO+Ryhuxwb+F+k7jI66rEZrsnCZtqHfCmZL PvuqmRv7QExQ29s0wHDiW10u1ZAw8dzuEpw6XyLuhVp32MTzqXSI4EuHZINX1TaY UnWTTs9QsUd1f4ilWWwqF2cCoW1SR95KnuIZBpxUEWDt+eXbFiOB5CNd0SLFFtpU aifaf4hTFkepl9MC9jafIw6BGXP+ZhsNHBIws15sYJeCwWBdWp+yx9ENff8K+koT m3d2QB9fKFjALreVFf3T6KJkBckbJFYr9ev9b+XlukEQzanbn/u5nbP6MrKIuBUg 7LATQF++lKM6EdmRSgQhbuMS3wV+2Ik5QwiR3qm4ywbxzQ99AuQv1JG2dV5Rtw4a NTya5m4S9X+lqqLGzBDOYd+AuIoPbZ8ZWA2VO0hhrFbh0BM+/kVV91y5GG483NZ1 w45nsJCVA+q5XmB4feJ7uESkSFG0etsWrBgPEC8DB6hV75GL08MwM4U0PV7l5E8L J/7hzE8Z3n/ThT07IWG8aaftuLg8o9ePmrLdduyNQT/xbQI5S6CluVKrB6KOXtbh GpwCSQ2wVW2Led+JjM39VORZFCy8sEuKmEOvR9ritC+xbs0IHNy1VmIueCzY7ggq 1kjjZY97VUEKuqOysPph =6AfM -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--