RHEL で lpadmin を使用してコマンドラインからプリンターを設定する
Issue
- Red Hat Enterprise Linux でドライバーを提供する lpadmin を使用して、コマンドラインからプリンターを設定するにはどうしたら良いですか?
- シリアルデバイスを指定する印刷キューを追加するコマンドの構文が必要です。
- GUI ツールを使用せずに CUPS (Common UNIX Printing System) プリンターサーバーにプリンターを追加するにはどうしたら良いですか?
- 現在数百の CUPS プリンターが定義されていますが、ソケットと LPD、そしてプリンター名と IP が混在しており、ドライバーも異なります。現在の環境が統一されるのを待っていますが、可能であればコマンドラインで以下の属性を変更または設定する必要があります (その際はスクリプトを作成する予定です)。
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Common Unix Printing System (CUPS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
