Search code examples
javaswingprintingitext

How to print a PDF File using native JAVA (or open and print)


I created a invoice billing software using itextpdf 5. Is there any way to print the generated PDF using java?


Solution

  • The easiest way is using Desktop.print(File).