The Carbon Printing Manager interface for applications is defined in the header files PMApplication.h, PMCore.h, and PMDefinitions.h. The Printing Manager interface used on Mac OS 9 and earlier (defined in Printing.h), is not used by Carbon applications.
The following list summarizes the changes you need to be aware of as you convert your existing printing code to use the Carbon Printing Manager. See the Carbon Printing Manager documentation for a detailed discussion of these topics.
The Classic print record (TPrint ) is replaced by two opaque objects: a PMPrintSettings object and a PMPageFormat object. You create these objects using the PMCreatePrintSettings and PMCreatePageFormat functions, which return a reference that you can pass to other Carbon Printing Manager functions to obtain information stored in the objects.
Your application must not make assumptions about the size or content of the PMPrintSettings and PMPageFormat objects. Applications can attach extended data to both these objects using new Carbon Printing Manager functions, but applications must not assume a specific size when storing or retrieving these objects with documents.
The Carbon Printing Manager provides functions for flattening and restoring the PMPrintSettings and PMPageFormat objects. In most cases, your application should store only the PMPageFormat object. If older versions of your application store a Classic print record with a saved document, you may continue to do so for backward compatibility. However, some information may be lost when converting to a Classic print record, due to limitations of the Classic print record structure.
On Mac OS X, Carbon applications can initiate multiple, simultaneous printing tasks. Each printing task is referred to as a session, and each printing session is independent of other printing sessions. On Mac OS 8 and 9, applications are limited to a single printing session.
The Carbon Printing Manager enforces an order in which some routines can be called. Any routine used out of order will return the result code kPMOutOfScope.
The "style" dialog box is now called the Page Setup dialog, and the "job" dialog box is now called the Print dialog.
If your application requires customizing the Page Setup or Print dialogs, you should consider creating a printer dialog extension (PDE). Printer dialog extensions provide more customization capability, and are required to support document-modal dialogs in Mac OS X. For more information, see the document "Extending Printing Dialogs in Mac OS X."
The PrPicFile function and the "deferred" printing style are not supported in Carbon. All print records must use the "draft" style, and printer drivers must perform their own spooling or, on Mac OS 8 and 9, use the Desktop Printer Spooler. See Tech Note 1097 for information about the Desktop Printer Spooler.
Low-level driver functions such as PrLoadDriver are not supported.
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
DisposePMPageSetupDialogInitUPP
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
InvokePMPageSetupDialogInitUPP
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.You should use the function PMCreateSession instead of PMBegin. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionBeginDocument instead of PMBeginDocument. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionBeginPage instead of PMBeginPage. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMCreatePageFormat combined with PMCreatePrintSettings is equivalent to creating a new Classic print record (TPrint). Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMCreatePrintSettings combined with PMCreatePageFormat is equivalent to creating a new Classic Printing Record (TPrint). Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMCreateSession is equivalent to the Classic Printing Manager function PrOpen. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionDefaultPageFormat instead of PMDefaultPageFormat. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionDefaultPrintSettings instead of PMDefaultPrintSettings. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the function PMRelease instead of PMEnd. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionEnd instead of PMEndDocument. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionEndPage instead of PMEndPage. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionError instead of PMError. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionGeneral instead of PMGeneral. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetAdjustedPageRect is equivalent to getting the Classic print record's TPrInfo.rPage field. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetAdjustedPaperRect is equivalent to getting the Classic print record's rPaper field. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.The PMGetCopies function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information formerly stored in the iCopies field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMGetDialogAccepted gives you access to the information formerly contained in the fDoIt field of the Printing Manager structure TPrDlg . Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetDialogDone gives you access to the information formerly contained in the fDone field of the Printing Manager structure TPrDlg . Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetDialogPtr gives you access to the information formerly contained in the dlg field of the Printing Manager structure TPrDlg . Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetDriverCreator function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetDriverReleaseInfo function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information formerly contained in the iPrVersion of the Printing Manager structure TPrint.
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetFirstPage function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information previously stored in the iFstPage field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetGrafPtr function allows access to the pointer formerly stored in the gPort field of the Printing Manager structure TPrPort. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetIndexedPrinterResolution is equivalent to calling the Classic Printing Manager function PrGeneral with the getRslDataOp opcode and indexing into the TGetRslBlk record. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetItemProc is equivalent to setting the TPrDlg.pItemProc field in the Classic Printing Manager. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetLastPage function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information previously stored in the iLstPage field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetModalFilterProc is equivalent to setting the TPrDlg.pFltrProc field in the Classic Printing Manager. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetOrientation function replaces the Printing Manager opcode getRotnOp, and obtains information formerly stored in the lower byte of the wDev field of the Printing Manager structure TPrStl. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMGetPageRange function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information previously stored in the iFstPage and iLstPage fields of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The preferred name of this function has been changed to PMGetUnadjustedPageRect. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The preferred name of this function has been changed to PMGetUnadjustedPaperRect. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMPrinterGetPrinterResolution is recommended instead of PMGetPrinterResolution. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMGetPrinterResolutionCount is equivalent to calling the Classic Printing Manager function PrGeneral with the getRslDataOp opcode. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
PMGetPrintSettingsExtendedData
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.This function replaces the Printing Manager opcode getRslDataOp and allows access to information formerly stored in the iVRes and iHRes fields of the Printing Manager structure TPrInfo. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMIsPostScriptDriver is equivalent to testing the high byte of the Classic print record's TPrStl.wDev field (3 = LaserWriter driver). Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPageSetupDialog instead of PMPageSetupDialog. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPageSetupDialogInit instead of PMPageSetupDialogInit. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPageSetupDialogMain instead of PMPageSetupDialogMain. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMPostScriptBegin is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptBegin picture comment. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.No corresponding Classic Printing Manager function. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMPostScriptEnd corresponds to calling the Classic Printing Manager function PicComment with the PostScriptEnd picture comment. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMPostScriptFile is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptFile picture comment. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMPostScriptHandle is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptHandle picture comment. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPrintDialog instead of PMPrintDialog. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPrintDialogInit instead of PMPrintDialogInit. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
PMPrintDialogInitWithPageFormat
PMPrintDialogInitWithPageFormat is equivalent to the Classic Printing Manager function PrJobInit.. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionPrintDialogMain instead of PMPrintDialogMain. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.For Classic printer drivers that support the PrGeneral opcode kPrinterDirectOpCode, PMPrinterGetDriverCreator provides functionality equivalent to calling PrGeneral, passing in the kPDVerifySelect selector to obtain the driver's creator type and version. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.For Classic printer drivers that support the PrGeneral opcode kPrinterDirectOpCode, PMPrinterGetDriverReleaseInfo provides functionality equivalent to calling PrGeneral, passing in the kPDVerifySelect selector to obtain the driver's creator type and version. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMPrinterGetIndexedPrinterResolution
PMPrinterGetIndexedPrinterResolution is equivalent to calling the Classic Printing Manager function PrGeneral with the getRslDataOp opcode and obtaining a value from the TGetRslBlk record. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMPrinterGetPrinterResolutionCount
PMPrinterGetPrinterResolutionCount is equivalent to calling the Classic Printing Manager function PrGeneral with the getRslDataOp opcode. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMRelease is equivalent to the Classic Printing Manager function PrClose when the parameter is a PMPrintSession object and its reference count is zero. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionBeginDocument is equivalent to the Classic Printing Manager function PrOpenDoc. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionBeginPage is equivalent to the Classic Printing Manager function PrOpenPage. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMSessionConvertOldPrintRecord
Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMSessionCopyDestinationFormat
Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.
PMSessionCopyDestinationLocation
Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.Not available in CarbonLib. Available in Mac OS X 10.0 and later.Not available in CarbonLib. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.4 and later. Available in Mac OS X 10.0 and later.PMSessionDefaultPageFormat combined with PMSessionDefaultPrintSettings is equivalent to the Classic Printing Manager function PrintDefault. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionDefaultPrintSettings combined with PMSessionDefaultPageFormat is equivalent to the Classic Printing Manager function PrintDefault. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionDisableColorSync is equivalent to calling the Classic Printing Manager function PicComment with the CMDisableMatching picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionEnableColorSync is equivalent to calling the Classic Printing Manager function PicComment with the CMEnableMatching picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionEndDocument is equivalent to the Classic Printing Manager function PrCloseDoc. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionEndPage is equivalent to the Classic Printing Manager function PrClosePage. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Because all Carbon Printing Manager functions return a result code, the PMSessionError function is not required for general error checking, but can be used in your print loop to determine if the user canceled a print job.
PMSessionError is equivalent to the Classic Printing Manager function PrError. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.
PMSessionGetDocumentFormatGeneration
Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMSessionGetDocumentFormatSupported
Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionGetGraphicsContext is equivalent to accessing the Classic Printing Manager's TPrPort.gPort field. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMSessionIsDocumentFormatSupported
Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPageSetupDialog is equivalent to the Classic Printing Manager function PrStlDialog. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPageSetupDialogInit is equivalent to the Classic Printing Manager function PrStlInit. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPageSetupDialogMain is equivalent to the Classic Printing Manager function PrDlgMain. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPostScriptBegin is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptBegin picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPostScriptEnd is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptEnd picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPostScriptFile is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptFile picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPostScriptHandle is equivalent to calling the Classic Printing Manager function PicComment with the PostScriptHandle picture comment. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPrintDialog is equivalent to the Classic Printing Manager function PrJobDialog. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPrintDialog is equivalent to the Classic Printing Manager function PrJobInit. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionPrintDialogMain is equivalent to the Classic Printing Manager function PrDlgMain. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.4 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.5 and later. Available in Mac OS X 10.0 and later.
PMSessionSetDocumentFormatGeneration
Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionSetError is equivalent to the Classic Printing Manager function PrSetError. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.PMSessionSetIdleProc is equivalent to setting the TPrJob.pIdleProc field in the Classic print record (TPrint). Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available on Mac OS X only. Sheets are not supported by CarbonLib on Mac OS 8 or 9. Available in CarbonLib 1.2 and later. Available in Mac OS X 10.0 and later.PMSessionValidatePageFormat combined with PMSessionValidatePrintSettings is equivalent to the Classic Printing Manager function PrValidate. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.
PMSessionValidatePrintSettings
PMSessionValidatePrintSettings combined with PMSessionValidatePageFormat is equivalent to the Classic Printing Manager function PrValidate. Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.The PMSetCopies function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information formerly stored in the iCopies field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMSetDialogAccepted lets you set information formerly contained in the fDoIt field of the Printing Manager structure TPrDlg . Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMSetDialogDone lets you set information formerly contained in the fDone field of the Printing Manager structure TPrDlg. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionSetError instead of PMSetError. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later. The PMSetFirstPagefunction replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information previously stored in the iFstPage field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMSetIdleProc is equivalent to setting the TPrJob.pIdleProc field in the Classic print record (TPrint). Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMSetItemProc function allows you to set the pointer previously contained in the pItemProc field of the Printing Manager function TPrDlg. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.The PMSetLastPagefunction replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information previously stored in the iLstPage field of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMSetModalFilterProc is equivalent to setting the TPrDlg.pFltrProc field in the Classic Printing Manager. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMSetOrientation function replaces the Printing Manager opcode getRotnOp, and sets information formerly stored in the lower byte of the wDev field of the Printing Manager structure TPrStl. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The PMSetPageRangefunction replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information previously stored in the iFstPage and iLstPage fields of the Printing Manager structure TPrJob. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.The preferred name of this function has been changed to PMSetUnadjustedPaperRect. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.
PMSetPrintSettingsExtendedData
Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.PMSetProfile is equivalent to calling the Classic Printing Manager function PicComment with the CMBeginProfile picture comment. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.This function replaces the Printing Manager opcode getRslDataOp and allows you to change information formerly stored in the iVRes and iHRes fields of the Printing Manager structure TPrInfo. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.1 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPMSessionValidatePageFormat instead of PMValidatePageFormat. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.You should use the functionPPMSessionValidatePrintSettings instead of PMValidatePrintSettings. Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.