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.
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.