Shammer's Philosophy

My private adversaria

Install HP Printer Driver on Debian wheezy

I use HP PhotoSmart printer, and can get and install driver by this site procedure. This is my memo.

  1. su -
  2. apt-get update
  3. apt-get install avahi-utils
  4. apt-get install libcups2
  5. apt-get install libcups2-dev
  6. apt-get install cups-bsd
  7. apt-get install cups-client
  8. apt-get install libcupsimage2
  9. apt-get install libcupsimage2-dev
  10. apt-get install libdbus-1-dev
  11. apt-get install g++
  12. apt-get install ghostscript
  13. apt-get install ghostscript-cups
  14. apt-get install ghostscript-x
  15. apt-get install libssl-dev
  16. apt-get install libjpeg8-dev
  17. apt-get install libsnmp-dev
  18. apt-get install libc6
  19. apt-get install libtool
  20. apt-get install libusb-1.0.0-dev
  21. apt-get install make
  22. apt-get install wget
  23. apt-get install python-imaging
  24. apt-get install policykit-1
  25. apt-get install policykit-1-gnome
  26. apt-get install python-qt4
  27. apt-get install python-qt4-dbus
  28. apt-get install python-dbus
  29. apt-get install python-gobject
  30. apt-get install python-dev
  31. apt-get install python-notify
  32. apt-get install python
  33. apt-get install python-reportlab
  34. apt-get install sane
  35. apt-get install libsane-dev
  36. apt-get install sane-utils
  37. apt-get install xsane
  38. wget http://prdownloads.sourceforge.net/hplip/hplip-3.14.6.tar.gz(version may be changed in the future)
  39. tar xvzf hplip-3.14.6.tar.gz
  40. cd hplip-3.14.6
  41. ./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --enable-qt4 --enable-hpcups-install --enable-cups-drv-install --disable-cups-ppd-install --disable-hpijs-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-foomatic-rip-hplip-install --enable-fax-build --enable-dbus-build --enable-network-build --enable-scan-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-doc-build
  42. make
  43. make install
  44. usermod -a -G lp,lpadmin $USER
  45. shutdown -r now

After installation, setup printer as this site.

  1. su -
  2. hp-setup
  3. proceed wizard