“Listing 1-1” shows a sample printing presets file. You can find other examples of properly formatted printing preset files in the this directory:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Resources/
You can use the PropertyListEditor application to view the files.
Listing 1-1 A sample printing presets file.
<?xml version="1.0" encoding="UTF-8"?> |
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> |
<plist version="0.9"> |
<array> |
<dict> |
<key>com.apple.print.preset.id</key> |
<string>Photo on Plain Paper</string> |
<key>com.apple.print.preset.graphicsType</key> |
<string>Photo</string> |
<key>com.apple.print.preset.quality</key> |
<string>mid</string> |
<key> media-front-coating </key> |
<string>none</string> |
<key>com.apple.print.preset.settings</key> |
<dict> |
<key>com.xx.setting.A1</key> |
<integer>0</integer> |
<key>com.xx.setting.A2</key> |
<string>plain-12bond</string> |
</dict> |
</dict> |
<dict> |
<key>com.apple.print.preset.id</key> |
<string>Photo on Matte Paper</string> |
<key>com.apple.print.preset.graphicsType</key> |
<string>Photo</string> |
<key>com.apple.print.preset.quality</key> |
<string>mid</string> |
<key> media-front-coating </key> |
<string>matte</string> |
<key>com.apple.print.preset.settings</key> |
<dict> |
<key>com.xx.setting.A1</key> |
<integer>21</integer> |
<key>com.xx.setting.A2</key> |
<string>32 bump</string> |
</dict> |
</dict> |
</array> |
</plist> |
Last updated: 2005-07-07