issue #122 PDF file write and print