2011 | OriginalPaper | Buchkapitel
Printing
verfasst von : Michael Privat, Robert Warner
Erschienen in: Beginning OS X Lion Apps Development
Verlag: Apress
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
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, we build a print view that spans three pages and includes both the graph view and the table view.