From: JF Mezei on
billy(a)MIX.COM wrote:
>
> http://developer.apple.com/documentation/Printing/Conceptual/UsingPPDFiles/ppd_intro/chapter_1_section_1.html
>
> Or, if you have the Developer's package installed on your computer,
> just search for the UsingPPDFiles folder, open it and click on the
> index.html file inside it.


Thanks for the pointer. Will go through this.
From: JF Mezei on
Just for the sake of documenting my problem...

The PPD I was using was a version 4.1 PPD. CUPS/OS-X want a PPD version 4.3

There is a web page on the CUPS web site that can validate a PPD file to
4.3 http://www.cups.org/testppd.php as well as the cupstestppd utility
that is on the Mac.

Turns out I was missing an "Default" on a page settings option and
spurrious "display printer settings" code was being added.

Still struggling with a few issues. The PPD does appear in the Mac
System Preferences (had to add a "*Manufacturer" field to the PPD, but
it doesn't yet show up on the CUPS web interface)

And they sure found a deep location for them PPDs on OS-X...

/Library/Printers/PPDs/Contents/Resources/en.lproj

(wonders why they didn't put the language specific directories directly
under PPDs instead of being 2 levels below)
From: JF Mezei on
Another question:

The CUPS web interface (port 631 of the local host) does not seem to see
the PPDs located in:

/Library/Printers/PPDs/Contents/Resources/en.lproj


It does seem to see those located in:

/usr/share/cups/model/



When you go to configure a printer on the web interface, the list of
manufacturers is restrained to PPDs locatred in the
/usr/share/cups/model directory.

But if I place my PPD on both the /library and /usr PPD directories,
the APPLE GUI (in the printer setup sub application invoked by the
system preferences) will show me 2 identical PPDs.


Question:

The documentation on the Apple site (that someone pointed to in this
thread) mentioned the /Library PPD directory, as well as the PPD folder
in the Classic "System Folder".

Does it also officially see the PPDs in the /usr location ?

Or are we expected to maintain 2 copies of a PPD, one in the /LIBRARY
and the other in the /USR locations ?
From: Matt Broughton on
In article <481ee11d$0$20540$c3e8da3(a)news.astraweb.com>,
JF Mezei <jfmezei.spamnot(a)vaxination.ca> wrote:

> Another question:
>
> The CUPS web interface (port 631 of the local host) does not seem to see
> the PPDs located in:
>
> /Library/Printers/PPDs/Contents/Resources/en.lproj
>
>
> It does seem to see those located in:
>
> /usr/share/cups/model/
>
>
>
> When you go to configure a printer on the web interface, the list of
> manufacturers is restrained to PPDs locatred in the
> /usr/share/cups/model directory.
>
> But if I place my PPD on both the /library and /usr PPD directories,
> the APPLE GUI (in the printer setup sub application invoked by the
> system preferences) will show me 2 identical PPDs.
>
>
> Question:
>
> The documentation on the Apple site (that someone pointed to in this
> thread) mentioned the /Library PPD directory, as well as the PPD folder
> in the Classic "System Folder".
>
> Does it also officially see the PPDs in the /usr location ?
>
> Or are we expected to maintain 2 copies of a PPD, one in the /LIBRARY
> and the other in the /USR locations ?

What you are describing in "normal" behavior for OS X 10.2.x through OS
X 10.4.x. The Apple GUI has always seen PPDs in /Library and
/usr/share/cups/model. The web interface for CUPS in OS X 10.2.x
through OS X 10.4.x will only see the PPDs in /usr/share/cups/model.
The integration was definitely not complete.

In OS X 10.5.x, the web interface and the Apple GUI will see the PPDs in
both locations.

--
Matt Broughton
Only relatives are absolute.
From: JF Mezei on
Matt Broughton wrote:

> In OS X 10.5.x, the web interface and the Apple GUI will see the PPDs in
> both locations.


Thanks. So not worth reporting to Apple then. I can live with one or two
PPDs duplicated.