«

»

Feb 22 2013

Adding an HP printer to BackTrack 5

I recently had to install an HP LaserJet 1022 printer to my BackTrack 5 r3 installation. Turns out that printing is not working out of the box. I had in mind from a previous experience that you need at least CUPS, a driver for your printer and/or perhaps a ppd file. Fortunately in the case of HP printers things are even easier, thanks to the HP Linux Imaging and Printing project. Basically, you just need one package, namely “hplip” (from the repositories) and you are all set. Open a terminal and type:

aptitude install hplip

This will download and install CUPS along with HP drivers for a large variety of devices.

Then you simply have to visit CUPS’ web interface: http://localhost:631 and input your root credentials. After that, you can add your printer (USB, Wireless, etc) through Administration -> Add Printer, and it’s all set. You can proceed to print using a text editor, Firefox, PDF reader, or whatever.

  • Julian

    Thank you a lot, my thoughts were that I have to switch back to ubuntu, but fortunately your solution worked. Many thanks!

  • Julian

    Thank you a lot, my thoughts were that I have to switch back to ubuntu, but fortunately your solution worked. Many thanks!

  • Julian

    Thank you a lot, my thoughts were that I have to switch back to ubuntu, but fortunately your solution worked. Many thanks!

    • http://bruteforce.gr/ Ion

      No problem! Glad it worked. Regards.

  • Dejan

    I read a ton of web articles, forum posts etc and this is the only one that helped me.
    Although my old HP710C is not supported by hplip (so I didn’t install it), just CUPS and ppd file (along with your instructions) were enough for me to print on BackTrack 5.
    Thanks a lot!
    PS: Why everything on Linux has to be so hard?

  • Stopeck

    Not working for me tried restarting backtrack and it failed

Powered by WordPress and the Graphene Theme.

More in General News
CSIS: Raising the Bar for Cybersecurity
How to graphically control a remote machine
4o StudentGuru Patras event - Επιθέσεις και ασφάλεια υπολογιστών
SSH honeypot workshop @ BSides London 2013
The DEFCON Documentary Preview Reel
Close