Yes, I know, it's terrible, but it's part of being able to convert any document to PDF and so far, I haven't found any other way then using a virtual printer driver. So, I have to temporarily switch to that printer to convert a document, then revert back to what it was. It's not only for my app, so NSPrintInfo is of no use in my situation :-(
-Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org Logiciels Nemesys Software laurent.daude...@verizon.net Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries On Oct 15, 2009, at 10:55, Kyle Sluder wrote: > On Thu, Oct 15, 2009 at 10:33 AM, Laurent Daudelin > <laurent.daude...@verizon.net> wrote: >> Anybody has any suggestion on how to do that? > > This sounds like a terrible idea. If you want to maintain a separate > default printer for your app or for a document (InDesign does this, > for example, because documents are often tied to a specific print > process) then use -[NSPrintInfo setPrinter:]. > > --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com