• 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: How do I control the print job title?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I control the print job title?


  • Subject: Re: How do I control the print job title?
  • From: Aaron Tuller <email@hidden>
  • Date: Sat, 8 Oct 2005 19:05:55 -0700

At 9:59 PM -0400 10/8/05, Jim Correia wrote:

If I create a view specifically for printing, how do I control the job title? Do I have to add the view to a window just to set its job title? Do I have to override pageHeader (and re-implement the work the AppKit has already done for me?)


What is the best way to handle this situation?

Hi Jim, check out:

-[NSView printJobTitle];

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSView.html#//apple_ref/doc/uid/20000014-BBCDGCEB

"Returns the receiver's print job title. The default implementation first tries the window's NSDocument (displayName), then the window's title."

-aaron
_______________________________________________
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


  • Follow-Ups:
    • Re: How do I control the print job title?
      • From: Jim Correia <email@hidden>
References: 
 >How do I control the print job title? (From: Jim Correia <email@hidden>)

  • Prev by Date: How do I control the print job title?
  • Next by Date: Re: How do I control the print job title?
  • Previous by thread: How do I control the print job title?
  • Next by thread: Re: How do I control the print job title?
  • Index(es):
    • Date
    • Thread