![]() |
PMSessionSetDocumentFormatGeneration |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Requests a specified spool file format and identifies the graphics contexts that will be used to draw pages within the print loop.
OSStatus PMSessionSetDocumentFormatGeneration ( PMPrintSession printSession, CFStringRef docFormat, CFArrayRef graphicsContexts, CFTypeRef options );
A PMPrintSession object.
Your desired spool file format, specified as a MIME type in a CFString. See Document Format Strings for a description of the constants you can use to specify the document format.
An array of graphics contexts that will be used to draw pages within the print loop.
Reserved for future use.
A result code. A result code. See
The only graphics context currently available to Carbon applications is QuickDraw (kPMGraphicsContextQuickdraw). Before requesting a spool file format using this function, you should call the function PMSessionGetDocumentFormatGeneration to get the list of supported formats.
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)