Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > HPLIP on Slack

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-10-2008   #1 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Exclamation HPLIP on Slack

Does anyone know how to compile HPLIP? Its just a bunch of Python files that I don't know how to handle. The .run version won't work on Slackware. In fact it doesn't work on DEbian, even though its supposed to... I have the latest versions of everything.

Peter
pfeigl is offline  



Reply With Quote
Old 04-10-2008   #2 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,155
Send a message via AIM to Dapper Dan
Hi pfeigl. You can install the .tgz package of hplip with pkgtool. Get hplip for Slackware 12 here.
__________________
CRUX 2.6 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 04-10-2008   #3 (permalink)
Linux Engineer
 
Freston's Avatar
 
Join Date: Mar 2007
Location: The Netherlands
Posts: 831
With any luck you took the full-install and HPLIP is already on your system.

Try to open this link cPanelŽ in your browser with the printer plugged in and turned on. This opens the CUPS interface that should detect your printer.

What could be a problem on your box is that the CUPS and/or HPLIP services aren't turned on. You can check with this command:
Code:
ls -l /etc/rc.d/ | grep hplip ; ls -l /etc/rc.d/ |  grep cups
It should lead to output like this:
-rwxr-xr-x 1 root root 4777 2007-06-10 07:14 rc.hplip*
-rwxr-xr-x 1 root root 4548 2007-05-09 23:28 rc.cups*

Note the 'x' in this string: "-rwxr-xr-x" stands for executable. If you don't have an 'x'in that string you can add it (as root):
Code:
chmod +x /etc/rc.d/rc.hplip /etc/rc.d/rc.cups
Now start both services (/etc/rc.d/rc.hplip start) and you're all set.
__________________
Can't tell an OS by it's GUI
Freston is offline   Reply With Quote
Old 04-10-2008   #4 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Thumbs up Correct!

I got just the output you said, sans the x's. I will fix it tonight. I'm studying for a math exam right now.

Thanks.

Peter
pfeigl is offline   Reply With Quote
Old 04-10-2008   #5 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Not quite yet....

I made the changes and everything seems as it should be, but when I click on your Control Panel link I get:

An error occurred while loading http://localhost:631:
Could not connect to host localhost (port 631).

Peter
pfeigl is offline   Reply With Quote
Old 04-10-2008   #6 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
More Info...

When I tried to configure the printer, I got this dialog:

Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: localhost: read failed (14).

Peter
pfeigl is offline   Reply With Quote
Old 04-10-2008   #7 (permalink)
Linux Engineer
 
Freston's Avatar
 
Join Date: Mar 2007
Location: The Netherlands
Posts: 831
Ahum. I said start both services :-p

So: /etc/rc.d/rc.cups start

Although a reboot has the same effect. If you still get that message after a reboot something else is wrong.
__________________
Can't tell an OS by it's GUI
Freston is offline   Reply With Quote
Old 04-10-2008   #8 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Thumbs up It really works!!! I hope...

You Sir, are the cat's pyjamas with Slack! The CUPS page came up. Now how do I invoke that from my machine? I still have to add the printer and its a network printer (shudder) so I may be back...
Thanks.

Peter.
pfeigl is offline   Reply With Quote
Old 04-10-2008   #9 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Thumbs up This is great!!!

I can't believe it. After all these years of heartache with Linux I have:
A working display
A working wheel mouse
A working network printer
A working connection to the Internet
Working Samba services
Almost working USB card reader

It's just like, well, a real computer. I have to try out the sound sometime.
I just may ditch windows after all. I wanted to years ago. I came from the crazed Amiga camp and always laughed at windows "new" features. I still like Macs though. In fact I just bought one.

Thanks ever so much!

Peter
pfeigl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:49 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1