Answering a part of my question: The menu item for printing needs to be re-wired to target the app delegate rather than the first responder. Now, I need to fix the page orientation and determine the size in points for the rendering. Any ideas ?
On 21 janv. 2013, at 16:17, Jean Suisse <jean.li...@gmail.com> wrote: > Dear All, > > I have a non-document based application to which I would like to add printing > support. > The main window (the one in the .xib created by default by Xcode) contains a > split view. > > Currently, when printing, I get only the left pane of the split view (at > best) or the control that has the focus (a textfield for instance) at worse. > What would be the minimum change to perform in order to get the view in the > right side of the split view to print itself in landscape (I would like to > offer landscape by default to the user) ? I am happy with the rest of the > print flow the way it is. > Any pointers ? > > Thanks, > Jean > > P.S.: I saw the Laying Out Page Content section in Printing Programming > Guide, but I don't get how it is decided that the content of the view exceeds > the size of a single page. I would prefer my view to be told to fit the > selected page size (It is possible in my particular situation. I am printing > graphics that can be resized to any size, to any ratio). > _______________________________________________ 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