Told how to print to pdf