Core Printing Reference
PDF
Overview
Functions by Task
Releasing and Retaining Printing Objects
Creating and Using Page Format Objects
Accessing Data in Page Format Objects
Creating and Using Print Settings Objects
Accessing Data in Print Settings Objects
Creating Printing Session Objects
Accessing Data in Printing Session Objects
Using Printer Presets
Creating and Using Paper Objects
Accessing Data in Paper Objects
Print Loop Functions
Accessing the Print Job Destination
Creating Printer Objects
Accessing Information About a Printer
Submitting a Print Job to a Printer
Accessing PostScript Printer Description Files
Printing with PostScript Data
Using PDF Workflow Items
Matching Color With ColorSync
Converting and Saving Old Print Records
Creating, Calling, and Deleting Universal Procedure Pointers
Legacy Core Printing Functions
Functions
PMCGImageCreateWithEPSDataProvider
PMCopyAvailablePPDs
PMCopyLocalizedPPD
PMCopyPageFormat
PMCopyPPDData
PMCopyPrintSettings
PMCreateGenericPrinter
PMCreatePageFormat
PMCreatePageFormatWithPMPaper
PMCreatePrintSettings
PMCreateSession
PMGetAdjustedPageRect
PMGetAdjustedPaperRect
PMGetCollate
PMGetCopies
PMGetDuplex
PMGetFirstPage
PMGetLastPage
PMGetOrientation
PMGetPageFormatExtendedData
PMGetPageFormatPaper
PMGetPageRange
PMGetPrintSettingsExtendedData
PMGetScale
PMGetUnadjustedPageRect
PMGetUnadjustedPaperRect
PMPageFormatCreateDataRepresentation
PMPageFormatCreateWithDataRepresentation
PMPageFormatGetPrinterID
PMPaperCreateCustom
PMPaperCreateLocalizedName
PMPaperGetHeight
PMPaperGetID
PMPaperGetMargins
PMPaperGetName
PMPaperGetPPDPaperName
PMPaperGetPrinterID
PMPaperGetWidth
PMPaperIsCustom
PMPresetCopyName
PMPresetCreatePrintSettings
PMPresetGetAttributes
PMPrinterCopyDescriptionURL
PMPrinterCopyDeviceURI
PMPrinterCopyHostName
PMPrinterCopyPresets
PMPrinterCreateFromPrinterID
PMPrinterGetCommInfo
PMPrinterGetDriverCreator
PMPrinterGetDriverReleaseInfo
PMPrinterGetID
PMPrinterGetIndexedPrinterResolution
PMPrinterGetLanguageInfo
PMPrinterGetLocation
PMPrinterGetMakeAndModelName
PMPrinterGetMimeTypes
PMPrinterGetName
PMPrinterGetOutputResolution
PMPrinterGetPaperList
PMPrinterGetPrinterResolutionCount
PMPrinterGetState
PMPrinterIsDefault
PMPrinterIsFavorite
PMPrinterIsPostScriptCapable
PMPrinterIsPostScriptPrinter
PMPrinterIsRemote
PMPrinterPrintWithFile
PMPrinterPrintWithProvider
PMPrinterSetDefault
PMPrinterSetOutputResolution
PMPrinterWritePostScriptToURL
PMPrintSettingsCopyAsDictionary
PMPrintSettingsCopyKeys
PMPrintSettingsCreateDataRepresentation
PMPrintSettingsCreateWithDataRepresentation
PMPrintSettingsGetJobName
PMPrintSettingsGetValue
PMPrintSettingsSetJobName
PMPrintSettingsSetValue
PMPrintSettingsToOptions
PMPrintSettingsToOptionsWithPrinterAndPageFormat
PMRelease
PMRetain
PMServerCreatePrinterList
PMServerLaunchPrinterBrowser
PMSessionBeginCGDocumentNoDialog
PMSessionBeginPageNoDialog
PMSessionCopyDestinationFormat
PMSessionCopyDestinationLocation
PMSessionCopyOutputFormatList
PMSessionCreatePageFormatList
PMSessionCreatePrinterList
PMSessionDefaultPageFormat
PMSessionDefaultPrintSettings
PMSessionEndDocumentNoDialog
PMSessionEndPageNoDialog
PMSessionError
PMSessionGetCGGraphicsContext
PMSessionGetCurrentPrinter
PMSessionGetDataFromSession
PMSessionGetDestinationType
PMSessionSetCurrentPMPrinter
PMSessionSetDataInSession
PMSessionSetDestination
PMSessionSetError
PMSessionValidatePageFormat
PMSessionValidatePrintSettings
PMSetCollate
PMSetCopies
PMSetDuplex
PMSetFirstPage
PMSetLastPage
PMSetOrientation
PMSetPageFormatExtendedData
PMSetPageRange
PMSetPrintSettingsExtendedData
PMSetScale
PMWorkflowCopyItems
PMWorkflowSubmitPDFWithOptions
PMWorkflowSubmitPDFWithSettings
Callbacks
PMIdleProcPtr
Data Types
PMDialog
PMIdleUPP
PMLanguageInfo
PMObject
PMPageFormat
PMPaper
PMPaperMargins
PMPreset
PMPrinter
PMPrintSession
PMPrintSettings
PMRect
PMResolution
PMServer
PMPrintContext
PMColorMode
Constants
Data Not Wanted Constants
Data Representation Formats
Destination Types
Document Format Strings
Duplex Modes
Graphics Context Types
Page Orientation Constants
PDF Workflow Dictionary Keys
PostScript Injection Dictionary Keys
PostScript Page Injection Options
PostScript Injection Placement Options
PostScript Injection Sections
PostScript Injection Subsections
PostScript Printer Description File Domains
Print All Pages Constant
Print Quality Modes
Print Queue States
Printer Description Types
Tag Constants
User Cancellation Constant
Color Modes
Result Codes
Appendix A: Deprecated Core Printing Functions
Deprecated in Mac OS X v10.4
DisposePMIdleUPP
InvokePMIdleUPP
NewPMIdleUPP
PMBegin
PMConvertOldPrintRecord
PMDefaultPageFormat
PMDefaultPrintSettings
PMDisableColorSync
PMDisposePageFormat
PMDisposePrintSettings
PMEnableColorSync
PMEnd
PMError
PMGeneral
PMGetColorMode
PMGetDriverCreator
PMGetDriverReleaseInfo
PMGetGrafPtr
PMGetIndexedPrinterResolution
PMGetJobName
PMGetLanguageInfo
PMGetPhysicalPageSize
PMGetPhysicalPaperSize
PMGetPrinterResolution
PMGetPrinterResolutionCount
PMIsPostScriptDriver
PMMakeOldPrintRecord
PMNewPageFormat
PMNewPrintSettings
PMPostScriptBegin
PMPostScriptData
PMPostScriptEnd
PMPostScriptFile
PMPostScriptHandle
PMPrinterGetDescriptionURL
PMPrinterGetDeviceURI
PMSessionConvertOldPrintRecord
PMSessionGeneral
PMSessionGetDocumentFormatGeneration
PMSessionGetDocumentFormatSupported
PMSessionIsDocumentFormatSupported
PMSessionMakeOldPrintRecord
PMSessionPostScriptBegin
PMSessionPostScriptData
PMSessionPostScriptEnd
PMSessionPostScriptFile
PMSessionPostScriptHandle
PMSessionSetCurrentPrinter
PMSessionSetDocumentFormatGeneration
PMSessionSetIdleProc
PMSessionSetPSInjectionData
PMSetColorMode
PMSetError
PMSetIdleProc
PMSetJobName
PMSetPhysicalPaperSize
PMValidatePageFormat
PMValidatePrintSettings
Deprecated in Mac OS X v10.5
PMFlattenPageFormat
PMFlattenPageFormatToCFData
PMFlattenPageFormatToURL
PMFlattenPrintSettings
PMFlattenPrintSettingsToCFData
PMFlattenPrintSettingsToURL
PMGetDestination
PMGetJobNameCFString
PMGetResolution
PMPaperCreate
PMPrinterGetPrinterResolution
PMSessionBeginDocumentNoDialog
PMSessionDisableColorSync
PMSessionEnableColorSync
PMSessionGetGraphicsContext
PMSetAdjustedPageRect
PMSetJobNameCFString
PMSetProfile
PMSetResolution
PMSetUnadjustedPaperRect
PMUnflattenPageFormat
PMUnflattenPageFormatWithCFData
PMUnflattenPageFormatWithURL
PMUnflattenPrintSettings
PMUnflattenPrintSettingsWithCFData
PMUnflattenPrintSettingsWithURL
Revision History
Index