Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Introduction to Supporting Printing in Your Carbon Application
This document shows you how to set up a Carbon application to print in Mac OS X using the Carbon Printing Manager. The Carbon Printing Manager defines a programming interface that Carbon applications use for printing their documents. For Carbon applications, this programming interface replaces that of the original Printing Manager. The original Printing Manager—referred to as the old Printing Manager in this document—was introduced with the very first release of Macintosh system software. The Carbon Printing Manager allows applications to print both in Mac OS 8 and 9 with existing printer drivers and in Mac OS X with new printer drivers.
You should read this document if you are a developer who wants to support printing from your Carbon application. This document:
describes the Carbon Printing Manager concepts you need to know to start coding your application
provides examples of how to set up printing in a new application
discusses how to revise an existing application
To get the most from this document, you should first read About the Mac OS X Printing System, which describes the various portions of the printing system, including the user interface and the printing architecture.
This document describes how to write only the application portion of generating a print job. It does not describe how to write printer modules, converters, I/O modules, or printing dialog extensions. See the Printing Carbon Documentation for information on these other topics.
The document is divided into the following chapters:
Chapter 2 contains details on how the Carbon Printing Manager works and describes the concepts you need to use the Carbon Printing Manager in your application.
Chapter 3 shows you how to use the Carbon Printing Manager to support printing in a Carbon application. The chapter contains sample code you can customize for your application.
Chapter 4 explains what you need to do to revise an existing non-Carbon Mac OS 9 application so that it can print in either Mac OS 9 or Mac OS X.
See also Carbon Printing Manager Reference.
Copyright © 2001, 2004 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2004-08-31