views:

24

answers:

0

I have a Mac application that supports customising field values programatically for Print dialog. However, I could not find any API in Mac (Cocoa/Carbon) to set the values for printQuality (Best/Normal/Low/Draft), mediaType(Standard/Glossy/Transparent), paperSource or PaperFeed(Auto/Manual/Casette/Env) and outputBin(Auto/Bin1/Bin2). Though I find constants for these fields as : PMQuality, PMPaperType, PMPaperSource, PMPSTraySwitch I am not successful in using them to set the values to printer. I couldn't find which object/dictionary/array can contain these keys to be effective. Can anyone help me ?