|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| 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 javax.print.DocPrintJob |
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,
java.lang.String printerName)
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 javax.print.DocPrintJob printJob
| Constructor Detail |
|---|
public SilentPrint()
public SilentPrint(java.lang.String file_name,
java.lang.String printerName)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
JPedal 4.74b27 Click here for Tutorials, code examples, help forums and support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||