Core Printing is a C API that Mac apps and command line tools can use to perform printing tasks that don’t display a user interface. Core Printing defines a set of opaque types and a rich set of operations on instances of these types. The Core Printing opaque types include:
PMPrintfor general information about a print job
PMPrintfor print job parameters
PMPagefor the page format of a printed document
PMPaperfor information about a type of paper
PMPrinterfor information about a printer
In Carbon applications, Core Printing is used together with Carbon Printing to implement printing features. For more information about Carbon Printing, see Carbon Printing Reference.
In Cocoa applications, Core Printing can be used to extend the functionality in the Cocoa printing classes. The
NSPrint class provides direct access to some Core Printing objects.