[cups.development] CUPS API to get the installable option (Hole Punch)

Michael R Sweet msweet at apple.com
Mon Dec 10 09:33:18 PST 2007


lokesha wrote:
> Hello All
> 
> I have been trying to get the installed hole punch options via the CUPS API and till now not succeeded.
> My requirement is to identify which hole punch (either Metric or Non -metric) is gets installed in the printer and depending on the data, to update the finishing options(a set of menu items) in the printer panel (For this I have a custom custom PDE). So far I couldn't get how to find out which hole punch options installed, once I succeed this then I can implement my logic to disable/enable the hole punch options in the print panel.
> 
> Any help greatly appreciated.

You just need to use ppdFindMarkedChoice() to find which choice has
been selected for the installable option.

That said, the best place to get guidance on PDE development is the
Apple printing list:

     http://lists.apple.com

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list