佳能 MG4150 無線印表機不會新增至 Ubuntu 17.10

佳能 MG4150 無線印表機不會新增至 Ubuntu 17.10

運行 Ubuntu 17.10,起初印表機新增沒有太多問題。由於其他問題,我重新安裝了 Ubuntu,現在它突然無法新增印表機,我收到錯誤「無法新增印表機」。

在終端機中使用 system-config-printer 會導致以下結果:

(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_insert_after: assertion 'G_NODE (sibling->user_data)->parent == G_NODE (parent->user_data)' failed

(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed

(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed
Caught non-fatal exception.  Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 4227, in getNPPPD
ppd = cups.PPD(f)
RuntimeError: ppdOpenFile failed

我嘗試過其他建議,例如安裝 ppa:inameiname,由於其他問題(未經身份驗證的軟體包...),這也不起作用

答案1

嘗試透過cups的網路介面設定您的印表機:

http://本地主機:631

你也可以檢查你的系統 python 版本,可能安裝了多個版本。

相關內容