Skip navigation.
 
mlRe: Still problems resizing my view for printer
FROM : Stefan
DATE : Sun Aug 06 17:57:44 2006

Am 06.08.2006 um 17:53 schrieb Shawn Erickson:

>
> 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.


Thx, Shawn! I'll read the documents, you mentioned.

I'll try to rephrase: My NSView subclass prints its content 
correctly, but does
not get aligned to the top-left corner of the page nor resized to fit 
the printer's
page size.

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