Re: NSPrintSavePath not working correctly?

2010-04-07 Thread Brian Postow
More info: When I print out my NSPrintInfo object, I get: print info { NSBottomMargin = 90; NSCopies = 1; NSDetailedErrorReporting = 0; NSFaxNumber = ""; NSFirstPage = 1; NSHorizonalPagination = 2; NSHorizontallyCentered = 1; NSJobDisposition = NSPrintSpoolJob;

NSPrintSavePath not working correctly?

2010-04-06 Thread Brian Postow
I'm trying to set up a print dialog, so that if the user tries to save to PDF, it gets a reasonable filename. I currently have: NSPrintInfo* pi = [NSPrintInfo sharedPrintInfo]; NSMutableDictionary *dict = [pi dictionary]; [dict setObject: name forKey: NSPrintSavePath];