FreeBSD의 CUPS: 개별 PPD 파일을 수동으로 배치하는 데 적합한 경로

FreeBSD의 CUPS: 개별 PPD 파일을 수동으로 배치하는 데 적합한 경로

배경

저는 현재 FreeBSD 12.0-CURRENT를 기반으로 하는 TrueOS Desktop에서 작동할 것이라는 기대를 가지고 Linux용 PPD 파일 몇 개를 다운로드했습니다.

저는 CUPS에 대한 웹 인터페이스를 사용한다는 것을 알고 있습니다. 일반적으로http://localhost:631/– 파일 시스템을 찾아볼 수 있는 옵션이 있는 '또는 PPD 파일 제공:'이 있지만 관련 제조사/제조업체를 선택한 후에 드라이버가 나열되는 것을 선호합니다.

성공, 그리고 질문

나는 내가 만든 디렉토리 /usr/local/share/cups/model/other에 PPD 파일을 배치하는 실험을 했습니다 .other

성공(아래 예). 하지만:

  • 나는 알고 싶다다른 경로가 더 적절한지 여부.

[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개의 파일 중 하나와 관련된 드라이버 선택 /usr/local/share/cups/model/other:

드라이버 선택 스크린샷

해당 드라이버를 사용하면 인쇄 대화상자가 다음과 같이 표시됩니다.

인쇄 대화상자 내 필수 옵션의 스크린샷

답변1

귀하의 질문에 대답하려면 귀하가 선택한 디렉토리는 Ok입니다.

이보다 더 적합한 디렉토리는 없습니다.

관련 정보