Gra*_*rin 5 freebsd directory cups ppd trueos
我下载了一些适用于 Linux 的 PPD 文件,希望它们能够在 TrueOS\xc2\xa0Desktop 上运行,而 TrueOS\xc2\xa0Desktop 目前基于 FreeBSD\xc2\xa012.0-CURRENT。
\n\n我知道,通过 CUPS \xe2\x80\x93 的 Web 界面,通常为http://localhost:631/ \xe2\x80\x93,其中有“或提供 PPD 文件:\”,其中包含浏览文件系统,但我更喜欢在选择相关制造商/制造商后列出驱动程序。
\n\n我尝试将 PPD 文件放置/usr/local/share/cups/model/other在other我创建的目录
成功(下面的示例),但是:
\n\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups]% ls -l\ntotal 796\ndrwxr-xr-x 2 root wheel 9 30 Oct 14:10 banners\n-rw-r--r-- 1 root wheel 331836 28 Oct 02:33 calibrate.ppm\ndrwxr-xr-x 2 root wheel 5 30 Oct 14:10 charsets\ndrwxr-xr-x 2 root wheel 15 30 Oct 14:10 data\ndrwxr-xr-x 2 root wheel 4 30 Oct 14:10 drv\ndrwxr-xr-x 2 root wheel 13 29 Oct 18:03 examples\ndrwxr-xr-x 2 root wheel 9 30 Oct 14:10 mime\ndrwxr-xr-x 3 root wheel 5 30 Oct 14:14 model\ndrwxr-xr-x 2 root wheel 10 30 Oct 14:10 ppdc\ndrwxr-xr-x 2 root wheel 2 14 Oct 20:33 profiles\ndrwxr-xr-x 7 root wheel 77 29 Oct 18:03 templates\ndrwxr-xr-x 2 root wheel 4 30 Oct 14:10 usb\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups]% cd model\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% ls -l\ntotal 19\n-rw-r--r-- 1 root wheel 20940 5 Oct 22:52 CUPS-PDF.ppd\nlrwxr-xr-x 1 root wheel 39 24 Oct 23:43 foomatic-db-ppds -> /usr/local/share/foomatic/db/source/PPD\ndrwxr-xr-x 3 root wheel 3 30 Oct 14:10 gutenprint\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% sudo mkdir other\nPassword:\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model]% cd other \n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% sudo cp /usr/home/gjp4/Desktop/BH754ePPDLinux_300000000/English/CUPS1.2/* .\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% sudo cp /usr/home/gjp4/Desktop/BHP1250PPDLinux_320/English/CUPS1.2/* .\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% ls -l\ntotal 284\n-rw-r--r-- 1 root wheel 22590 30 Oct 17:39 KO1250opn.ppd\n-rw-r--r-- 1 root wheel 497755 30 Oct 17:39 KO1250UX.ppd\n-rw-r--r-- 1 root wheel 24262 30 Oct 17:39 KO754opn.ppd\n-rw-r--r-- 1 root wheel 199193 30 Oct 17:39 KO754UX.ppd\n[gjp4@momh167-gjp4-hpelitebook850g2-trueos /usr/local/share/cups/model/other]% \nRun Code Online (Sandbox Code Playgroud)\n\n选择与我放置在以下位置的四个文件之一相关的驱动程序/usr/local/share/cups/model/other:
使用该驱动程序,打印对话框:
\n\n\n