![]() |
PMSessionGetDocumentFormatGeneration |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the spool file formats that can be generated by the print spooler.
OSStatus PMSessionGetDocumentFormatGeneration ( PMPrintSession printSession, CFArrayRef *docFormats );
A PMPrintSession object.
On return, an array of CFString values containing MIME types specifying the available spool file formats.
A result code. A result code. See
Spool file formats are represented by MIME types. The formats supported on Mac OS 8 and 9 are PICT and PICT+PS. The Mac OS X print spooler supports PDF, PS, PICT, and PICT+PS.
On Mac OS 8 and 9, the spool file format is determined by the current printer driver, which is PICT+PS for all PostScript drivers and PICT for all other drivers. On Mac OS X the default spool file format is PDF.
Valid within the context of a printing session.
Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)