CUPS on FreeBSD: suitable paths for manual placement of individual PPD files
Clash Royale CLAN TAG#URR8PPP
Background
I downloaded a handful of PPD files for Linux, with an expectation that they will work on TrueOS Desktop, which is currently based on FreeBSD 12.0-CURRENT.
I know that with the web interface to CUPS – typically http://localhost:631/ – there's 'Or Provide a PPD File:' with the option to browse the file system, but I prefer to have the driver listed after I select the relevant make/manufacturer.
Success, and the question
I experimented with placement of the PPD files at /usr/local/share/cups/model/other
where the other
directory was made by me.
Success (example below), but:
- I'd like to know whether a different path would be more appropriate.
Example
[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]%
Selecting a driver that relates to one of the four files that I placed at /usr/local/share/cups/model/other
:
Using that driver, a print dialogue:
freebsd directory cups ppd trueos
add a comment |
Background
I downloaded a handful of PPD files for Linux, with an expectation that they will work on TrueOS Desktop, which is currently based on FreeBSD 12.0-CURRENT.
I know that with the web interface to CUPS – typically http://localhost:631/ – there's 'Or Provide a PPD File:' with the option to browse the file system, but I prefer to have the driver listed after I select the relevant make/manufacturer.
Success, and the question
I experimented with placement of the PPD files at /usr/local/share/cups/model/other
where the other
directory was made by me.
Success (example below), but:
- I'd like to know whether a different path would be more appropriate.
Example
[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]%
Selecting a driver that relates to one of the four files that I placed at /usr/local/share/cups/model/other
:
Using that driver, a print dialogue:
freebsd directory cups ppd trueos
add a comment |
Background
I downloaded a handful of PPD files for Linux, with an expectation that they will work on TrueOS Desktop, which is currently based on FreeBSD 12.0-CURRENT.
I know that with the web interface to CUPS – typically http://localhost:631/ – there's 'Or Provide a PPD File:' with the option to browse the file system, but I prefer to have the driver listed after I select the relevant make/manufacturer.
Success, and the question
I experimented with placement of the PPD files at /usr/local/share/cups/model/other
where the other
directory was made by me.
Success (example below), but:
- I'd like to know whether a different path would be more appropriate.
Example
[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]%
Selecting a driver that relates to one of the four files that I placed at /usr/local/share/cups/model/other
:
Using that driver, a print dialogue:
freebsd directory cups ppd trueos
Background
I downloaded a handful of PPD files for Linux, with an expectation that they will work on TrueOS Desktop, which is currently based on FreeBSD 12.0-CURRENT.
I know that with the web interface to CUPS – typically http://localhost:631/ – there's 'Or Provide a PPD File:' with the option to browse the file system, but I prefer to have the driver listed after I select the relevant make/manufacturer.
Success, and the question
I experimented with placement of the PPD files at /usr/local/share/cups/model/other
where the other
directory was made by me.
Success (example below), but:
- I'd like to know whether a different path would be more appropriate.
Example
[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]%
Selecting a driver that relates to one of the four files that I placed at /usr/local/share/cups/model/other
:
Using that driver, a print dialogue:
freebsd directory cups ppd trueos
freebsd directory cups ppd trueos
edited Oct 30 '16 at 19:58
asked Oct 30 '16 at 19:13
Graham Perrin
220122
220122
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
To answer your question: the directory you chose is Ok.
There is no other directory which is more appropriate.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319948%2fcups-on-freebsd-suitable-paths-for-manual-placement-of-individual-ppd-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To answer your question: the directory you chose is Ok.
There is no other directory which is more appropriate.
add a comment |
To answer your question: the directory you chose is Ok.
There is no other directory which is more appropriate.
add a comment |
To answer your question: the directory you chose is Ok.
There is no other directory which is more appropriate.
To answer your question: the directory you chose is Ok.
There is no other directory which is more appropriate.
answered Dec 18 at 21:45
Kurt Pfeifle
47038
47038
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319948%2fcups-on-freebsd-suitable-paths-for-manual-placement-of-individual-ppd-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown