A Java program that prints silently a PDF document to the default printer.

package jPDFPrintSamples;
import com.qoppa.pdfPrint.PDFPrint;
public class SimplePrint
{
    public static void main (String [] args)
    {
        try
        {
            PDFPrint pdfPrint = new PDFPrint("input.pdf", null);
            pdfPrint.printToDefaultPrinter(null);
        }
        catch (Throwable t)
        {
            t.printStackTrace();
        }
    }
}

SimplePrintDefault
SimplePrintDefault
SimplePrintDefault.java
447.0 B
904 Downloads
Details