Summary: Methods | Inherited Methods | [Expand All]
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.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public static boolean isModuleAvailable ()

Find out whether the PrintToPdf module is available.

##### Returns

- returns true if PrintToPdf can be performed

##### Throws

PDFNetException |

#### 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)

##### Throws

PDFNetException |