On Tue, Jan 22, 2013, at 02:20 AM, Jean Suisse wrote:
> Now, the result fits one page, in landscape mode. However, the
> aspect/ratio of the view remains the same as displayed on screen.
> How can I change the size (bounds) of the view and its subview but for
> printing only ? I could stretch the result, but the text on the graphics
> would appear stretched. ..

1. Implement -knowsPageRange: and -rectForPage: and do all the
pagination yourself.

2. Create a new instance of your view offscreen with the appropriate
dimensions and print _that_.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to