net.sf.jasperreports.engine.print
public class JRPrinterAWT extends java.lang.Object implements java.awt.print.Printable
Modifier | Constructor and Description |
---|---|
protected |
JRPrinterAWT(JasperPrint jrPrint) |
Modifier and Type | Method and Description |
---|---|
static long |
getImageSize(JasperPrint jasperPrint,
float zoom) |
static void |
initPrinterJobFields(java.awt.print.PrinterJob job)
Fix for bug ID 6255588 from Sun bug database
|
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
static boolean |
printPages(JasperPrint jrPrint,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static java.awt.Image |
printPageToImage(JasperPrint jrPrint,
int pageIndex,
float zoom) |
protected JRPrinterAWT(JasperPrint jrPrint) throws JRException
JRException
public static boolean printPages(JasperPrint jrPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRException
public static java.awt.Image printPageToImage(JasperPrint jrPrint, int pageIndex, float zoom) throws JRException
JRException
public int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex) throws java.awt.print.PrinterException
print
in interface java.awt.print.Printable
java.awt.print.PrinterException
public static void initPrinterJobFields(java.awt.print.PrinterJob job)
job
- print job that the fix applies topublic static long getImageSize(JasperPrint jasperPrint, float zoom)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com