[cups.general] cups function that would return currently selected destination
Michael Sweet
msweet at apple.com
Wed Jul 22 08:33:39 PDT 2009
On Jul 21, 2009, at 10:16 PM, ronaly wrote:
> Is there a cups function that returns the current selected
> destination (print queue) by the user in the print dialog?
No.
> I am working a PDE. Instead of using PMPrinter which I heard
> apple will deprecate it in the future, I'm thinking if there
> are cups functions that can query on the selected printer
> in the print dialog. I only know cupsGetDest() but it can
> only return the default print queue.
We have not announced (nor am I aware of) any plans to deprecate
PMPrinter. PMPrinter (and the companion NSPrinter class for Cocoa) are
the objects to use in a GUI.
The only place you shouldn't use the PM APIs is in CUPS filters since
there is no user session for them to work with.
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list