• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPrintInfo, setting filename for print to PDF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSPrintInfo, setting filename for print to PDF?
      • From: Chaitanya Pandit <email@hidden>
References: 
 >NSPrintSavePath not working correctly? (From: Brian Postow <email@hidden>)
 >Re: NSPrintSavePath not working correctly? (From: Brian Postow <email@hidden>)

  • Prev by Date: Re: iPad: UIImagePickerController
  • Next by Date: How to subclass UIButton?
  • Previous by thread: Re: NSPrintSavePath not working correctly?
  • Next by thread: Re: NSPrintInfo, setting filename for print to PDF?
  • Index(es):
    • Date
    • Thread