Carbon


PMSessionIsDocumentFormatSupported

Header: PMCore.h Carbon status: Supported

Reports whether the current printer driver supports a specified spool file format.

OSStatus PMSessionIsDocumentFormatSupported (
    PMPrintSession printSession, 
    CFStringRef docFormat, 
    Boolean *supported
);
Parameter descriptions
printSession

A PMPrintSession object.

docFormat

A spool file format represented by a MIME type.

supported

Returns true if the spool file format is supported by the current printer driver.

function result

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

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)