How to attach a different ppd toexisting printer using CUPS API

Azuri azuri.shah at fmr.com
Fri Dec 9 11:41:16 PST 2011


Thats what I thought and tried, but our of that code i was only using part of code dealing with ppd.It dint work.or do I need to set the destination or something else after that?


> Not surprisingly, the same code you use to add the printer with a generic PPD file will work to add a different generic PPD file - the CUPS-Add-Modify-Printer operation will add a new printer or modify an existing printer...
>
> On Dec 9, 2011, at 11:23 AM, Azuri wrote:
>
> > Say I have added printer using cups API and attached generic ppd file.
> > Now I want to attach generic2.ppd file instead of generic.ppd file for the same printer using CUPS. how do i do that. Can you please share the code snippet.
> >
> > Thanks,
> > Azuri
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups-devel mailing list