Carbon


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
);
Parameter descriptions
printSession

A PMPrintSession object.

docFormats

On return, an array of CFString values containing MIME types specifying the available spool file formats.

function result

A result code. A result code. See “Result Codes”.

DISCUSSION

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.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session.

AVAILABILITY

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)