Re: NSPrintInfo and NSPageLayout

2011-10-08 Thread Ken Thomases
On Oct 8, 2011, at 8:29 AM, Torsten Curdt wrote: >>> So I have the panel and the preview is correct. Now I click to change >>> the orientation from portrait to landscape. Of course at a scaling >>> factor of 100% it should fill the page, but instead it's just sticks >>> to the previous size and ce

Re: NSPrintInfo and NSPageLayout

2011-10-08 Thread Torsten Curdt
>> So I have the panel and the preview is correct. Now I click to change >> the orientation from portrait to landscape. Of course at a scaling >> factor of 100% it should fill the page, but instead it's just sticks >> to the previous size and centers it on the page. >> >> What am I missing there? >

Re: NSPrintInfo and NSPageLayout

2011-10-07 Thread Ken Thomases
On Oct 7, 2011, at 5:41 AM, Torsten Curdt wrote: > So I have the panel and the preview is correct. Now I click to change > the orientation from portrait to landscape. Of course at a scaling > factor of 100% it should fill the page, but instead it's just sticks > to the previous size and centers it

Re: NSPrintInfo and NSPageLayout

2011-10-07 Thread Torsten Curdt
Another question that came up... So I have the panel and the preview is correct. Now I click to change the orientation from portrait to landscape. Of course at a scaling factor of 100% it should fill the page, but instead it's just sticks to the previous size and centers it on the page. What am I

Re: NSPrintInfo and NSPageLayout

2011-10-07 Thread Ken Thomases
On Oct 7, 2011, at 5:05 AM, Torsten Curdt wrote: >> The -runModal method uses the shared print info object, which can be >> obtained with +[NSPrintInfo sharedPrintInfo]. You can change the shared >> print info with +[NSPrintInfo setSharedPrintInfo:], if you have reason to. >> Alternatively, y

Re: NSPrintInfo and NSPageLayout

2011-10-07 Thread Torsten Curdt
>> 1) Currently I set the width of the view to the page size width minus >> the left and right margin. Frankly speaking I have no clue if that is >> the right thing to do. Or is imageablePageBounds the one to use? > > I'm not sure.  I know that you can get the PMPageFormat object from the > NSPrin

Re: NSPrintInfo and NSPageLayout

2011-10-06 Thread Ken Thomases
On Oct 6, 2011, at 8:46 AM, Torsten Curdt wrote: > 1) Currently I set the width of the view to the page size width minus > the left and right margin. Frankly speaking I have no clue if that is > the right thing to do. Or is imageablePageBounds the one to use? I'm not sure. I know that you can ge