Specify the document format for a print job.
#define kPMDocumentFormatDefault CFSTR("com.apple.documentformat.default") #define kPMDocumentFormatPDF CFSTR("application/pdf") #define kPMDocumentFormatPICT CFSTR("application/vnd.apple.printing-pict") #define kPMDocumentFormatPICTPS CFSTR("application/vnd.apple.printing-pict-ps") #define kPMDocumentFormatPostScript CFSTR("application/postscript")
You use these constants with the functions PMSessionSetDocumentFormatGeneration and PMSessionGetDocumentFormatSupported.