HPLIP on Slackware or, getting my printer working
Okay, I have the following
Slackware 10.2 with the 2.4 kernel KDE 3.4 HP Officejet v40 I am trying to install the HPLIP driver per the instructions here. http://hpinkjet.sourceforge.net/inst...wnload_install I get as far as step 10 when it tells me to run the following command /etc/init.d/hplip restart which on my machine comes back with the following error bash: /etc/init.d/hplip: No such file or directory and indeed there doesnt seem to be a directory /etc/init.d and thus there cant really be a file hplip inside of it. All 9 steps before that seem to work flawlessly. Am I supposed to make this folder? nowhere in the instructions did it indicated to do so. What am I doing wrong? Thanx in advance Rayston |
Hi,
I'm using hplip-0.9.6 which I built myself on Slackware-current. If you untar hplip source, there is hplip.sh script in the top directory of untared hplip-0.9.6.tar.gz. I copied hplip.sh in /etc/rc.d/ as rc.hplip ( and editted line 29 and 30 ). Next, I added following lines on /etc/rc.d/rc.M just before cups start-up lines. # Start HPLIP before CUPS if [ -x /etc/rc.d/rc.hplip ]; then /etc/rc.d/rc.hplip restart fi ------ ( I don't know whther rc.local is better than rc.M... ) The easiest way may be to use precompiled binary at http://www.linuxpackages.net/ . Sorry for my poor English. ------- EDIT : My former comment was not correct. Just copying hplip.sh will not work. You need to edit line #29 and #30 as follows. HPIODDIR=/usr/sbin HPSSDDIR=/usr/share/hplip |
Quote:
|
Quote:
I was able to understand clearly. |
On to a different problem
Okay, so I got past the
/etc/init.d/hplip restart command, I installed the package from linuxpackages.net and then ran the command it seemed to run fine. but then I immediately get stuck on the next step /etc/init.d/cups restart I get a similiar error to when I was running hplip any ideas? thanx Rayston |
Re: On to a different problem
Quote:
|
All times are GMT -5. The time now is 02:24 AM. |