Hi, You should set the name in the NSPrintOperation object, look at the "setJobTitle:" method of NSPrintOperation
Thanks, Chaitanya Pandit On Apr 8, 2010, at 2:56 AM, Brian Postow wrote: > Ok, I'm still working on this from my other question. I can see the printinfo > before I run the operation, and it looks correct. NSSavePath is set to the > path I want, as is the jobsavingURL. When, but when I actually DO the print > to PDF, the filename, the filename becomes .pdf.pdf. > > When I cancel out of the print, the printinfo says the value is "" If I > actually type something in and SAVE, then nsSavePath has the path to the save > file. > > I can't find any sample code that tries to do this, and when I google search, > I get my own questions. Obviously, I'm searching for the wrong thing (cocoa > "save to pdf" nsprintinfo; for example). Can someone give me a pointer of a > better search term, even if you don't know the answer? > > thanks. > > > Brian Postow > Senior Software Engineer > Acordex Imaging Systems > > _______________________________________________ > > 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/chaitanya%40expersis.com > > This email sent to chaita...@expersis.com _______________________________________________ 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