2001 JI Open Discussion Posted August 14, 2006 Share Posted August 14, 2006 By: John Pollard - johnnypoll Viewing PDF 2002-05-21 06:55JasperViewer can be used to display JasperPrint data. I am interested in why JasperPrint is used instead of going directly to PDF? Also, when printing, is PDF generated to feed to the printer? Thanks John By: Teodor Danciu - teodord RE: Viewing PDF 2002-05-21 07:24 Hi, JasperPrint is the basic and most important output format. PDF output is an optional output format like the XML output that I have recently introduced and like other formats that will come in the future (RTF, HTML, CSV, etc). If we wouldn't have this basic format, which is in fact a serialized object, we would not be able to generate other formats by implementing different JasperReports printers (JRPrinterPDF, JRPrinterXML, etc) To print documents, the library uses Java Print API. Check the JRPrinterAWT class to see how it's done. Thanks, Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now