updated declaration of printPDF()