SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK, assuming I'm testing it right, Pat's patch works here, too.
I commented out LC_ALL=C in /etc/profile/lang.sh to set the sorting rules back to en_US like they're supposed to be, applied Pat's patch (That's the first patch I've ever applied, ever, so thanks for making me learn how to do that, btw) and hp-setup -i 192.168.1.65 found the ppd and offered to set up the new printer cue.
so for the problems that I and others have had, it looks like we got 3 solutions to fix them:
1. export LANG=en before running hp-setup -i
2. export LC_ALL=C before running hp-setup -i
3. use Pat's patch on /usr/share/hplip/setup.py
Kudos and thanks to kjhambrick and Pat for taking the time to look at the problem and finding the answer.
Clean install of latest current, didn't touch any LANG or LC settings. I had backed up the patched setup.py, so all I did was copy that over to /usr/share/hplip and run hp-setup -i 192.168.1.65 and ...
it worked exactly the same way that I've come to expect from other distros. Found the printer, downloaded the ppd, setup the print cue and printed the test page. I finished it off with a lpoptions -d [printer] and Bob was my uncle. (A generic Bob, not THE Bob.)
So now this thread is finally, super-duper really solved, hopefully for the rest of forever.
Loooks like there were a couple of updates. I'll be doing a fresh -current install on a laptop and will see if that fixes this issue here.
Quote:
Thu Jun 2 19:08:13 UTC 2016
...
ap/hplip-3.16.5-x86_64-3.txz: Rebuilt.
Patched setup.py to set LC_ALL=C, which should fix parsing CUPS output.
...
+--------------------------+
Tue May 31 20:05:12 UTC 2016
...
ap/hplip-3.16.5-x86_64-2.txz: Rebuilt.
Recompiled with these changed paths:
--with-hpppddir=/usr/share/ppd/HP
--with-drvdir=/usr/share/cups/drv/HP
This matches what is expected for Slackware in the distros.dat file and is
hardcoded in core_install.py. Thanks to kjhambrick.
EDIT: I really need to refresh my browser pages more often....
Last edited by kingbeowulf; 06-10-2016 at 06:31 PM.
Reason: slow neural activity
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.