Printing question

Is it posible to add printers by code in iphone? Do they need to have air print on them?