org.jpedal.examples.printing
Class SilentPrint

java.lang.Object
  extended by org.jpedal.examples.printing.SilentPrint

public class SilentPrint
extends java.lang.Object

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

customSetting

public static boolean customSetting
used to enable printing a page at a spec index


pageMark

public static int pageMark
number of page to be printed


printJob

public static java.awt.print.PrinterJob printJob
needs to be global for the printer selection to work

Constructor Detail

SilentPrint

public SilentPrint()
So it can be used for testing without any bigger changes in the actual code


SilentPrint

public SilentPrint(java.lang.String file_name)
example method to open a file and print the pages

Method Detail

main

public static void main(java.lang.String[] args)
main routine which checks for any files passed and runs the demo