HP LaserJet Pro MFP m26nw 无法在 Linux Mint 19 上作为网络打印机进行打印

HP LaserJet Pro MFP m26nw 无法在 Linux Mint 19 上作为网络打印机进行打印

我可以通过 USB 让它工作,但我们真的希望它能在网络上运行。

打印机是 HP LaserJet Pro MFP m26nw,操作系统是 Mint 19.1 64 位 Mate。

安装后,测试页作业更改为“已停止”状态,并弹出错误,提示“处理文档‘测试页’时出现问题”。

这是日志输出:

Feb 12 14:27:01 desktop systemd[1]: Started CUPS Scheduler.
Feb 12 15:15:36 desktop /hpfax[5157]: [5157]: error: Failed to create /var/spool/cups/tmp/.hplip
Feb 12 15:16:48 desktop hpcups[5243]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 157: Plugin version is not matching
Feb 12 15:16:48 desktop hpcups[5243]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:17:53 desktop hpcups[5372]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 157: Plugin version is not matching
Feb 12 15:17:53 desktop hpcups[5372]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:18:47 desktop systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 15:18:47 desktop systemd[1]: cups.service: Failed with result 'exit-code'.
Feb 12 15:18:47 desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
Feb 12 15:18:47 desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 1.
Feb 12 15:19:04 desktop systemd[1]: Stopped CUPS Scheduler.
Feb 12 15:19:04 desktop systemd[1]: Started CUPS Scheduler.
Feb 12 15:27:16 desktop /hpfax[5506]: [5506]: error: Failed to create /var/spool/cups/tmp/.hplip
Feb 12 15:33:35 desktop hpcups[5677]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 157: Plugin version is not matching
Feb 12 15:33:35 desktop hpcups[5677]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:33:35 desktop hp[5678]: prnt/backend/hp.c 919: ERROR: null print job total=0
Feb 12 15:33:56 desktop hpcups[5690]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 157: Plugin version is not matching
Feb 12 15:33:56 desktop hpcups[5690]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:33:56 desktop hp[5691]: prnt/backend/hp.c 919: ERROR: null print job total=0

看起来那里有一些问题,但我不知道如何解决它们。我尝试过 Jetdirect、IPP 和 hp 协议。当提示输入时,我正在使用 Hplip / foomatic 的精确匹配驱动程序(尽管其中一种方法没有要求驱动程序)。全部产生相同的结果。我可以尝试什么?

答案1

common/utils.c 69:无法打开 /var/lib/hp/hplip.state

使用 root 权限创建 hplip.state,然后在客户端/用户计算机上安装您可能需要的 hp 插件(如果他们无法提供打印)。

相关内容