由于该型号的驱动在ubuntu下有bug,因此需要一些特别的手段来令打印机可用。
请参考
https://mark911.wordpress.com/2014/10/31/how-to-install-printer-drivers-for-hp-laserjet-1020-in-ubuntu-14-04-lts-without-needing-access-to-openprinting-org-website/
列出主要步骤,以防无法访问。
本人测试成功。Ubuntu14.04LTS Gnome桌面,打印机hp laser jet 1020+。
sudo apt-get update
sudo apt-get remove hplip cups-filters cups hplip-data system-config-printer-udev
sudo apt-get install build-essential tix groff dc axel cups
sudo apt-get install cups-filters unp system-config-printer-gnome
sudo rm -rf /usr/share/hplip
cd /tmp
rm foo*
axel http://foo2zjs.rkkda.com/foo2zjs.tar.gz
unp foo2zjs.tar.gz
cd foo2zjs/
make
./getweb 1020 # Get HP LaserJet 1020 firmware file
sudo make install
sudo make install-hotplug
# Unplug and re-plug the USB printer to the PC
# add new HP Laserjet 1020 printer via system-config-printer tool
# and choose to use foo2zjs foomatic printer driver :
system-config-printer
# check /var/log/syslog for any errors related to foo2zjs driver:
tail /var/log/syslog
只需执行上面的命令即可。
Good Luck:)