examples.printServices
Class PrintServices

java.lang.Object
  extended byexamples.printServices.PrintServices

public class PrintServices
extends Object

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

Author:
ICEsoft Technologies, Inc.

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

PrintServices

public PrintServices()
Method Detail

main

public static void main(String[] args)
Attempts to Print PDF documents which are specified as application arguments.

Parameters:
args - list of files which should be printed by the application