images printing to pdf fixed