如何解决我的打印问题(HP M1319f MFP)
Tofloor
poster avatar
135******75
deepin
2018-06-11 17:44
Author
办公室的HP M1319f MFP,之前我很顺利的连接、识别、自动安装,然后可以打印的。
不知道是不是某个时间点系统更新的缘故,不能打印了,于是折腾了,还是没搞定

目前的状态是打印文档后,队列似乎有了,但队列中的文档不会被打印,根据trouble shooting提示,查看cups相关的日志如下:
6月 11 09:16:49 x201-pc /hpfax[14834]: [14834]: error: Failed to create /var/spool/cups/tmp/.hplip
6月 11 09:19:34 x201-pc hpcups[15306]: common/utils.c 130: validate_plugin_version() Plugin version[3.17.6] mismatch with HPLIP version[3.16.5]
6月 11 09:19:34 x201-pc hpcups[15306]: common/utils.c 157: Plugin version is not matching
6月 11 09:19:34 x201-pc hpcups[15306]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 427: Found interface conf=0, iface=1, altset=0, index=1
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=1
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 393: Detaching kernel driver on interface=1 ret=0
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 535: claimed 7/1/2 interface
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 781: read actual device_id successfully fd=1 len=126
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 561: released 7/1/2 interface
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 961: new PRINT channel=2 clientCnt=1 channelCnt=1
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 427: Found interface conf=0, iface=1, altset=0, index=1
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=0
6月 11 09:19:34 x201-pc hp[15307]: io/hpmud/musb.c 535: claimed 7/1/2 interface
6月 11 09:19:35 x201-pc hp[15307]: prnt/backend/hp.c 376: read new pjl status: 10023
6月 11 09:19:35 x201-pc hp[15307]: prnt/backend/hp.c 378: read pjl job_end: 0
6月 11 09:19:35 x201-pc hp[15307]: prnt/backend/hp.c 376: read new pjl status: 10001
6月 11 09:19:54 x201-pc hp[15307]: io/hpmud/musb.c 561: released 7/1/2 interface
6月 11 09:19:54 x201-pc hp[15307]: io/hpmud/musb.c 976: removed PRINT channel=2 clientCnt=0 channelCnt=0


因为我看提示是hplip和hplip-plugin之间版本不匹配,所以
sudo apt-get install hplip     提示已经是最新版3.17.6
sudo apt-get install hplip-plugin  提示已经最新版 3.17.6

接下来我该如何处理呢?
Any help is appreciated
Reply Favorite View the author
All Replies
avatar
sinux
deepin
2018-06-11 21:30
#1
你是手动装过吧
Reply View the author
avatar
rdlg
deepin
2018-06-11 22:33
#2
  1. sudo apt-get install --reinstall hplip
  2. sudo apt-get install --reinstall hplip-plugin
Copy the Code
Reply View the author
avatar
21wmd
deepin
2018-06-12 01:29
#3
在打印设置里把打印机删了重新添加一下试试
Reply View the author
avatar
135******75
deepin
2018-06-21 01:34
#4
还是不行啊,我已经remove掉再reinstall,没用。我想手动装一下hplip3.17.6,结果说依赖装不上
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: This installer cannot install 'libcrypto' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

什么情况?
Reply View the author
avatar
rdlg
deepin
2018-06-21 08:03
#5
https://bbs.deepin.org/post/157980
还是不行啊,我已经remove掉再reinstall,没用。我想手动装一下hplip3.17.6,结果说依赖装不上
INSTALL MIS ...

打印机怎么添加的 是通过hp-setup吗
Reply View the author
avatar
135******75
deepin
2018-06-22 01:39
#6
本帖最后由 sjg20010414 于 2018-6-21 17:41 编辑

解决了!谢谢楼上的各位

我确认用 apt-get  purge清理掉hplip和hplip-plugin,然后重新安装它们,观察了版本,确认都是3.17.6版本
查看了/etc/hp/hplip.conf,确认了配置信息里面确实是3.17.6

我打印机配置用的就是“打印设置”(不清楚具体针对哪个软件,似乎自带就有这玩意)
重点是,选中我的打印机,属性,生产和型号,从数据库自己搜,选HP,打印机类型LaserJet m1319f MFP,驱动程序 这里千万不要选它“推荐”的hpcups 3.16.5,而要选择hpcups 3.17.6,并且之后选择“使用新的PPD”,而不是“尝试将旧的选项设置覆盖到旧的PPD中”

猜想之前老是出问题,是配置信息问题,而默认的所谓“推荐”有问题,选了“覆盖”,它就试图把原来的配置迁移到新的打印机驱动上,这个过程可能有点问题当然,目前还是不清楚为什么手动安装的依赖装不上,deepin在自动方面做得不错,就是手动,有时候反而比Ubuntu等麻烦

还是多谢楼上各位,互帮互助,有人使用,才可能让这个系统活着——顺祝王勇全家幸福,家庭还是重要的,我要回家了:-))


Reply View the author