• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [newbe] How to print window (no document based applocation)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >[newbe] How to print window (no document based applocation) (From: Uwe Schuss <email@hidden>)

  • Prev by Date: posting application event
  • Next by Date: Re: posting application event
  • Previous by thread: Re: [newbe] How to print window (no document based applocation)
  • Next by thread: Programmatically selecting a cell in a NSBrowser
  • Index(es):
    • Date
    • Thread