Developer --> Technical Publications

     


Document Format Strings

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")
Constant descriptions
kPMDocumentFormatDefault
Specifies the default format for the current printer driver.
kPMDocumentFormatPDF
Specifies PDF format.
kPMDocumentFormatPICT
Specifies PICT format.
kPMDocumentFormatPICTPS
Specifies PICT format with embedded PostScript.
kPMDocumentFormatPostScript
Specifies PostScript format.
Discussion

You use these constants with the functions PMSessionSetDocumentFormatGeneration and PMSessionGetDocumentFormatSupported.


© 2000 Apple Computer, Inc. (Last Updated 13 July 00)