Hi,
Thank you for your inquiry.
I made a PDF sample and tested in JavafX using our latest version (
spire.pdf for Java Version:5.4.0) , but did not reproduce your problem. According to your exception, I speculate that the problem is most likely related to the lack of permissions of your printer when printing. I suggest that you check the printer driver problem first, or try to use another printer to test. If the issue continues to bother you, please provide the following information for further investigation. Thank you in advance.
1) Your test code and the name of your printer
2) Test environment ( Windows10, 64bit) and JDK version ( JDK 1.8.0_281)
Sincerly,
Kylie
E-iceblue support team