Important: The Java API for Cocoa is deprecated in Mac OS X version 10.4 and later. You should use the Objective-C API instead. For a tutorial on using Cocoa with Objective-C, see Cocoa Application Tutorial.
With a simple Interface Builder procedure, Cocoa automates simple printing of views that contain text or graphics. When a user starts a print action, an appropriate dialog helps to configure the print process. The output is WYSIWYG.
Several Application Kit classes give you greater control over the printing of documents and forms, including features such as pagination and page orientation.
Last updated: 2006-10-03