Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting a Print Job's Name



I'm writing an application that does a lot of printing of various types. I've gotten all of that working pretty well. One problem I have is that all of my print jobs end up in the print queue as "Untitled". I'd rather have them indicate something like "OrderForm237" or "Checklist020", under program control. I have searched through all of the NSPrintInfo and NSPrintOperation classes for anything resembling a "print job name" property, but haven't found anything. No luck either with extensive web searches on non- Apple sites.

Does anybody know how to do this?

On a similar issue, if the user chooses to print to PDF, is there a way to provide the printing dialog controls with a default name and path for the file. I always get a default of "Untitled.pdf", and the default folder seems to be the same as was last used to save-to-pdf, regardless of where my document is located. Again, I'd like to put the default name and folder under program control.

Any suggestions welcome.

Tom Coates :::/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.