How do I control the print job title?
How do I control the print job title?
- Subject: How do I control the print job title?
- From: Jim Correia <email@hidden>
- Date: Sat, 8 Oct 2005 21:59:13 -0400
The Tiger release notes say:
- (NSAttributedString *)pageHeader;
- (NSAttributedString *)pageFooter;
NSView's implementations of these methods provide a default
header that
includes the print job title (which typically is the same as the
document or window title) and the date, and a default footer that
includes the page number and page count. A printable view class can
override one or both of these methods to substitute its own
content in
place of these defaults.
Say I am printing a view that is already in a window, and that
window's title isn't suitable for the printed object. (For example,
the Mail Viewer window in mail whose title isn't the subject of the
message being viewed.) How do I control the job title in this situation?
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?
Thanks,
Jim
_______________________________________________
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