Skip navigation.
 
mlRe: Still problems resizing my view for printer
FROM : Shawn Erickson
DATE : Sun Aug 06 17:53:56 2006

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

Related mailsAuthorDate
mlStill problems resizing my view for printer Stefan Aug 5, 12:34
mlRe: Still problems resizing my view for printer Stefan Aug 6, 17:41
mlRe: Still problems resizing my view for printer Shawn Erickson Aug 6, 17:53
mlRe: Still problems resizing my view for printer Stefan Aug 6, 17:57
mlRe: Still problems resizing my view for printer Stefan Aug 6, 18:09
mlRe: Still problems resizing my view for printer Todd Ransom Aug 6, 18:36
mlRe: Still problems resizing my view for printer Stefan Aug 6, 18:43
mlRe: Still problems resizing my view for printer [SOLVED] Stefan Aug 6, 23:19