[problem help] 打印机驱动属性不能修改,造成打印失败
Tofloor
poster avatar
Zyx丶心
deepin
2023-09-18 04:27
Author

无论是系统自带的驱动,还是自己下的PPD文件,并放到/usr/share/cups/model目录下,在使用 dde-printer 添加打印机后,修改打印机属性,都无法保存,并提示如下报错信息。而打印机必须要黑白打印,不能彩色打印,造成打印失败。

请问大佬们,这个问题该咋解决。报错日志如下:

使用系统自带的驱动:

2023-09-17, 20:09:26.402 [Info] [addprinter.cpp       AddPrinterFactory::createAddPrinterTask 816] add printer task: QVariant(Invalid) "openprinting-ppds:0/ppd/openprinting/Ricoh/PXL/Ricoh-MP_C3503_PXL.ppd"
2023-09-17, 20:09:26.486 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 
2023-09-17, 20:09:26.486 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 1
2023-09-17, 20:09:26.487 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 2
2023-09-17, 20:09:27.963 [Info] [zdrivermanager.cpp   DriverManager::getDriverDepends     1061] openprinting-ppds:0/ppd/openprinting/Ricoh/PXL/Ricoh-MP_C3503_PXL.ppd ()
2023-09-17, 20:09:27.963 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 3
2023-09-17, 20:09:27.963 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 4
2023-09-17, 20:09:27.967 [Warning] [  ] QXcbConnection: XCB error: 3 (BadWindow), sequence: 6008, resource id: 6873481, major code: 40 (TranslateCoords), minor code: 0
2023-09-17, 20:09:29.545 [Info] [addprinter.cpp       DefaultAddPrinter::slotProcessFinished 497] 0 QProcess::NormalExit
2023-09-17, 20:09:29.545 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 5
2023-09-17, 20:09:32.558 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent
2023-09-17, 20:09:36.264 [Warning] [dprinter.cpp         DPrinter::saveModify                791] Got execpt:  "ipp error(1030, 没有那个文件或目录)"
2023-09-17, 20:09:38.062 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent
2023-09-17, 20:09:45.577 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent
2023-09-17, 20:09:48.578 [Warning] [dprinter.cpp         DPrinter::saveModify                791] Got execpt:  "ipp error(1030, 没有那个文件或目录)"
2023-09-17, 20:09:48.670 [Warning] [  ] QXcbConnection: XCB error: 3 (BadWindow), sequence: 10367, resource id: 6874596, major code: 40 (TranslateCoords), minor code: 0
2023-09-17, 20:09:49.663 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent

使用自己下载的PPD驱动文件:

2023-09-17, 20:12:13.254 [Info] [addprinter.cpp       AddPrinterFactory::createAddPrinterTask 816] add printer task: QVariant(int, 1) "/home/03.software/02.Packages/10.系统管理/drivce-cups/Ricoh-MP_C3503-PDF-Ricoh.ppd"
2023-09-17, 20:12:13.396 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 
2023-09-17, 20:12:13.397 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 1
2023-09-17, 20:12:13.398 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 2
2023-09-17, 20:12:13.404 [Info] [zdrivermanager.cpp   DriverManager::getDriverDepends     1061] /home/03.software/02.Packages/10.系统管理/drivce-cups/Ricoh-MP_C3503-PDF-Ricoh.ppd ()
2023-09-17, 20:12:13.405 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 3
2023-09-17, 20:12:13.405 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 4
2023-09-17, 20:12:13.545 [Info] [addprinter.cpp       DefaultAddPrinter::slotProcessFinished 497] 0 QProcess::NormalExit
2023-09-17, 20:12:13.545 [Info] [addprinter.cpp       AddPrinterTask::nextStep            605] 5
2023-09-17, 20:12:16.365 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent
2023-09-17, 20:12:19.759 [Warning] [dprinter.cpp         DPrinter::saveModify                791] Got execpt:  "ipp error(1030, 没有那个文件或目录)"
2023-09-17, 20:12:21.237 [Warning] [  ] QObject::moveToThread: Cannot move objects with a parent
2023-09-17, 20:15:24.206 [Warning] [  ] QXcbConnection: XCB error: 3 (BadWindow), sequence: 15307, resource id: 6879591, major code: 40 (TranslateCoords), minor code: 0
2023-09-17, 20:15:29.136 [Info] [ztaskinterface.cpp   TaskInterface::run                  63] Task  Refresh devices by host  running...
2023-09-17, 20:15:33.196 [Warning] [common.cpp           shellCmd                            241] shellCmd timeout
2023-09-17, 20:15:33.197 [Info] [ztaskinterface.cpp   TaskInterface::run                  75] Task  Refresh devices by host  finished  0
2023-09-17, 20:15:33.202 [Info] [ztaskinterface.cpp   TaskInterface::~TaskInterface       35] Refresh devices by host
2023-09-17, 20:15:33.203 [Info] [ztaskinterface.cpp   TaskInterface::stop                 43] Stop task  Refresh devices by host
Reply Favorite View the author
All Replies
Zyx丶心
deepin
2023-09-18 04:34
#1

我现在只能通过手动修改PPD文件,临时解决该问题,我好难啊😂

Reply View the author
晚秋(lateautumn)
Moderator
2023-09-18 05:02
#2

打印机在linux系统下,与瘟疫系统确实差距很大。

Reply View the author
dgmenghuan
deepin
2023-09-18 15:38
#3

还有待成熟呀

Reply View the author