Printing Multiple Windows
Printing Multiple Windows
- Subject: Printing Multiple Windows
- From: Justin Lundy <email@hidden>
- Date: Mon, 31 Mar 2003 08:30:31 -0800
[WAS: Scaling window contentView for printing]
Here's the situation: I have a doc-based app where each doc spawns
multiple fixed-size secondary windows, which are added to the doc's
windowController array. To print a secondary window, I create a
NSPrintOperation with [secondaryWindow contentView], which works well,
for printing 1 window.
I want to print multiple windows, each on it's own logical page, so
if the Layout window of Print specifies multiple logical pages per
physical page (pages per sheet), I want that to work properly. By
iterating through the windowController, I can get all the contentView's
for all the windows, but what then? How do I connect/paste/copy(?) all
the views together so that they print properly? Is this something I
can do once the NSPrintOperation is running (i.e. in a print accessory
view), or should I do this prior to creating the NSPrintOperation?
Subsequently, is there a place to set the logical pages per physical
page (pages per sheet) programatically?
Thanks,
Justin
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.