Package org.apache.pdfbox.tools
Class PrintPDF
- java.lang.Object
-
- org.apache.pdfbox.tools.PrintPDF
-
public final class PrintPDF extends java.lang.ObjectThis is a command line program that will print a PDF document.- Author:
- Ben Litchfield
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Infamous main method.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.awt.print.PrinterException, java.io.IOExceptionInfamous main method.- Parameters:
args- Command line arguments, should be one and a reference to a file.- Throws:
java.awt.print.PrinterException- if the specified service cannot support the Pageable and Printable interfaces.java.io.IOException- if there is an error parsing the file.
-
-