import org.apache.pdfbox.pdmodel.PDDocument;
public class Printing {
public static void main(String[] args) throws Exception
{
PDDocument doc=PDDocument.load("D:\\demo.pdf");
doc.print();
}
}
---------------------------------------------------------------------------------------------
The above program used to print the PDF Document using PDFBox library file.
public class Printing {
public static void main(String[] args) throws Exception
{
PDDocument doc=PDDocument.load("D:\\demo.pdf");
doc.print();
}
}
---------------------------------------------------------------------------------------------
The above program used to print the PDF Document using PDFBox library file.
No comments:
Post a Comment