O'Reilly logo

Beginning OS X Lion Apps Development by Robert Warner, Michael Privat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required