Convert from Word-to-PDF in 3 lines of code
BCL easy PDF SDK hides the complexity of converting document into PDF and encapsulates it into as little as 3 lines of code.
1 | Set oPrinter= CreateObject ("easyPDF.Printer.7")
2 | Set oPrintJob=oPrinter.PrintJob
3 | oPrintJob.PrintOut "C:\input.doc", "C:\output.pdf"
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