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.
- su -
- apt-get update
- apt-get install avahi-utils
- apt-get install libcups2
- apt-get install libcups2-dev
- apt-get install cups-bsd
- apt-get install cups-client
- apt-get install libcupsimage2
- apt-get install libcupsimage2-dev
- apt-get install libdbus-1-dev
- apt-get install g++
- apt-get install ghostscript
- apt-get install ghostscript-cups
- apt-get install ghostscript-x
- apt-get install libssl-dev
- apt-get install libjpeg8-dev
- apt-get install libsnmp-dev
- apt-get install libc6
- apt-get install libtool
- apt-get install libusb-1.0.0-dev
- apt-get install make
- apt-get install wget
- apt-get install python-imaging
- apt-get install policykit-1
- apt-get install policykit-1-gnome
- apt-get install python-qt4
- apt-get install python-qt4-dbus
- apt-get install python-dbus
- apt-get install python-gobject
- apt-get install python-dev
- apt-get install python-notify
- apt-get install python
- apt-get install python-reportlab
- apt-get install sane
- apt-get install libsane-dev
- apt-get install sane-utils
- apt-get install xsane
- wget http://prdownloads.sourceforge.net/hplip/hplip-3.14.6.tar.gz(version may be changed in the future)
- tar xvzf hplip-3.14.6.tar.gz
- cd hplip-3.14.6
- ./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
- make
- make install
- usermod -a -G lp,lpadmin $USER
- shutdown -r now
After installation, setup printer as this site.
- su -
- hp-setup
- proceed wizard