public class

PrintToPdfModule

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.PrintToPdfModule

Class Overview

The class PrintToPdfModule. An interface into Apryse SDKs Print To PDF functionality

Summary

Public Methods
static boolean isModuleAvailable()
Find out whether the PrintToPdf module is available.
static void printToPdf(Doc pdf_doc, String file_to_print, PrintToPdfOptions options)
Generate a PDF file by printing a document to the Apryse PDF printer via the Windows print verb.
static void printToPdf(Doc pdf_doc, String[] files_to_print, PrintToPdfOptions options)
Generate a PDF file by printing multiple documents to the Apryse PDF printer via the Windows print verb.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static boolean isModuleAvailable ()

Find out whether the PrintToPdf module is available.

Returns
  • Returns true if PrintToPdf can be performed.

public static void printToPdf (Doc pdf_doc, String file_to_print, PrintToPdfOptions options)

Generate a PDF file by printing a document to the Apryse PDF printer via the Windows print verb.

Parameters
pdf_doc The destination document.
file_to_print The source document filename.
options Print options (optional).

public static void printToPdf (Doc pdf_doc, String[] files_to_print, PrintToPdfOptions options)

Generate a PDF file by printing multiple documents to the Apryse PDF printer via the Windows print verb.

Parameters
pdf_doc The destination document.
files_to_print The list of source document filenames.
options Print options (optional).