![]() |
PMSessionGetDocumentFormatSupported |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the spool file formats that are accepted by the current printer driver.
OSStatus PMSessionGetDocumentFormatSupported ( PMPrintSession printSession, CFArrayRef *docFormats, UInt32 limit );
A PMPrintSession object.
On return, an array of CFString values containing MIME types specifying the spool file formats supported by the current printer driver. See Document Format Strings for a description of possible return values.
The maximum number of supported document formats to be returned.
A result code. A result code. See
Spool file formats are represented by MIME types. On Mac OS 8 and 9, raster printers accept only PICT spool files, PostScript printer drivers accept PICT and PICT+PS spool files. On Mac OS X, printer modules may support a wide range of spool file formats. The first item in the list of supported spool file formats is the default for the current printer driver.
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)