• 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
Re: Still problems resizing my view for printer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still problems resizing my view for printer


  • Subject: Re: Still problems resizing my view for printer
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 06 Aug 2006 08:53:56 -0700


On Aug 6, 2006, at 8:41 AM, Stefan wrote:


Am 05.08.2006 um 12:34 schrieb Stefan:

I created a custom subclass of NSView and instantiated it using IB.

Somehow, it creates more pages, if I draw more stuff in drawRect: (NSRect).

But I failed to top-left align it on a printer's page and resize it to fill a complete
printer's page.


Some people proposed several example project from Apple, but none does
implement this situation: Some draw windows, some don't draw anyway.


Could someone please explain, what I should do? The main problem is resizing my
view somehow to fit the printer's page size....

Hm, my posts tend to get few answers...

Any ideas why? Trivial? Too complex? Hard to understand due to insufficient
language skills of mine?

They aren't really clear in what exact problem you are having and they provide little context on what you are doing so any one answering would be guessing. Try to be specific as possible and showing code samples always helps.


Have you reviewed the following?

<http://developer.apple.com/documentation/Cocoa/Conceptual/Printing/ index.html>

...in particular to the difficulty I think you are having...
<http://developer.apple.com/documentation/Cocoa/Conceptual/Printing/ Concepts/pagination.html>
<http://developer.apple.com/documentation/Cocoa/Conceptual/Printing/ Tasks/PaginatingViews.html>


-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Still problems resizing my view for printer
      • From: Stefan <email@hidden>
References: 
 >Still problems resizing my view for printer (From: Stefan <email@hidden>)
 >Re: Still problems resizing my view for printer (From: Stefan <email@hidden>)

  • Prev by Date: Re: Still problems resizing my view for printer
  • Next by Date: Re: Still problems resizing my view for printer
  • Previous by thread: Re: Still problems resizing my view for printer
  • Next by thread: Re: Still problems resizing my view for printer
  • Index(es):
    • Date
    • Thread