Modified Print_Pdfs_Controller.rb