public class JasperExplicitPrinterPrintManager
extends net.sf.jasperreports.engine.print.JRPrinterAWT
EXCEPTION_MESSAGE_KEY_ERROR_PRINTING_REPORT, EXCEPTION_MESSAGE_KEY_INVALID_PAGE_RANGENO_SUCH_PAGE, PAGE_EXISTS| Modifier | Constructor and Description |
|---|---|
protected |
JasperExplicitPrinterPrintManager(net.sf.jasperreports.engine.JasperPrint jrPrint)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
print(net.sf.jasperreports.engine.JasperPrint jrPrint,
String printerName)
Prints the given image to a given printer.
|
static void |
printPages(net.sf.jasperreports.engine.JasperPrint jrPrint,
int firstPageIndex,
int lastPageIndex,
String printerName)
Prints the given pages of the print..
|
protected JasperExplicitPrinterPrintManager(net.sf.jasperreports.engine.JasperPrint jrPrint)
throws net.sf.jasperreports.engine.JRException
jrPrint - The JasperPrintnet.sf.jasperreports.engine.JRException - Initialization may failpublic static void print(net.sf.jasperreports.engine.JasperPrint jrPrint,
String printerName)
jrPrint - The print imageprinterName - The name of the printer to print onpublic static void printPages(net.sf.jasperreports.engine.JasperPrint jrPrint,
int firstPageIndex,
int lastPageIndex,
String printerName)
throws net.sf.jasperreports.engine.JRException
jrPrint - (missing javadoc)firstPageIndex - (missing javadoc)lastPageIndex - (missing javadoc)printerName - (missing javadoc)net.sf.jasperreports.engine.JRException - (missing javadoc)Copyright © 2006–2017 Esito AS. All rights reserved.