FreeBSDのCUPS:個々のPPDファイルへの適切なパスを手動で配置

FreeBSDのCUPS:個々のPPDファイルへの適切なパスを手動で配置

背景

現在、FreeBSD 12.0-CURRENTに基づくTrueOS Desktopで実行されることを望み、Linux用のPPDファイルをダウンロードしました。

私はCUPSのWebインターフェースを通してそれを知っています。一般的にhttp://localhost:631/- ファイルシステムを参照するオプションがある「またはPPDファイルを提供する」がありますが、関連する製造元/製造元を選択した後にドライバが一覧表示されることを好みます。

成功、まだ問題が残っている

私が作成したディレクトリにPPDファイルを入れてみました/usr/local/share/cups/model/otherother

成功(以下はい)。しかし:

  • 知りたい他のルートはより適切ですか?

はい

[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups]% ls -l
total 796
drwxr-xr-x  2 root  wheel       9 30 Oct 14:10 banners
-rw-r--r--  1 root  wheel  331836 28 Oct 02:33 calibrate.ppm
drwxr-xr-x  2 root  wheel       5 30 Oct 14:10 charsets
drwxr-xr-x  2 root  wheel      15 30 Oct 14:10 data
drwxr-xr-x  2 root  wheel       4 30 Oct 14:10 drv
drwxr-xr-x  2 root  wheel      13 29 Oct 18:03 examples
drwxr-xr-x  2 root  wheel       9 30 Oct 14:10 mime
drwxr-xr-x  3 root  wheel       5 30 Oct 14:14 model
drwxr-xr-x  2 root  wheel      10 30 Oct 14:10 ppdc
drwxr-xr-x  2 root  wheel       2 14 Oct 20:33 profiles
drwxr-xr-x  7 root  wheel      77 29 Oct 18:03 templates
drwxr-xr-x  2 root  wheel       4 30 Oct 14:10 usb
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups]% cd model
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% ls -l
total 19
-rw-r--r--  1 root  wheel  20940  5 Oct 22:52 CUPS-PDF.ppd
lrwxr-xr-x  1 root  wheel     39 24 Oct 23:43 foomatic-db-ppds -> /usr/local/share/foomatic/db/source/PPD
drwxr-xr-x  3 root  wheel      3 30 Oct 14:10 gutenprint
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% sudo mkdir other
Password:
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% cd other 
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% sudo cp /usr/home/gjp4/Desktop/BH754ePPDLinux_300000000/English/CUPS1.2/* .
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% sudo cp /usr/home/gjp4/Desktop/BHP1250PPDLinux_320/English/CUPS1.2/* .
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% ls -l
total 284
-rw-r--r--  1 root  wheel   22590 30 Oct 17:39 KO1250opn.ppd
-rw-r--r--  1 root  wheel  497755 30 Oct 17:39 KO1250UX.ppd
-rw-r--r--  1 root  wheel   24262 30 Oct 17:39 KO754opn.ppd
-rw-r--r--  1 root  wheel  199193 30 Oct 17:39 KO754UX.ppd
[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% 

私が配置した4つのファイルのうちの1つに関連するドライバを選択してください/usr/local/share/cups/model/other

ドライバー選択スクリーンショット

このドライバを使用してダイアログを印刷します。

印刷ダイアログボックスの必須オプションのスクリーンショット

ベストアンサー1

あなたの質問に答えるために、あなたが選んだディレクトリをお勧めします。

適切なディレクトリがありません

おすすめ記事