Converting Your Code
Updating your application to use the Carbon Printing Manager is a straightforward process. The basic steps are:
-
Remove all references to the
Printing.h
header file from your project.
-
Add
PMApplication.h
,
PMDefinitions.h
,
PMCore.h
, and the
CarbonLib
library to your project.
-
Convert your code to use the new printing functions and opaque data types, as described in the following sections. You may want to refer to the code examples provided in the appendix. See .
© 2000 Apple Computer, Inc. (Last Updated 03 July 2000)