Setting job features when printing without panels
Setting job features when printing without panels
- Subject: Setting job features when printing without panels
- From: Gideon Tearle <email@hidden>
- Date: Fri, 9 Nov 2001 09:52:37 +0000
With 10.1, ppd features are now visible within the Cocoa print panel
and, when set, have the desired result when printing. However, they
don't seem to be settable via the NSPrintInfo dictionary under the
NSPrintJobFeatures key.
So: how do I set job features for a print operation running without
panels?
The background to this is that I have a Cocoa app which creates and
subsequently spools numerous files (c. 1000 at a time) to print on a
Xerox DocuColor (via a Fiery RIP); I need to be able to set stapling and
collation options for each file. I see that these options actually end
up in the JobTicket for the job if manually set through the print panel,
but can see no API for accessing this. Have I missed something?
Related to this is that NSPrinter doesn't seem to provide the promised
access to PPD values... indeed the +printerNames method only returns the
names of NetInfo printers. Any thoughts on this too?
Thanks very much for any light shed
-- Gideon