Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

By: John Pollard - johnnypoll

Viewing PDF

2002-05-21 06:55

JasperViewer 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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...