Convert from HTML-to-PDF in 3 lines of code
BCL easyPDF SDK hides the complexity of converting document into PDF and encapsulates it into as little as 3 lines of code.
1 | Printer printer = new Printer();
2 | PrintJob pj = printer.getPrintJob();
3 | pj.PrintOut(inputFileName, outputFileName);
Line 1: Create easyPDF printer instance.
Line 2: Get the PrintJob object.
Line 3: Pass the input file and the output file.
Read Other Benefits