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