Java program to read a text file and converts it to a PDF document using Qoppa’s library jPDFWriter. This sample uses the PDFPrinterJob object to “print” the text to the PDF file.