Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Sample Printing Presets File

“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>


< Previous PageNext Page > Hide TOC


Last updated: 2005-07-07




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice