public final class PrintPDF extends Object
public static void main(String[] args) throws PrinterException, IOException
args
- Command line arguments, should be one and a reference to a file.PrinterException
- if the specified service cannot support the Pageable and Printable interfaces.IOException
- if there is an error parsing the file.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.