====== Install HPLIP on Debian ====== sudo apt-get update sudo apt-get install --force-yes -y avahi-utils cups libcups2 libcups2-dev cups-bsd cups-client libcupsimage2 libcupsimage2-dev libdbus-1-dev g++ ghostscript ghostscript-cups ghostscript-x libssl-dev libjpeg8-dev libsnmp-dev libc6 libtool libusb-1.0.0-dev make wget policykit-1 policykit-1-gnome python3-dbus python3-gi python3-dev python3-notify2 python3-pip python3-pyqt4 gtk2-engines-pixbuf python3-dbus.mainloop.qt python3-lxml sane libsane-dev sane-utils xsane wget http://prdownloads.sourceforge.net/hplip/hplip-3.15.2.tar.gz tar xvf hplip-3.15.2.tar.gz cd hplip-3.15.2 # 32 Bit: ./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP --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 # 64 Bit: ./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 sudo make install su -c "usermod -a -G lp,lpadmin $USER" hp-setup -r #(remove all print queues) sudo hp-plugin hp-setup