[cups.development] How to attach a different ppd to existing printer using CUPS API

Michael Sweet msweet at apple.com
Fri Dec 9 11:32:52 PST 2011


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 mailing list