Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Programmer's Guide to MacApp / Part 2 - Working With MacApp


Chapter 23 -
Working With Printing

This chapter describes how a standard print-handler object handles print menu commands such as Print and Print One. It also includes recipes and sample code that demonstrate how to

For a detailed overview of MacApp's printing support, see "Printing," beginning on page 230.

For related information, see "Saving a Document's Print Information," beginning on page 403, and "Recipe--Creating Views for Displaying and Printing Versus Printing Only," beginning on page 431.


Chapter Contents
Overview
Handling Print Menu Commands
Recipes--Printing
Working With Printing--A General Outline
Recipe--Adding a Standard Print Handler to a View
Attaching a Print Handler to Its View
Attaching a Print Handler to Its Document
Recipe--Changing Default Margin Settings
Using Minimal Margins
Installing New Margins
Recipe--Showing Page Breaks in a View
Recipe--Defining a Custom Print Handler to Modify Page Strips
Define a Subclass of TStdPrintHandler
Override the CalcViewPerPage Method in Your Print Handler
Override the DoBreakFollowing Method of Your View Class
Recipe--Turning on Debugging Support for Printing

Previous Book Contents Book Index Next

© Apple Computer, Inc.
25 JUL 1996