• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scaling window contentView for printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scaling window contentView for printing


  • Subject: Scaling window contentView for printing
  • From: Justin Lundy <email@hidden>
  • Date: Sat, 29 Mar 2003 09:03:47 -0800

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.

  • Prev by Date: Re: Is there a ready chart plotting view?
  • Next by Date: Re: Is there a ready chart plotting view?
  • Previous by thread: Re: IB Inspector "Tag"
  • Next by thread: Localization problem
  • Index(es):
    • Date
    • Thread