IHPPro8600 control panel locked can't turn off printer
This is a report of a successful installation of an HP Deskjet F4240 on Mandriva 2008.1 Spring using the Automatic installer for HPLIP 2.8.7
Since 2008.0 is the latest Mandriva release supported by the automatic installer, I thought that someone else may benefit from my experience. These are the steps I took to successfully use this all-in-one device with Mandriva 2008.1 Spring.
1. Ensure that the USB cable is plugged into both the computer and printer and power up the printer (I'm assuming that the computer is powered up and you're logged on). When the dialogue comes up asking if Printerdrake should install this printer automatically, click on the box to disable automatic printer installation and then click the cancel button.
2. Open the Mandriva Control Center (Menu->
3. When the "Software Management" Window opens, ensure that both pull-down menubars toward the upper left say "all", then enter "HPLIP" in the "Find:" field. If any of the items returned by the search have a green arrow by them, click the check box to make the arrow turn orange. When all of the arrows are orange, click the "Apply" button to remove all vestiges of HPLIP 2.8.2. When removal is complete, click "Quit", then close the Mandriva Linux Control Center.
*Note*- the previous step is necessary to ensure that updates to HPLIP < 2.8.7 don't overwrite portions of the installation you're about to perform. Also, it must be done before you perform the installation or Printerdrake will automatically install HPLIP-model-data and overwrite the data you just installed so the HP Device Manager won't work.
4. Download HPLIP from the HPLIP site on SourceForge. I saved the file at ~/Download ($HOME/Download).
5. Open your browser to the instructions for the manual installation of HPLIP on Mandriva (http://
6. Open a terminal window (Menu->
7. Under the session menu of the terminal window, select New Root Shell. A new tab will open in the Konsole window asking for the root password. This session will have a pale yellow background.
*Note*- The instructions for manual installation have you execute "su -c" commands. They will work without the new root shell, but since there are a few steps which require root priviledges, I prefer a separate root window.
8. Open an editor window. The instructions would have you use kate, but kate isn't installed by default in Mandriva 2008.1, so I use kwrite (Menu->
9. From step 2D in the instructions select the entire line for Mandriva 2007.0 or newer. Copy this line and paste in the the KWrite window. It should look like this:
su - -c "urpmi --allow-force --force --auto cups cupsddk cupsddk-drivers cups-devel libdbus-1_3-devel gcc-c++ ghostscript libcryptopp5 libcryptopp5-devel libjpeg62-dev libsnmp0-devel glibc-i18ndata-
10. In the editor (KWrite):
Change libdbus-1_3-devel to libdbus-1-devel
Change glibc-i18ndata-
Change glibc_lsb-
Change sane-utils to sane-backends
Delete the extra python (we only need it once)
Delete su - -c " and the trailing quotation mark (if you're using the separate root console).
When completed the line should look like this:
urpmi --allow-force --force --auto cups cupsddk cupsddk-drivers cups-devel libdbus-1-devel gcc-c++ ghostscript libcryptopp5 libcryptopp5-devel libjpeg62-dev libsnmp0-devel glibc-i18ndata glibc_lsb libtool libusb0.1_4-devel make python-imaging PyQt python-ctypes python-dbus python-devel python python-reportlab sane libsane1-devel sane-backends xsane
11. Copy the command line you just created and paste in into the root console. Then sit back and wait for all of these packages to be installed. Since there are way too many lines of output to scroll all the way back and ensure that everything was installed, I just hit the up arrow to repeat the command and see if anything new gets installed. If you do this, you will see some messages saying that package X could not be installed because package X.1 (a later version) is already installed. This is normal and a GOOD THING, don't worry about it.
(BTW, you can quit KWrite now- and you don't have to save anything unless you want to.)
12. Perform steps 7A & 7B of the instructions using KWrite.
In the root console issue the command "kwrite /etc/cups/
13. Restart CUPS. In the root console, issue the command "/etc/init.d/cups restart". If CUPS wasn't already running, you'll get an error saying that the STOP failed, that's OK as long as you get an OK status on the start. If CUPS isn't running when you perform the next step, you'll get an error message saying that the CUPS dependancy isn't met.
14. Logout of the root console (enter "exit", or just use ctrl-D), that tab will close. In the remaining console window (the one with the black background) enter "sh hplip-2.8.7.run". I've found that the default responses (the ones with an asterisk "*") are the ones I want, so I just hit the enter key until it asks for the root password. Supply the root password and hit the enter key. It will proceed to perform the configure, build and install of HPLIP.
15. When that's all done it will start the printer setup. Just follow the on-screen instructions for either unplugging-
------------- End of Report-
I'm a Mandriva newbie and a Linux rookie ( <2 years running Debian and openSuSE 10.2) but I've got 15 years of experience running and administering AT&T Unix, so I'm pretty comfortable working from a shell prompt. Nevertheless, I may have made an error in defining these steps.
So I'm going to leave this as open for a day or so to give you guys an opportunity to ask any questions or provide necessary clarification.
Then I'll mark it solved.
ron
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ron Widell
- Solved:
- Last query:
- Last reply: