Deleting printer using cups API

Azuri azuri.shah at fmr.com
Mon Oct 3 11:19:57 PDT 2011


Got it. Thanks

> You cannot add or delete printers using the cupsSetDest API.
>
> You'll need to send a CUPS_DELETE_PRINTER request using cupsDoRequest - see the lpadmin source code for an example.
>
> On Oct 3, 2011, at 11:04 AM, Azuri wrote:
>
> > I want to delete a printer using cups API.
> > I am calling cupsRemoveDest and then cupsSetDest but looks like its not deleting the printer. what am I doing wrong?
> > _______________________________________________
> > 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