public final class JasperPrintManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CHECK_AVAILABLE_PRINTERS
Property whose value is used to check the availability of printers accepting jobs.
|
protected static boolean |
unixSunJDK |
| Modifier and Type | Method and Description |
|---|---|
static JasperPrintManager |
getInstance(JasperReportsContext jasperReportsContext) |
boolean |
print(java.io.InputStream inputStream,
boolean withPrintDialog) |
boolean |
print(java.io.InputStream inputStream,
int pageIndex,
boolean withPrintDialog) |
boolean |
print(java.io.InputStream inputStream,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
boolean |
print(JasperPrint jasperPrint,
boolean withPrintDialog) |
boolean |
print(JasperPrint jasperPrint,
int pageIndex,
boolean withPrintDialog) |
boolean |
print(JasperPrint jasperPrint,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
boolean |
print(java.lang.String sourceFileName,
boolean withPrintDialog) |
boolean |
print(java.lang.String sourceFileName,
int pageIndex,
boolean withPrintDialog) |
boolean |
print(java.lang.String sourceFileName,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static boolean |
printPage(java.io.InputStream inputStream,
int pageIndex,
boolean withPrintDialog) |
static boolean |
printPage(JasperPrint jasperPrint,
int pageIndex,
boolean withPrintDialog) |
static boolean |
printPage(java.lang.String sourceFileName,
int pageIndex,
boolean withPrintDialog) |
static boolean |
printPages(java.io.InputStream inputStream,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static boolean |
printPages(JasperPrint jasperPrint,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static boolean |
printPages(java.lang.String sourceFileName,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog) |
static java.awt.Image |
printPageToImage(java.io.InputStream inputStream,
int pageIndex,
float zoom) |
static java.awt.Image |
printPageToImage(JasperPrint jasperPrint,
int pageIndex,
float zoom) |
static java.awt.Image |
printPageToImage(java.lang.String sourceFileName,
int pageIndex,
float zoom) |
static boolean |
printReport(java.io.InputStream inputStream,
boolean withPrintDialog) |
static boolean |
printReport(JasperPrint jasperPrint,
boolean withPrintDialog) |
static boolean |
printReport(java.lang.String sourceFileName,
boolean withPrintDialog) |
java.awt.Image |
printToImage(java.io.InputStream inputStream,
int pageIndex,
float zoom) |
java.awt.Image |
printToImage(JasperPrint jasperPrint,
int pageIndex,
float zoom) |
java.awt.Image |
printToImage(java.lang.String sourceFileName,
int pageIndex,
float zoom) |
public static final java.lang.String PROPERTY_CHECK_AVAILABLE_PRINTERS
true.protected static final boolean unixSunJDK
public static JasperPrintManager getInstance(JasperReportsContext jasperReportsContext)
public boolean print(java.lang.String sourceFileName,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(java.io.InputStream inputStream,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(JasperPrint jasperPrint, boolean withPrintDialog) throws JRException
JRExceptionpublic boolean print(java.lang.String sourceFileName,
int pageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(java.io.InputStream inputStream,
int pageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(JasperPrint jasperPrint, int pageIndex, boolean withPrintDialog) throws JRException
JRExceptionpublic boolean print(java.lang.String sourceFileName,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(java.io.InputStream inputStream,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionpublic boolean print(JasperPrint jasperPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRExceptionpublic java.awt.Image printToImage(java.lang.String sourceFileName,
int pageIndex,
float zoom)
throws JRException
JRExceptionpublic java.awt.Image printToImage(java.io.InputStream inputStream,
int pageIndex,
float zoom)
throws JRException
JRExceptionpublic java.awt.Image printToImage(JasperPrint jasperPrint, int pageIndex, float zoom) throws JRException
JRExceptionpublic static boolean printReport(java.lang.String sourceFileName,
boolean withPrintDialog)
throws JRException
JRExceptionprint(String, boolean)public static boolean printReport(java.io.InputStream inputStream,
boolean withPrintDialog)
throws JRException
JRExceptionprint(InputStream, boolean)public static boolean printReport(JasperPrint jasperPrint, boolean withPrintDialog) throws JRException
JRExceptionprint(JasperPrint, boolean)public static boolean printPage(java.lang.String sourceFileName,
int pageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionprint(String, int, boolean)public static boolean printPage(java.io.InputStream inputStream,
int pageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionprint(InputStream, int, boolean)public static boolean printPage(JasperPrint jasperPrint, int pageIndex, boolean withPrintDialog) throws JRException
JRExceptionprint(JasperPrint, int, boolean)public static boolean printPages(java.lang.String sourceFileName,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionprint(String, int, int, boolean)public static boolean printPages(java.io.InputStream inputStream,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
JRExceptionprint(InputStream, int, int, boolean)public static boolean printPages(JasperPrint jasperPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog) throws JRException
JRExceptionprint(JasperPrint, int, int, boolean)public static java.awt.Image printPageToImage(java.lang.String sourceFileName,
int pageIndex,
float zoom)
throws JRException
JRExceptionprintToImage(String, int, float)public static java.awt.Image printPageToImage(java.io.InputStream inputStream,
int pageIndex,
float zoom)
throws JRException
JRExceptionprintToImage(InputStream, int, float)public static java.awt.Image printPageToImage(JasperPrint jasperPrint, int pageIndex, float zoom) throws JRException
JRExceptionprintToImage(JasperPrint, int, float)© 2001-2010 Jaspersoft Corporation www.jaspersoft.com