NSPrintInfo, setting filename for print to PDF?
NSPrintInfo, setting filename for print to PDF?
- Subject: NSPrintInfo, setting filename for print to PDF?
- From: Brian Postow <email@hidden>
- Date: Wed, 7 Apr 2010 17:26:21 -0400
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 (email@hidden)
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:
This email sent to email@hidden