How to print photos from iphone?

Is there a way to do it? My printer doesn't work at the moment, so is there some other way I can print a photo from my iphone camera roll? Would the library work? I know cvs had those photo machines, would they work on iPhones if I went to my local cvs? Any other ways?

Easy. Send the photos to your own email, go to the library like you mentioned, check out a computer (internet enabled of course), log into your email, bring the attached photo up, and then simply send it to the library's printer. It will probably cost 50 cents or a dollar to print color. But there you go, I've done that before.

Here is what you need:

http://shop.komando.com/photo-cube-printer-for-iphone-ipad-and-android-devices

For the price of that very limited photo-cube, you should be able to get a replacement printer with AirPrint capability and go directly from the iPhone. Or install the AirPrint utility on an MS Windows machine to go to a non-AirPrint printer as I did.