CUPS API to get the installable option (HolePunch)

lokesha lokeshmk_84 at yahoo.co.in
Tue Dec 11 00:56:56 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
>

Thank you very much. Helped me to get the solution.

Thanks.

Regards
Lokesha





More information about the cups-devel mailing list