updated printing to pdf section