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
JRException
public JRPrinterAWT(JasperReportsContext jasperReportsContext, JasperPrint jasperPrint) throws JRException
JRException
public static boolean printPages(JasperPrint jrPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRException
printPages(int, int, boolean)
public static Image printPageToImage(JasperPrint jrPrint, int pageIndex, float zoom) throws JRException
JRException
printPageToImage(int, float)
public boolean printPages(int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRException
public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
print
in interface Printable
PrinterException
public Image printPageToImage(int pageIndex, float zoom) throws JRException
JRException
public static void initPrinterJobFields(PrinterJob job)
job
- print job that the fix applies topublic static long getImageSize(JasperPrint jasperPrint, float zoom)
Copyright © 2016. All rights reserved.