[Print Manager] [v23] 惠普打印机报错
Tofloor
poster avatar
howardth
deepin
2025-04-18 07:35
Author

Hi,

也不知道啥啥时候坏的,突然就不能打印了,看了下日志报这个,有遇到同样问题的朋友不?

打印机型号 HP Laser MFP 136w

/var/log/cups/error_log

W [18/Apr/2025:07:25:19 +0800] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [18/Apr/2025:07:25:19 +0800] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [18/Apr/2025:07:25:19 +0800] HP-Laser-MFP-131-133-135-138: 文件“/usr/lib/cups/filter/rastertospl”带有不安全的权限许可 (0100755/uid=1000/gid=1000)。
E [18/Apr/2025:07:25:22 +0800] HP-Laser-MFP-131-133-135-138: 文件“/usr/lib/cups/filter/rastertospl”带有不安全的权限许可 (0100755/uid=1000/gid=1000)。
E [18/Apr/2025:07:25:22 +0800] [Job 33] Unable to start filter "rastertospl" - Success.
E [18/Apr/2025:07:25:22 +0800] [Job 33] Stopping job because the scheduler could not execute a filter.

已解决

这是个链接

lrwxrwxrwx 1 hua hua 42 2022年 9月 1日 /usr/lib/cups/filter/rastertospl -> /opt/hp/uld-common/bin/printer/rastertospl

把链接删了复制成原文件,改属主为 root 后可以正常工作了,先这样吧。

sudo mv /usr/lib/cups/filter/rastertospl /usr/lib/cups/filter/rastertospl_old
sudo cp -a /opt/hp/uld-common/bin/printer/rastertospl /usr/lib/cups/filter/rastertospl

sudo chown root:root /usr/lib/cups/filter/rastertospl

Reply Favorite View the author
All Replies
LiuYongzhang
deepin
2025-04-18 07:57
#1

sudo apt reinstall hplip libssl*

Reply View the author
howardth
deepin
2025-04-18 08:14
#2
LiuYongzhang

sudo apt reinstall hplip libssl*

想不通为什么和用户属主有关,还是个致命错误。

参考了这个 https://blog.csdn.net/qq_41840843/article/details/142112021

这似乎是个巨老的问题,不想了。

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/436544

Reply View the author
乐而后隐(刘军)
deepin
2025-04-23 10:50
#3

初用deepin 25后,连接打印机hp-laser-mfp-136w,用推荐安装驱动,安装成功后,无法打印,提示stopping job because the scheduler could not execute a filter.,我是小白,就使用了楼主的三个命令

sudo apt reinstall hplip

sudo mv /usr/lib/cups/filter/rastertospl /usr/lib/cups/filter/rastertospl_old

sudo cp -a /opt/hp/uld-common/bin/printer/rastertospl /usr/lib/cups/filter/rastertospl

sudo chown root:root /usr/lib/cups/filter/rastertospl

第一次命令很重要,第二、三条执行时可能出错,但第四条一定要执行,后删除原来装的驱动,再次安装推荐驱动,成功打印出测试页。特别感谢楼主分享,也在此记录,方便再次安装此打印机出现同样问题的小白使用🙂

Reply View the author