Printing of PDF file does not work: "Cancelling" message