デフォルトのlprフィルタを一覧表示するには?

デフォルトのlprフィルタを一覧表示するには?

(または)オプションを使用してlprデフォルトのフィルタを削除できます。しかし、どのようにリストできますか?-l-o raw

(FWIW私はlprcup-client 1:2.2.6-15.fc28、Fedoraを使用しています。)

ベストアンサー1

これが最も満足のいく解決策ではありませんが、設定

LogLevel info

ジョブが送信された後/etc/cups/cupsd.conf(たとえば、CUPSを再起動するとsudo systemctl restart cups)、フィルタはCUPSログに一覧表示されます。

CUPSログ(少なくとも28個)はFedoraによってデフォルトで処理され、以下journaldからアクセスできます。

$ journalctl -b -u cups
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Adding start banner page "none".
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Queued on "Brother_MFC-9330CDW" by "goug".
juil. 23 15:31:56 Schenker cupsd[14390]: REQUEST localhost - - "POST /printers/Brother_MFC-9330CDW HTTP/1.1" 200 358 Create-Job successful-ok
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] File of type application/pdf queued by "goug".
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Adding end banner page "none".
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Started filter /usr/lib/cups/filter/pdftopdf (PID 14599)
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Started filter /usr/lib/cups/filter/pdftops (PID 14600)
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Started filter /usr/lib/cups/filter/brother_lpdwrapper_mfc9330cdw (PID 14601)
juil. 23 15:31:56 Schenker cupsd[14390]: [Job 20] Started backend /usr/lib/cups/backend/dnssd (PID 14602)
juil. 23 15:31:56 Schenker cupsd[14390]: REQUEST localhost - - "POST /printers/Brother_MFC-9330CDW HTTP/1.1" 200 40108 Send-Document successful-ok
juil. 23 15:31:59 Schenker cupsd[14390]: [Job 20] Job completed.
juil. 23 15:31:59 Schenker cupsd[14390]: Expiring subscriptions...

注:オプションは便利-fですjournalctl

おすすめ記事