|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectexamples.printServices.PrintServices
The PrintServices class is an example of how to use JDK 1.4+ print services with ICEpdf. The example first finds printers available to the client machine and asks the user which one they whish to print to. Once the user enters their choice the printing process is started.
Jusing JDK 1.4 or higher should reduce the print spools size when compared to earlier Sun JDK's. This example requires JDK 1.5 or higher
A PDF documents full path must be specified when the application starts. The following is an example of how the applications is started
>java examples.printServices.PrintServices "F:\PDF Test Cases\support\test_doc.pdf
| Constructor Summary | |
PrintServices()
|
|
| Method Summary | |
static void |
main(String[] args)
Attempts to Print PDF documents which are specified as application arguments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrintServices()
| Method Detail |
public static void main(String[] args)
args - list of files which should be printed by the application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||