Modifying output of print operation
Modifying output of print operation
- Subject: Modifying output of print operation
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 8 Oct 2006 13:32:07 +0200
When an NSPrintOperation gets a runOperation message it obviously
asks its view for some data containing pdf code.
When NSPrintOperation has finished, and before it delivers its data
to some file, a printer or Preview.app, I would like to intercept
this data (hopefully as NSMutableData) and append a few bytes.
How can this be done?
I don't see any methods in NSPrintOperation giving me access to this
data.
There is [NSView endDocument] which looks promising - but how to get
at the data containing the pdf code?
Another problem:
NSPrintOperation has a method "deliverResult". The documentation
says: "Do not invoke this method directly"
But it also says: "You should not subclass NSPrintOperation".
So: what is this method good for, if it can be neither invoked nor
overridden?
_______________________________________________
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