Auto discover printers in the network (Wifi/LAN) Chromebook

I want to create a chrome Extension or App which should be capable of auto discover printers on my network. which api or what functionality should i use?