私は、lprコマンドを使用してリモートコンピュータからネットワークプリンタにいくつかのファイルを印刷しています。明らかに動作しますが、数分後にlpstatまたはlpqと入力すると、ジョブが消えてファイルが印刷された可能性があります。プリンタキューで正常に完了したジョブの履歴またはログを確認する方法はありますか?
ベストアンサー1
はい、プログラムがあります:lpstat
- カップステータス情報の印刷
$ lpstat -W completed
-W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler.
または必要に応じてWebページ:
https://localhost:631/printers/[NameOfPrinter]?which_jobs=completed
http://localhost:631/jobs?which_jobs=completed
フレンドリーな安否