Find the answer to your Linux question:
Results 1 to 5 of 5
Ok, ok. I did it. I installed my HP Deskjet 842c and it works perfectly. Looking back at how I did it, it is very simple... once you know how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211

    HP Printer Installation


    Ok, ok.

    I did it. I installed my HP Deskjet 842c and it works perfectly.
    Looking back at how I did it, it is very simple... once you know how to do it. I really googled at lot for this, and I struggled along the way.
    As far as I know, this should work for every HP Deskjet printers.

    So here is how I did it, using Debian Sarge (in Gnome, through it is not GUI specific):

    ***********
    EDIT:
    Following the comment by "eerok", I did change my HOW-TO a little...
    ***********

    Try to use USB instead of PARALLEL cable, it's much better

    Install the required packages:
    Code:
            sudo apt-get install printconf hplip cupsomatic-ppd hpijs
    Then restart the print server:
    Code:
    sudo /etc/init.d/hplip restart
    sudo /etc/init.d/cupsys restart
    > Now open a browser and go at http://localhost:631 (you will be asked for a password, so type username and password (or "root" and password).
    > Click "Printers"
    > "Modify Printer"
    > Enter Name, Location, Description ; then click "Continue"
    > From the Device drop-down list, click hp:/usb/[printer name, serial number].
    For example, "hp:/usb/hp_deskjet_842c?serial=MY31R1K02179".
    > Click "Continue"
    > In the "Make" list, click "HP", and then click "Continue"
    > In the "Model" list, click the printer model, and then click "Continue"
    (you should choose the foomatic recommended driver specific to your printer)

    Well, that's it folks.

    Of course, passed the http://localhost:631 step, it may not be exactly the same for you, but nevertheless very similar.

    Give me some feedback!

    P.S. I use "sudo" to get root privileges.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  2. #2
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153
    There's an easier way:
    Code:
    #apt-get install printconf
    noobus in perpetuum

  3. #3
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Hehe, all this for that.

    Thanks
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  4. #4
    Just Joined!
    Join Date
    May 2006
    Posts
    8

    Cool printer HP DeskJet 840C

    Hi antidrugue, 1st I typed the code : sudo apt-get install printconf hplip cupsomatic-ppd hpijs but it gave me error command then I changed as fellow linux:/home/linuxuser # su linuxuser install printconf hplip cupsomatic-ppd hpijs but it still gave me error as indicated /usr/bin/install: /usr/bin/install: cannot execute binary file linux:/home/linuxuser # Could you pls assist me. Could we go chat to execute this matter my e-mail mohamed.hammam2@gmail.com

    hear is what I have done in details from console :

    linuxuser@linux:~> sudo apt-get install printconf hplip cupsomatic ppd hpijs
    sudo: apt-get: command not found
    linuxuser@linux:~> su apt-get install printconf hplip cupsomatic ppd hpijs
    su: user apt-get does not exist
    linuxuser@linux:~> su linuxuser install printconf hplip cupsomatic ppd hpijs
    Password:
    /usr/bin/install: /usr/bin/install: cannot execute binary file
    linuxuser@linux:~>

    linuxuser@linux:~> sudo /etc/init.d/hplip restart
    Stopping hpiod: [ OK ]
    Stopping hpssd: [ OK ]
    Starting hpiod: [ OK ]
    Starting hpssd: [ OK ]
    Note: You may have to restart the cupsd.
    linuxuser@linux:~> sudo /etc/init.d/hplip
    Usage: /etc/init.d/hplip {start|stop|status|restart|condrestart}
    linuxuser@linux:~> sudo /etc/init.d/hplip status
    hpiod (pid 846 is running...
    hpssd (pid 8472) is running...
    linuxuser@linux:~>

    linuxuser@linux:~> sudo /etc/init.d/cupsys restart
    sudo: /etc/init.d/cupsys: command not found
    linuxuser@linux:~> sudo /etc/init.d/cupsys
    sudo: /etc/init.d/cupsys: command not found
    linuxuser@linux:~>

    linuxuser@linux:~> sudo /etc/init.d/cups status
    Checking for cupsd: running
    linuxuser@linux:~>

    http://localhost:631/printers
    Device URI: smb://192.168.1.8/printer
    Device URI: smb://192.168.1.8/printer2
    printer_11 HP DeskJet 840C Foomatic/hpijs(recommended)
    Device URI: parallel:/dev/lp0
    printer_11
    Default Destination: printer
    printer_11
    HP DeskJet 840C Foomatic/hpijs (recommended)
    Description:
    Location:
    Printer State: processing, accepting jobs.
    Device URI: parallel:/dev/lp0
    Print Test Page Stop Printer Reject Jobs Modify Printer Configure Printer Delete Printer
    when I click Modify Printer it asks for username and password I entered root password but it refused
    Unauthorized
    This server could not verify that you are authorized to access the resource.

    ... thanx
    Mohammed Hammam

  5. #5
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1

    Thumbs up HP printer Installation Wizard for your Linux ( Boss,Debian,Fedora, ubuntu, suse .. )

    See blog.dipinkrishna.info/2009/08/hp-printer-installation-wizard-for-your.html for an easy and more successful way to install your hp printer in your linux...

Posting Permissions

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