Eu baixei um punhado de arquivos PPD para Linux, com a expectativa de que eles funcionem no TrueOS Desktop, que atualmente é baseado no FreeBSD 12.0-CURRENT.
Sei que com a interface da Web para o CUPS - normalmente link - há 'Ou fornecer um arquivo PPD:' com a opção de navegar pelo sistema de arquivos, mas eu prefiro ter o driver listado depois que eu selecionar a marca / fabricante relevante.
Eu experimentei o posicionamento dos arquivos PPD em /usr/local/share/cups/model/other
, onde o diretório other
foi feito por mim.
Sucesso (exemplo abaixo), mas:
[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]%
Selecionando um driver relacionado a um dos quatro arquivos que coloquei em /usr/local/share/cups/model/other
:
Usandoessedriver,umdiálogodeimpressão: