Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Printing report(Using API with no viewer)
Printing report [message #632158] Mon, 11 October 2010 15:08 Go to next message
Arnold  is currently offline Arnold
Messages: 6
Registered: July 2010
Junior Member
I integrated the BIRT engine in my application and looking now for a way to print the reports using the engine API.
I don't use the web viewer, but rendering the report to html and show it on my jsp pages.
Re: Printing report [message #632174 is a reply to message #632158] Mon, 11 October 2010 17:53 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Arnold,

The engine can produce the pdf or ps file but you have to have other
classes to call the printer dialog etc. You can find out how the
viewer does it by checking out the viewer code. The viewer uses the
javax.print packages. Look at the Printer.java and PrintUtility.java
classes. These are located in the org.eclipse.birt.report.utility
package in the viewer code.

Jason

On 10/11/2010 3:08 PM, Arnold wrote:
> I integrated the BIRT engine in my application and looking now for a way
> to print the reports using the engine API.
> I don't use the web viewer, but rendering the report to html and show it
> on my jsp pages.
Previous Topic:java.lang.UnsupportedOperationException: setSpecification is not supported.
Next Topic: ≤ , ≥ and ≠ not printing in pdf
Goto Forum:
  


Current Time: Fri Aug 29 16:39:05 EDT 2014

Powered by FUDForum. Page generated in 0.04450 seconds