Legacy Documentclose button

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

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice