Chapter 9
Printing
Although we live in the digital age, most applications that produce data offer support for printing that data. Word processors obviously allow users to print their documents, but even the Mac OS X Calculator has an option for printing its virtual paper tape. Users expect to preserve the words they type, the numbers they enter, and the graphics they create onto paper and ink. In this chapter, we explore some of the printing capabilities of Mac OS X and how to add printing support to Graphique. We start with a naïve printing implementation of the graph view that would use enough ink to put Hewlett-Packard back in the black. Next, we optimize the graph view for printing so that we can feel good about actually printing it. Finally, ...
Get Beginning OS X Lion Apps Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.