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?
Hard to
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 centers it on
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
NSPrintInfo
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, you can
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
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 on
So I have a custom view and I am adding printing support. I've set it
up like this:
https://gist.github.com/919d845b2e1b5becbaac
where I create a custom instance of my view, setup the NSPrintInfo and
then run the NSPrintOperation.
Now there are a couple of things I couldn't quite figure out
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 get