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.
No, actually, hpijs has been obsoleted by hplip. hpijs no longer exists AFAIK.
It still exists. It is now incorporated as part of the HPLIPS package.
I too had problems configuring my old HP Laserjet 5L printer when I upgraded to Slackware 12.1. I overcame the problem by just configuring the HPIJS part of HPLIPS. The only extra thing I needed to do was add my 'user' to the 'lp' Group.
When would I want to use HPIJS instead of HPLIP?
Answer:
There are several possible reasons:
1. On a server where no GUI is present and only shared printing is desired.
2. When printing to a SAMBA shared printer (using the CUPS smb: backend, for example).
3. There is a desire to have the smallest printing system possible.
Most people do NOT need to do this.
And:
Quote:
How are HPLIP and HPIJS related?
Answer:
HPIJS is a subcomponent of HPLIP. HPIJS provides basic printing support for non-postscript printers. HPIJS can operate in any spooler environment (including no spooler). HPIJS provides no I/O. HPLIP provides I/O for bi-directional communication, scanning, photo card access, and toolbox functionality. HPLIP requires the CUPS spooler.
Slack dose support scanners.
Slack has a HP Tool box that works with every all-in-one I've tried it on.
Is your user in the "lp" and "scanner' group?
you may have to add:
LC_ALL=$LANG.UTF8 hp-toolbox
or
LC_ALL=$LANG.UTF8 /usr/bin/hp-toolbox
To the "command" section of the "HP Tool-box" KDE menu.
This is what always works for me on 12.1 and 12.2 but there may be a better way.
-Current now works with just a click on the tool-box from the menu.
Adding the second one to the command section of the toolbox did not work for me. However, I fired up the KDE Menu Editor, and added the second one to the front of the hp-toolbox command. Works just fine now.
The problem is with Slackware and UTF8. I have no idea why, but I know this solution works to allow hp-setup to install AIO printers. If its just a simple printer, cups will do the job nicely.
Oddly enough, I did do a full install and hplip is not installed, nor is there a /etc/init.d/hplip to link to in order to follow H_TeXMeX_H's instructions. I did download the latest tar ball and compiled it, but of course, I can't install it properly until I figure out the rc.hplip thing.
BTW sane-find-scanner returns
Quote:
found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at libusb:005:002
but only as root. I am a member of lp and scanner.
Actually, in newer versions of HPLIP there is no 'rc.hplip', it's not there and not needed, forgot to mention that.
Also, how did you install slackware ? Did you upgrade ? It sometimes messes up if you upgrade and forget to remove the old udev rules ... and other config files.
Last edited by H_TeXMeX_H; 04-16-2009 at 10:38 AM.
Oddly enough, I did do a full install and hplip is not installed, nor is there a /etc/init.d/hplip to link to in order to follow H_TeXMeX_H's instructions. I did download the latest tar ball and compiled it, but of course, I can't install it properly until I figure out the rc.hplip thing.
BTW sane-find-scanner returns
but only as root. I am a member of lp and scanner.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089
Rep:
Quote:
Originally Posted by slackass
Slack dose support scanners.
Slack has a HP Tool box that works with every all-in-one I've tried it on.
Is your user in the "lp" and "scanner' group?
you may have to add:
LC_ALL=$LANG.UTF8 hp-toolbox
or
LC_ALL=$LANG.UTF8 /usr/bin/hp-toolbox
To the "command" section of the "HP Tool-box" KDE menu.
This is what always works for me on 12.1 and 12.2 but there may be a better way.
-Current now works with just a click on the tool-box from the menu.
Many Thanks! Using your first example hplip finally came to life!!!
Thanks, again!
Last edited by cwizardone; 04-16-2009 at 01:05 PM.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089
Rep:
Quote:
Originally Posted by mlangdn
Adding the second one to the command section of the toolbox did not work for me. However, I fired up the KDE Menu Editor, and added the second one to the front of the hp-toolbox command. Works just fine now.
The problem is with Slackware and UTF8. I have no idea why, but I know this solution works to allow hp-setup to install AIO printers. If its just a simple printer, cups will do the job nicely.
Many Thanks!
After reading of your success I went back and read Slackass' original message and tried his suggestion.
Sounds like the problem with UTF8 would qualify as a "bug report"?
There is a minor problem with the HPLIP and CUPS versions in Slackware 12.1;
hp-toolbox will not work unless LC_ALL is set to a UTF8 locale.
An easy workaround is to start it with "LC_ALL=$LANG.UTF8 hp-toolbox" if
you're not using a UTF8 locale. Also, your user account must be a member
of the "lp" group for hp-toolbox to work properly, and to use the scanner
portion of some (all?) HP print/scan/copy units, you'll need to be a member
of the "lp" group. This is due to the fact that hplip's udev rules set
the device with group "lp" ownership.
With all due respect, you are quoting an old file for the move from 12 to 12.1.
The "CHANGES_AND_HINTS.TXT" file for upgrading to 12.2 only says this about HP printer/scanners:
"HP multifunction printer/scanners require that your user account be a member of the "lp" group for hp-toolbox to work properly, and to use the scanner portion of some (all?) units, you'll need to be a member of the "lp" group. This is because hplip's udev rules set the device with group "lp" ownership."
LC_ALL=$LANG.UTF8 hp-toolbox
or
LC_ALL=$LANG.UTF8 /usr/bin/hp-toolbox
To the "command" section of the "HP Tool-box" KDE menu.
slackass (or anyone else): Haven't done this yet. Umm, how do I do that exactly? Where's the file to edit?
H_TexMex_H: I did a normal install from the downloaded DVD iso. No upgrade. No sign of the hplip package in the installed packages either. So.. if there's no rc.hplip that's fine but apparently I still have no hplip working. The tarball installer doesn't "do" slackware, just Mepis, Ubuntu, Suse and friends...
adriv: Thanks, I guess I'll go to the site and download the 12.1 version of the package and install it.
Last edited by mostlyharmless; 04-17-2009 at 02:25 PM.
Reason: clarification
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.