Create PrintToPDF(revised)

Hey guys. I worked on the printtopdf class to make it look like the example. Let me know what you think.