Class PrintPDF

java.lang.Object
org.apache.pdfbox.tools.PrintPDF

public final class PrintPDF extends Object
This is a command line program that will print a PDF document.
Author:
Ben Litchfield
  • Method Details

    • main

      public static void main(String[] args) throws PrinterException, IOException
      Infamous main method.
      Parameters:
      args - Command line arguments, should be one and a reference to a file.
      Throws:
      PrinterException - if the specified service cannot support the Pageable and Printable interfaces.
      IOException - if there is an error parsing the file.