LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   hplip-1.7.1 won't install. (https://www.linuxquestions.org/questions/slackware-14/hplip-1-7-1-wont-install-531620/)

H_TeXMeX_H 02-25-2007 03:07 PM

Ok, here is exactly what to do to install hplip ... just start over. So before trying again, uninstall both hpijs (now obsolete) and hplip:

Code:

removepkg hpijs*
removepkg hplip*

Now, to install hplip, do this exactly as follows and it will work:
1) Download hplip tarball
2) Extract the tarball, open up a terminal where you extracted it and run this:
Code:

./configure --prefix=/usr --disable-network-build
make
su
<Enter root password>
make install
/etc/rc.d/rc.cups stop
/etc/init.d/hplip restart
/etc/rc.d/rc.cups start
ln -s /etc/init.d/hplip /etc/rc.d/rc.hplip

3) Turn the printer on
4) Restart your computer
5) Go here http://localhost:631/
and install the printer ... click ...
Printers -> Add Printer ->
a) Name the printer
b) Device: HP Printer
c) Make: HP
d) Model: Your HP Printer Model
e) That's it

simcox1 02-25-2007 03:32 PM

Why do all that? Why not just download the hplip from any slackware mirror in /testing and just do

installpkg hplip-1.6.9.tgz

H_TeXMeX_H 02-25-2007 03:39 PM

because this is hplip-1.7.1 not hplip-1.6.9

cwizardone 02-25-2007 10:41 PM

Quote:

Originally Posted by simcox1
OK. First of all, which printer are you trying to install ie model name?
Second, which version of hplip have you got installed, and is it a slackware package or built from source?

Thank you for taking the time to reply.
The printer is a HP Deskjet 940c.
I'm trying to install hplip version 1.7.1 from the hp web site. Hpijs-2.1.4 comes with Slackware 11 and it doesn't do a very good job. The quality is very poor.
HP doesn't offer a Slackware specific package, at least not for this version.
The default when you run configure is, --disable-network-build.
If there is a stackbuild script somewhere, please point me to it. I went to StackBuilds.org, but didn't see anything that looked like a script for this purpose.
Thanks, again.
:scratch:

J_W 02-26-2007 01:23 AM

As H_TeXMeX_H advised before in this thread(post #16), you may removepkg
hpijs-2.1.4. Because HPLIP-1.7.1 includes hpijs-2.7.1 which is newer
than hpijs-2.1.4.

And if you want to use SlackBuild script for making hplip-1.7.1 package,
you can modufy and use Patrick's hplip.SlackBuild in Slackware mirror.
(example) http://slackware.osuosl.org/slackwar...lip.SlackBuild

As you can see above SlackBuild, --enable-network-build=no is set as default already.
Edit the line of "VERSION=1.6.9" --> "VERSION=1.7.1", then you can use it
as SlackBuild script for hplip-1.7.1.

simcox1 02-26-2007 05:58 AM

You're getting a lot of various advice here, but as a first step, I would recommend installing the slackware package of hplip from here:

http://ftp.osuosl.org/pub/slackware/...6.9-i486-1.tgz

There is no need to remove the already installed hpijs package.

If that version of hplip works for you, then fine. If it doesn't, then you may need to look at an alternative.

H_TeXMeX_H 02-26-2007 06:16 PM

If you don't uninstall hpijs, hplip will share some files with hpijs, which will cause problems if you remove either later.

cwizardone 02-26-2007 08:22 PM

I would like to THANK Everyone for all the help.
H_TexMex_H you went above and beyond the call of duty and it is greatly appreciated. I followed your instructions to the letter, even going so far as to copy and paste so I wouldn't make any errors.
Sorry to report it didn't solve the problem.
Finally, I took Simcox1's advice and installed,
"installpkg hplip-1.6.9.tgz" and now both the printer and scanner are working. The output from the printer is still not as good as under XP, but it will do.
Again, Many Thanks, for all the help.
:D
Now to figure out why Slackware Linux it doesn't see both (2) CD/DVD drives.
Always fun and games.

simcox1 02-27-2007 03:33 AM

You may just need to check the printer settings. Maybe the cartridges need a clean or something. If you're using kde you've got the 'hp toolbox' now in the utilities menu. If you're not using kde then you might be able to launch the toolbox via a console, with the command 'hp-toolbox'. If you haven't got the toolbox, then look in /usr/share/hplip to see all the commands you can run manually. Such as 'hp-clean', 'hp-levels' etc.

H_TeXMeX_H 02-27-2007 01:54 PM

Quote:

Originally Posted by cwizardone
The output from the printer is still not as good as under XP, but it will do.

The printing resolution usually defaults to 300x300dpi, which is not that great. If you want more, just jack it up. Usually 600x600dpi is great, more than that would take really long to print.

Remember that the hplip drivers are open-source and come from HP, so they should be just as good as the drivers you run on Window$. I think you just need to mess with the settings a bit.

(If cleaning were the problem, it would print badly on both Window$ and Linux)

cwizardone 02-27-2007 03:47 PM

Well......The printer works, to a point. I can send things to it and it prints. I send a test page from the KDE interface and it prints. The scanner is working with Kooka. HOWEVER, the when I bring up the HP Device Manager it is blank and says, "No installed HP devices found." As to print quality. The logo of the company I work with is a deep rich red color. If I boot to XP right now and print it, that is how it will look. If I print it while in Linux it comes out a dull almost orange color. The b&w print, even at its best sitting is no where near as good as what is printed from with XP. Don't know what to tell you. The quality just isn't there. My old deskjet plus, rest in peace, did a better job than what it produced from within Linux/KDE.
I would like it to work properly, but at this point, I'll take what I can get.
I use to consider this sort of stuff as a challenge, but that was 20 years ago when I bought my first computer. Now it is just a giant waste of my time, especially when some of this stuff is suppose to now "work out of the box."
I prefer Linux to mickeysoft, but Linux will never appeal to the average computer user until it becomes easier to use. I know it has come a long way in the last 15 years or so, as I first used it about 12 years go, but it still has a way to go.
Now, I can't make it recognize both of my DVD/CD drives, KDE Konsole won't save the settings,and, oh, is there a way to stop the boot information from scrolling so I can read it? It would appear that this kernel, 2.6.18 is installing a module that allows one to read AND Write a NTFS?
OTOH, I ran the slackbuild script to change the tools and conventions in Gimp to be similar to those in Photo Shop and I like Gimp very much. Also like GQview. I prefer ACDSee, which I've paid for, a couple of times, and have used for years, but they have no plans to port ACDSee to Linux. Oh, well.
Oh, also need to get the winmodem to work, and then I'll be a happy camper.
So, fix list is,
CD/DVD recogniton.
Modem recognition for fax purposes.
Get MPlayer installed.
Tweak a couple of other small things and I'm done.
I HOPE.
Again, Thanks to everyone for their help. It has been greatly appreciated.
:D

simcox1 02-27-2007 04:25 PM

As you're happy with building from slackbuild scripts, www.slackbuilds.org is an excellent place for software, including mplayer. As for the boot message, have a look in /var/log, especially /var/log/dmesg. As for your cd/dvd drives, if it's only recognising one, then you need to add the second one to /etc/fstab, and possibly create a mount point for it like /mnt/dvd, if it doesn't already exist.

cwizardone 02-28-2007 10:57 PM

Thank you simcox1.
Using your excellent advice I was able to add the second CD/DVD and that is now working well.

I've tried installing MPlayer 3 times, but no joy.
I think I've followed the directions in the StackBuild script to the letter, but I must be doing something wrong. Also tried 2 different complied package, after installing all the codecs and plugins, but neither worked.
I'll keep working it.

Again, Thank you, and everyone, very much for your help.

simcox1 03-02-2007 07:01 AM

Mplayer is tricky to install fron source. But the package from slackbuilds.org should work well. The packages for mplayer, mplayer codecs, and the browser plugin, are all at slackbuilds.org. Go to the relevant page for a package, such as mplayer, and follow the link to the HOW TO at the foot of the page. There are no instructions in the SlackBuild script itself. Remember to make sure the script is executeable, and to run it as root.

./Mplayer.SlackBuild

cwizardone 03-05-2007 02:25 AM

Well, in the middle of all of this the motherboard died so it was out for a new one and that meant a new video driver as I couldn't find a board with an AGP slot. Ended up using the built-in Intel Video on the board and the "generic" i810 drivers. Un-installed MPlayer and ran the SlackBuild script, again, and this time MPlayer came to life. Amazing. So far it has played everything on my system except one HD avi file. Haven't figured out how to make it play a DVD, but I have VLC for that.
The last thing on my list is sitting up the fax which I thought would be the easiest thing to do. Not so. KDE has two fax readers, but I need something to send and receive. Haven't found anything in the Slackware packages and I don't see anything in KDE. Maybe I'm missing something obvious. If so, please let me know.
Thanks.
:scratch:


All times are GMT -5. The time now is 06:05 PM.