NSFitPagination

2014-11-18 Thread Leonardo
I cannot detect the value of the check-box Scale to fit paper size on the print panel. I would like to know whether I have to scale my view within the method - (NSRect)rectForPage:(NSInteger)pageNumber For sure it has nothing to do with NSFitPagination. In facts NSLog(@pMode %ld, %ld

Re: NSFitPagination

2014-11-18 Thread Graham Cox
It should just work without you having to do anything. It'll ask your view to image the rect, then it will scale it using a transform it has calculated to scale it to fit the paper. The pagination settng will be set to NSFitPagination when scaling the page to fit, just as you found. Unless