Find the answer to your Linux question:
Results 1 to 9 of 9
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Hi pfeigl. You can install the .tgz package of hplip with pkgtool. Get hplip for Slackware 12 here.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    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

  4. $spacer_open
    $spacer_close
  5. #4
    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

  6. #5
    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

  7. #6
    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

  8. #7
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    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

  9. #8
    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.

  10. #9
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •