net.sf.jasperreports.engine
Class JasperPrintManager
java.lang.Object
net.sf.jasperreports.engine.JasperPrintManager
public final class JasperPrintManager
- extends java.lang.Object
Fa�ade class for the JasperReports engine.
- Version:
- $Id: JasperPrintManager.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Teodor Danciu ([email protected])
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_CHECK_AVAILABLE_PRINTERS
public static final java.lang.String PROPERTY_CHECK_AVAILABLE_PRINTERS
- Property whose value is used to check the availability of printers accepting jobs.
This property is by default set to
true
.
- See Also:
- Constant Field Values
unixSunJDK
protected static final boolean unixSunJDK
printReport
public static boolean printReport(java.lang.String sourceFileName,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printReport
public static boolean printReport(java.io.InputStream inputStream,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printReport
public static boolean printReport(JasperPrint jasperPrint,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPage
public static boolean printPage(java.lang.String sourceFileName,
int pageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPage
public static boolean printPage(java.io.InputStream inputStream,
int pageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPage
public static boolean printPage(JasperPrint jasperPrint,
int pageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPages
public static boolean printPages(java.lang.String sourceFileName,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPages
public static boolean printPages(java.io.InputStream inputStream,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPages
public static boolean printPages(JasperPrint jasperPrint,
int firstPageIndex,
int lastPageIndex,
boolean withPrintDialog)
throws JRException
- Throws:
JRException
printPageToImage
public static java.awt.Image printPageToImage(java.lang.String sourceFileName,
int pageIndex,
float zoom)
throws JRException
- Throws:
JRException
printPageToImage
public static java.awt.Image printPageToImage(java.io.InputStream inputStream,
int pageIndex,
float zoom)
throws JRException
- Throws:
JRException
printPageToImage
public static java.awt.Image printPageToImage(JasperPrint jasperPrint,
int pageIndex,
float zoom)
throws JRException
- Throws:
JRException
Copyright © 2011. All Rights Reserved.