| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elixirtech.glint.print.PrinterUtil
public final class PrinterUtil
Printer util to provide OS under printer
| Method Summary | |
|---|---|
static javax.print.attribute.standard.MediaSizeName | 
findMedia(java.lang.String media,
          float width,
          float height,
          int sz)
 | 
static javax.print.PrintService | 
getDefaultPrintService()
Get default Print service.  | 
static java.awt.print.PageFormat | 
getPageFormat(com.elixirtech.glint.IEye.PageSetup pageSetup)
 | 
static java.lang.String[] | 
getPrinters()
Retrieve printer deployed on the system.  | 
static javax.print.PrintService[] | 
getPrintServices()
Retrieve Print services.  | 
static java.awt.print.PageFormat | 
getScaledPageFormat(com.elixirtech.glint.IEye.PageSetup pageSetup,
                    java.awt.Dimension physicalPageSize)
 | 
static javax.print.PrintService | 
getSelectedPrintService(java.lang.String printerName)
Get selected Print services.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static java.lang.String[] getPrinters()
String[] Array of string of printer names.public static javax.print.PrintService[] getPrintServices()
PrintService[] Array of PrintServices.public static javax.print.PrintService getSelectedPrintService(java.lang.String printerName)
PrintService[] Array of PrintServices.public static javax.print.PrintService getDefaultPrintService()
PrintService[] Array of PrintServices.
public static javax.print.attribute.standard.MediaSizeName findMedia(java.lang.String media,
                                                                     float width,
                                                                     float height,
                                                                     int sz)
public static java.awt.print.PageFormat getPageFormat(com.elixirtech.glint.IEye.PageSetup pageSetup)
public static java.awt.print.PageFormat getScaledPageFormat(com.elixirtech.glint.IEye.PageSetup pageSetup,
                                                            java.awt.Dimension physicalPageSize)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||