| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_ERROR_PRINTING_REPORT |
static String |
EXCEPTION_MESSAGE_KEY_INVALID_PAGE_RANGE |
NO_SUCH_PAGE, PAGE_EXISTS| Modifier | Constructor and Description |
|---|---|
protected |
JRPrinterAWT(JasperPrint jrPrint) |
|
JRPrinterAWT(JasperReportsContext jasperReportsContext,
JasperPrint jasperPrint) |
| Modifier and Type | Method and Description |
|---|---|
static long |
getImageSize(JasperPrint jasperPrint,
float zoom)
Deprecated.
To be removed.
|
static void |
initPrinterJobFields(PrinterJob job)
Fix for bug ID 6255588 from Sun bug database
|
int |
print(Graphics graphics,
PageFormat pageFormat,
int pageIndex) |
boolean |
printPages(int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static boolean |
printPages(JasperPrint jrPrint,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
Image |
printPageToImage(int pageIndex,
float zoom) |
static Image |
printPageToImage(JasperPrint jrPrint,
int pageIndex,
float zoom) |
public static final String EXCEPTION_MESSAGE_KEY_INVALID_PAGE_RANGE
public static final String EXCEPTION_MESSAGE_KEY_ERROR_PRINTING_REPORT
protected JRPrinterAWT(JasperPrint jrPrint) throws JRException
JRExceptionpublic JRPrinterAWT(JasperReportsContext jasperReportsContext, JasperPrint jasperPrint) throws JRException
JRExceptionpublic static boolean printPages(JasperPrint jrPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRExceptionprintPages(int, int, boolean)public static Image printPageToImage(JasperPrint jrPrint, int pageIndex, float zoom) throws JRException
JRExceptionprintPageToImage(int, float)public boolean printPages(int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionpublic int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
print in interface PrintablePrinterExceptionpublic Image printPageToImage(int pageIndex, float zoom) throws JRException
JRExceptionpublic static void initPrinterJobFields(PrinterJob job)
job - print job that the fix applies topublic static long getImageSize(JasperPrint jasperPrint, float zoom)
Copyright © 2017. All rights reserved.