Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Trying to set up HP printer with foo2zjs
Date: Fri, 24 Oct 2014 19:51:22
Message-Id: 20141024195111.GA3154@kern.lan
In Reply to: [gentoo-user] Re: Trying to set up HP printer with foo2zjs by James
1 On Sat, Oct 18, 2014 at 03:12:06PM +0000, James wrote:
3 Sorry, reply took a while. Got lots of different stuff going on right now.
5 > > > cups + hplip is pretty robust.
6 >
7 > > Mostly because I want a minimal system. I have cups already which KDE can
8 > > use, I don’t need (or want) another tool that does the same job and that
9 > > has a lot of GUI stuff that my printer doesn’t support anyway (scanners >
10 > and such).
11 > […]
12 > So you have compiled these before, with a minimum of flags activated?
14 I had been using it for years on my machines that use the printer. I can’t
15 remember ever having looked at its use flags, though.
17 > The know the number of flags, the smaller the binaries..... (as you know).
18 >
19 > > Furthermore, it installs a tool which I don’t need and pollutes my tray
20 > > and which has no off-switch. Tries to deactivate it in the past had not
21 > > succeeded (as I said, non-technical reasons).
22 >
23 > Ah, kde frustration? Been there, left that constant_change environment.
24 > Personally, I would not use kde as part of my printing solution.
26 Because you don’t use KDE (which is in no way meant as a negative). While I
27 find the possibility to print from anywhere including the commandline neat
28 (I was a Windows-only noob until my early 20s), I never actually needed it.
30 > Cups + > hplip work fine without kde involvement.
32 But as a KDE user, this time I *want* to use KDE, because I get a consistent
33 print interface in all applications (oh well, 95 % of my printouts are PDFs
34 from Okular).
35 Of course I can still use KDE’s solution even with hplip installed. But
36 there is still the hp tool in the tray for the exact same thing, wasting
37 space.
38 My mind just works in strange ways and is simply bothered by that fact.
39 Plus, I dislike vendor-specific software on principle. :o)
41 > > Also, with every update it wants to download the proprietary plugin anew
42 > > (which I had trouble with in the past b/c I did offline updates) or else
43 > > no printo worko.
44 >
45 > OK, so mask the offending codes?
47 I don’t quite follow. The printer needs a binary firmware uploaded each time
48 it is connected to the computer. This comes as a binary “plugin” which is
49 downloaded by hp-setup. And for some reason this plugin file is only
50 compatible with a single hplip version, hence the new download after each
51 update.
52 The plugin file is actually a shellscript that has a tarball embedded in
53 base64. This tar contains the actual install files and a python2 script
54 which does not advertise its version in the shebang. I just tested it on my
55 old netbook which already had hplip isntalled. If I have python 3 active,
56 all I get at some point is "Plugin install failed" during printer setup. So
57 I switch to python2, rinse and repeat and then the installation works.
59 Incidentally when installing hplip, the ebuild does lots of "Fixing shebang"
60 on a lot of python files (I had to reinstall b/c a useflag was missing).
62 > Did you have a ppd file setup via cups? (/etc/cups/ppd) YOu mave have a copy
63 > of the old ppd config file in the cups/ppd dir?
65 Right now I have a single PPD in that location which originated from
66 foo2zjs. Obviously it comes from setting up the printer in cpus, b/c it is
67 named after the printer’s cups name.
69 > What is your computer-printer interface? (usb/eth/par/ser/rf)?
71 USB. -- Made in mid-2002, the printer itself has a parallel port, but came
72 with (and only with) a USB converter cable so it actually hooks up to the
73 computer over USB.
75 > Do have sys-apps/hwids installed?
77 Yep.
79 > On a side note, you may want to try lxqt-0.8.0 in a few weeks, when it
80 > is released.....
82 I had a look at it a few months ago but found it yet unusable due to missing
83 functionality (e.g. couldn’t find where to set number of virtual desktops).
84 --
85 Gruß | Greetings | Qapla’
86 Please do not share anything from, with or about me with any Facebook service.
88 “Your code is shit.. your argument is shit.” – Linus Torvalds, linux.kernel


File name MIME type
signature.asc application/pgp-signature