Make the print button functional.