1, 查看打印机信息:lpstat -p
2, 安装打印机驱动 (Make sure search the corresponding version ofhplip-3.14.3-plugin.run)
# sudo hp-setup 按照说明点击下一步,即可。(如果打开图形界面失败,也可以用字符界面去配置# sudo hp-setup -i)
e.g:
# dpkg -l|grep hplip
ii hplip 3.14.3-0ubuntu3.5 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.14.3-0ubuntu3.5 all HP Linux Printing and Imaging - data files
So, I should install hplip-3.14.3-plugin.run
Note:
1, you should download hplip-3.14.3-plugin.run from http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ by yourself to your computer before this step.
2, 在第二步是选用第二项,找到“hplip-3.14.4-plugin.run”,第一项是无法完成的!
# lpstat -p
printer HP_LaserJet_Professional_P1106 is idle. enabled since Sat 10 Sep 2016 12:47:40 AM CST
ready to print
OK! Now you could test your printer.
另外:
你可以按下win键,然后搜索printers,打开该软件,你可以看到刚成功添加的打印机!
Ref:
http://m.blog.csdn.net/article/details?id=50630359
http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=458949