Jump To:
Leopard Reference Library: Cocoa
Cocoa is an object-oriented application environment designed specifically for developing Mac OS X-only native applications. The Cocoa frameworks support rapid development and high productivity, and include a full-featured set of classes designed to create robust and powerful Mac OS X applications. Cocoa provides a set of classes that work together to make basic printing support easy and allow developers to provide the level of control their application needs in its printing behavior.

View all Printing Reference Library.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Resource Type
Sort by
Date
Providing PDF Workflow Options in the Print Dialog (HTML) (PDF)
Installation information and examples, including the use of Automator workflows.
Guides 2007-10-31
Printing Programming Topics for Cocoa (HTML) (PDF)
Explains how to support printing in Cocoa applications.
Guides 2006-06-28
Mac OS X Printing System Overview (HTML) (PDF)
Introduces Apple's printing architecture. Includes a road map for developing software.
Guides 2006-02-07
Using PostScript Printer Description Files (HTML) (PDF)
Information for printer vendors. Includes installing files, PPD/PDE binding, and grouping features.
Guides 2005-07-07
NSView Class Reference (HTML) (PDF)
Describes the interface for drawing, event handling, and printing in views.
Reference 2009-02-04
NSPrintInfo Class Reference (HTML) (PDF)
Describes the print settings used for a print job.
Reference 2009-01-06
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Reference 2008-10-15
PDEPanel Protocol Reference (HTML) (PDF)
Describes the informal protocol used to implement custom panes in a printing dialog.
Reference 2007-12-11
PDEPlugIn Protocol Reference (HTML) (PDF)
Describes the informal protocol used to add custom panes to a printing dialog.
Reference 2007-12-11
PDEPlugInCallbackProtocol Reference (HTML) (PDF)
Describes the informal protocol used to access information about the current print job.
Reference 2007-12-11
Core Printing Reference (HTML) (PDF)
Describes the C API that provides an abstraction layer for application printing.
Reference 2007-07-24
NSPrintPanel Class Reference (HTML) (PDF)
Describes a print dialog.
Reference 2007-07-16
NSPageLayout Class Reference (HTML) (PDF)
Describes a printing dialog for querying the user about page layout.
Reference 2007-04-11
NSPrintPanelAccessorizing Protocol Reference (HTML) (PDF)
Describes the interface for configuring accessory panes for the print panel.
Reference 2007-03-09
NSPrintOperation Class Reference (HTML) (PDF)
Describes a print job.
Reference 2007-03-02
NSPrinter Class Reference (HTML) (PDF)
Describes a representation of a printer as specified by a PPD file.
Reference 2007-01-29
PMPrinterTest (HTML) (DMG) (ZIP)
Demonstrates using the PMPrinter APIs to obtain information about the connected printers.
Sample Code 2009-02-13
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Sample Code 2007-06-11
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Technical Notes 2003-12-09
Gathering all PostScript Printer Descriptions (PPDs) (HTML)
QA1529: Describes a work around for an issue in PMCopyAvailablePPDs on Mac OS X 10.4 and below
Technical Q&As 2008-08-08
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Technical Q&As 2007-08-02
Quartz 2D Thread Safety (HTML) (日本語 HTML)
QA1238: Explains the thread-safety issues for the Quartz 2D API.
Technical Q&As 2003-02-25
Quartz 2D Interpolation (HTML) (日本語 HTML)
QA1186: Explains how to control Quartz 2D's image interpolation.
Technical Q&As 2002-10-29
CGContextClosePath (HTML)
QA1046: Explains when you should call CGContextClosePath.
Technical Q&As 2001-10-02
Saving the current Core Graphics Path (HTML)
QA1056: Explains that the Core Graphics save and restore GState APIs do not affect the path.
Technical Q&As 2001-10-02
CGContext Bounds (HTML)
QA1048: Explains how to determine the bounds of a CGContext.
Technical Q&As 2001-07-02
CGContextAddLineToPoint, CGContextAddCurveToPoint, et. al. (HTML)
QA1049: Explains why the CGContextAddXYZ APIs don't draw anything immediately.
Technical Q&As 2001-07-02
Drawing a Path Multiple Times (HTML)
QA1047: Explains that path drawing operations consume the path.
Technical Q&As 2001-07-02
Turning Off Core Graphics Clipping (HTML)
QA1050: Explains how to clear the clipping path for a CGContext.
Technical Q&As 2001-07-02
Unexpected CG state changes (HTML)
QA1045: Explains why the Core Graphics drawing state sometimes changes for no apparent reason.
Technical Q&As 2001-07-02