• 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
printing an NSTextView in smaller font and different colors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printing an NSTextView in smaller font and different colors?


  • Subject: printing an NSTextView in smaller font and different colors?
  • From: "Ujwal S. Sathyam" <email@hidden>
  • Date: Wed, 14 May 2003 07:59:02 -0700

Hello,

My application uses an NSTextView as its view. The text attributes in it can be customized with respect to font, foreground and background colors, and it works just fine. However, when I print, I would like to be able to print in a smaller font since otherwise the output can be fairly large and get clipped by the page edges. Also, I would like to print black on white even if the text color is white on a black background.

Currently, I am using the NSTextView's built-in print method which prints things exactly as shown on the screen. Is it possible to customize text attributes just for printing?

Thanks,

Ujwal
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: piping a shell result to display it
  • Next by Date: Finder Icon View
  • Previous by thread: initWithCoder failed in Cocoa-Java app
  • Next by thread: Finder Icon View
  • Index(es):
    • Date
    • Thread