• 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: Print a NSTextView on two (or more) columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print a NSTextView on two (or more) columns


  • Subject: Re: Print a NSTextView on two (or more) columns
  • From: David Phillip Oster <email@hidden>
  • Date: Sat, 17 Jun 2006 20:17:21 -0700

At 17 Jun 2006 22:38:09 +0200, J?r?me Paschoud <email@hidden> wrote:
Thanks but TextSizing doesn't have anything to do with printing...

Yes, it will print, if you copy it, then, in Interface Builder, in TextSizingExample.nib, add a standard File ,menu, and delete the existing one. Re-run it, and it will print.


However, it doesn't print by default in two columns. My guess is that since [-didSwapIn] makes the textview the first responder, and as such it gets the print command, andjust prints itself. Clearly, that will never work.

Instead make the NSView into a custom class, follow the standard instructions on making a NSView print, but using the TextSizing code to produce the two columns.

_______________________________________________
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


  • Prev by Date: Excluding native file type from saveDocumentTo: accessory view.
  • Next by Date: Re: Detecting Illegitimate OS X Installations?
  • Previous by thread: Re: Print a NSTextView on two (or more) columns
  • Next by thread: Re: Print a NSTextView on two (or more) columns
  • Index(es):
    • Date
    • Thread