Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting an App PDE into a PPD PDE



I have an application based PDE which I started from the BasicPrintLoop PDE
sample code. It works as it should there -- only completing the initialize
call when it sees the PPD it can affect, etc. It has the required
PMPPDKeysSupported keyword in its info.plist with a couple nonsense values
so it shouldn't be getting stripped because of collisions.

I started one from PDEProject instead, but same principle. In the Info.plist I put keys for both Print dialog application pane and printer module pane, so it works either way:

<key>CFPlugInFactories</key>
<dict>
<key>UUUUUUUU-UUUU-UUUU-UUUU-UUUUUUUUUUUU</key>
<string>FFFFFFFFFFFFFFF</string>
</dict>
<key>CFPlugInTypes</key>
<dict>
<key>BCB07250-E57F-11D3-8CA6-0050E4603277</key>
<array>
<string>UUUUUUUU-UUUU-UUUU-UUUU-UUUUUUUUUUUU</string>
</array>
<key>BDB091F4-E57F-11D3-B5CC-0050E4603277</key>
<array>
<string>UUUUUUUU-UUUU-UUUU-UUUU-UUUUUUUUUUUU</string>
</array>
</dict>

where:
UUUUUUUU-UUUU-UUUU-UUUU-UUUUUUUUUUUU is my unique UUID [from 'uuidgen']
FFFFFFFFFFFFFFF is my factory name

It doesn't seem to load when I moved it to "/Library/Printers/PPD Plugins"
even though the correct PPD is selected.

I don't recall anything else I had to do to get the PDE to work from "/Library/Printers/PPD Plugins" once it was working in the test application. Are you sure the selected printer is considered a PostScript printer? If not, that won't stop the PDE from loading in the case of the test application.

Michael
--
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >Converting an App PDE into a PPD PDE (From: "Jim O'Connor" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.