Re: [newbe] How to print window (no document based applocation)
Re: [newbe] How to print window (no document based applocation)
- Subject: Re: [newbe] How to print window (no document based applocation)
- From: Jack Nutting <email@hidden>
- Date: Thu, 20 Oct 2005 15:23:09 +0200
On 10/15/05, Uwe Schuss <email@hidden> wrote:
>
> Hi,
> I try to print a window that contains a TableView and some TextBoxes.
> If I try to use the 'PrintOperation', I've only get the same on the
> printer I can see on the screen (the scrollbars of the table view, the
> texture of the window, ...). The TableView should be fit to the size of
> the page (landscape).
You can pretty easily print the entire content of an NSTableView (or
any other single NSView) by calling "print:" on it. You won't get
much control over the formatting or anything, but it's a start (and a
dead-simple one to implement!)
--
// jack
// http://www.nuthole.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden