|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.util.PDFUtils
public class PDFUtils
| Method Summary | |
|---|---|
static void |
generatePDF(String text,
File file)
uses the IText package from lowagie.com |
static void |
printAsPDF(String text)
creates a temp file and then uses a system call to print it |
static boolean |
printPDF(File pdfFile)
platform dependent system call to print the given file to the default printer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void printAsPDF(String text)
throws IOException,
PrintException
IOException
PrintExceptionprintPDF(File)
public static boolean printPDF(File pdfFile)
throws IOException
application.pdfPrintCommand from the Settings.
The switches used for the AcroRd32.exe are "/p /h".
IOExceptionSettings.getProperties()
public static void generatePDF(String text,
File file)
throws IOException,
PrintException
IOException
PrintException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||