LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.x HPLIP support (https://www.linuxquestions.org/questions/slackware-14/slackware-12-x-hplip-support-718829/)

H_TeXMeX_H 04-16-2009 03:52 AM

No, actually, hpijs has been obsoleted by hplip. hpijs no longer exists AFAIK.

Toods 04-16-2009 04:25 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3510729)
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.

Bill.

adriv 04-16-2009 04:26 AM

From the HP knowledge base:
Quote:

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.
So, HPIJS *is* a part of HPLIP, IMHO.

Toods 04-16-2009 04:44 AM

Quote:

Originally Posted by adriv (Post 3510758)
So, HPIJS *is* a part of HPLIP, IMHO.

Yes, just look at the list of files in HLIPS. Several contain the letters 'hpijs'.

Bill.

mlangdn 04-16-2009 06:50 AM

Quote:

Originally Posted by slackass (Post 3507601)
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.

mostlyharmless 04-16-2009 09:30 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
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.

xsane doesn't find a scanner, nor does kooka

H_TeXMeX_H 04-16-2009 10:34 AM

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.

adriv 04-16-2009 10:58 AM

Quote:

Originally Posted by mostlyharmless (Post 3511030)
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.

xsane doesn't find a scanner, nor does kooka

Why don't you use the original Slackware package:
http://riksun.riken.go.jp/pub/pub/Li....10-i486-1.tgz ?

BTW, here's another thread that may be of help to you:
http://www.linuxquestions.org/questi...-hplip-692125/

cwizardone 04-16-2009 12:56 PM

Quote:

Originally Posted by slackass (Post 3507601)
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!
:)

cwizardone 04-16-2009 01:08 PM

Quote:

Originally Posted by mlangdn (Post 3510860)
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"?
:)

Again, Thanks to both you and Slackass.

H_TeXMeX_H 04-16-2009 02:03 PM

Quote:

Originally Posted by cwizardone (Post 3511268)
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"?
:)

Again, Thanks to both you and Slackass.

No, it's not a bug:
ftp://ftp.slackware.at/slackware-12...._AND_HINTS.TXT

Quote:

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.


cwizardone 04-16-2009 04:36 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 3511323)

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."

The file can be found here:
http://slackware.cs.utah.edu/pub/sla..._AND_HINTS.TXT

Just FYI.
:)
As it was noted in 12.1, but not repaired or even noted in 12.2, might one call that a "bug."
:D

H_TeXMeX_H 04-17-2009 04:59 AM

You're right, it's not in the changes and hints in 12.2 ... so I guess it could be considered a bug.

mostlyharmless 04-17-2009 01:07 PM

Quote:

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.

H_TeXMeX_H 04-17-2009 02:16 PM

There is an hplip package part of slackware:
ftp://slackware.cs.utah.edu/pub/slac...8.4-i486-1.tgz


All times are GMT -5. The time now is 01:48 AM.