|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.printing.SilentPrint
public class SilentPrint
This example prints a pdf file or directory of files using JPS
| Field Summary | |
|---|---|
static boolean |
customSetting
used to enable printing a page at a spec index |
static int |
pageMark
number of page to be printed |
static java.awt.print.PrinterJob |
printJob
needs to be global for the printer selection to work |
| Constructor Summary | |
|---|---|
SilentPrint()
So it can be used for testing without any bigger changes in the actual code |
|
SilentPrint(java.lang.String file_name)
example method to open a file and print the pages |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
main routine which checks for any files passed and runs the demo |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean customSetting
public static int pageMark
public static java.awt.print.PrinterJob printJob
| Constructor Detail |
|---|
public SilentPrint()
public SilentPrint(java.lang.String file_name)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||