CUPS API to check If printer to be addedreally exists

Azuri azuri.shah at fmr.com
Mon Nov 21 10:32:58 PST 2011


I was trying to avaoid socket programming but i just found something to directly run ping command from cocoa porgram which will be helpful. Thanks for your help. Appreciate it.

> You might try using the ping command to check.
>
> Sent from my iPhone
>
> On Nov 21, 2011, at 10:43 AM, Azuri <azuri.shah at fmr.com> wrote:
>
> > I use cups API to add printer based on IP address of the printer. But there is no way to check if printer really exits or IP is correct. There is no validation done on cups side? it allows to add any IP address as printer. Which API can i use to see if the IP entered is actually correct and printer does exist.
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>





More information about the cups mailing list