Does AirPrint work with all kinds of printers with moden usb capability.
AirPrint works if you have an AirPrint compatible printer. See this Apple support document for details on compatible models.
If the printer is not AirPrint compatible, it still might be possible to enable printing by installing an App like Print Central on the iPad, iPhone, or iPod.
Does it also work with android based devices?
I would be surprised if it did, but best to ask that question on an Android support forum.