Skip to main content

PRINT REPORTS IN JAVA

1 reply [Last post]
rajendratwist
Offline
Joined: 2009-05-17
Points: 0

Hi,
I want to create and print reports from default printer using Java Codes. Can anybody tell which type of reporting tool I have to use and forward me code to print that report

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
christiaan_se
Offline
Joined: 2006-07-13
Points: 0

Hi,
depends on what you want to print. A well known open source reporting framework is JasperReports:
http://jasperforge.org/website/jasperreportswebsite/trunk/documentation....

or BIRT:
http://www.eclipse.org/birt/phoenix/

Printing a JTable is supported by java (see java doc). Printing other swing components can be done use J2PrinterWorks:
http://www.wildcrest.com/Software/J2PrinterWorks/J2PrinterWorksREADME.html

kind regards,
Christiaan