如何在 Ubuntu 15.10 添加网络打印机?

如何在 Ubuntu 15.10 添加网络打印机?

我需要在我的 Ubuntu 15.10 上设置 HP LaserJet Pro MFP M125nw。

从屏幕截图中您可以看到,我可以从我的网络中看到打印机并添加它。

在此对话框之后,它会安装驱动程序并告诉我打印测试页,我单击“打印”。

此时,我可以在队列列表中看到测试页,但作业始终处于停止状态,我想要打印的任何文档都会发生这种情况。

使用杯子它告诉我stopped "Filter failed"打印机已打开Idle - "Rendering completed"

可能是什么问题?如何打印?谢谢。

来自 cups logs 的其他详细信息

D [05/Dec/2015:16:20:54 +0100] [Job 13] Processing page 1...
D [05/Dec/2015:16:20:54 +0100] [Job 13] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [05/Dec/2015:16:20:54 +0100] [Job 13] prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1STATE: +hplip.plugin-error
D [05/Dec/2015:16:20:54 +0100] [Job 13] prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
D [05/Dec/2015:16:20:54 +0100] [Job 13] prnt/backend/hp.c 919: ERROR: null print job total=0
D [05/Dec/2015:16:20:54 +0100] [Job 13] PID 5476 (/usr/lib/cups/backend/hp) exited with no errors.
D [05/Dec/2015:16:20:54 +0100] [Job 13] PID 5475 (/usr/lib/cups/filter/hpcups) stopped with status 1.
D [05/Dec/2015:16:20:54 +0100] [Job 13] Hint: Try setting the LogLevel to "debug" to find out more.
D [05/Dec/2015:16:20:54 +0100] [Job 13] Processing page 2...
D [05/Dec/2015:16:20:54 +0100] [Job 13] Rendering completed
D [05/Dec/2015:16:20:54 +0100] [Job 13] PID 5474 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [05/Dec/2015:16:20:54 +0100] [Job 13] End of messages
D [05/Dec/2015:16:20:54 +0100] [Job 13] printer-state=3(idle)
D [05/Dec/2015:16:20:54 +0100] [Job 13] printer-state-message="Rendering completed"
D [05/Dec/2015:16:20:54 +0100] [Job 13] printer-state-reasons=none

在此处输入图片描述

答案1

我通过手动安装解决了同样的问题hplip。运行:

 sudo apt-get install hplip

然后运行:

hp-setup

这将打开一个 GUI,您可以在其中搜索/添加打印机。

在此处输入图片描述

您也可以通过以下方式直接安装 GUI:

sudo apt-get install hplip-gui

从 dash 运行它并按照指示进行操作。

在此处输入图片描述

相关内容