CUPS-Image-Printer is a project mainly written in ..., it's free.
CUPS backend printing to PDF, JPEG or PNG files
Original http://www.novell.com/coolsolutions/feature/17636.html