edu.northwestern.at.utils.swing.printing
Class PrinterSettings

java.lang.Object
  extended by edu.northwestern.at.utils.swing.printing.PrinterSettings

public class PrinterSettings
extends java.lang.Object

Printer Settings.

Provides default PageFormat and PrinterJob objects for use by other classes in this print package.


Field Summary
static java.awt.print.PageFormat pageFormat
          The global printer page format.
static java.awt.print.PrinterJob printerJob
          The global printer job.
 
Constructor Summary
protected PrinterSettings()
          Can't instantiate but can override.
 
Method Summary
static void doPageSetup()
          Run printer page setup dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

printerJob

public static java.awt.print.PrinterJob printerJob
The global printer job.


pageFormat

public static java.awt.print.PageFormat pageFormat
The global printer page format.

Constructor Detail

PrinterSettings

protected PrinterSettings()
Can't instantiate but can override.

Method Detail

doPageSetup

public static void doPageSetup()
Run printer page setup dialog.