Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Print HTML directly using BIRT
Print HTML directly using BIRT [message #231088] Thu, 29 March 2007 05:08 Go to next message
Kaustubh is currently offline Kaustubh
Messages: 16
Registered: July 2009
Junior Member
I am running the report is background using IRunTask and related
interface. I save the report in HTML format on the disk for the time
being. What i want to know if can i print the HTML report using BIRT. Or
can i send the OutputStream directly to the printer using some Interface
or classes in BIRT.

Let me know if anybody has any idea.

Thanks
KC
Re: Print HTML directly using BIRT [message #231176 is a reply to message #231088] Thu, 29 March 2007 12:05 Go to previous messageGo to next message
Eclipse User
Originally posted by: jasonweathersby.alltel.net

KC,

Why not use java.awt.print?
The viewer does the print in AJAX using window.print().
I would assume you would just want to print in batch. I would
look the java.awt.print package.


Jason

Kautsubh Chaporkar wrote:
> I am running the report is background using IRunTask and related
> interface. I save the report in HTML format on the disk for the time
> being. What i want to know if can i print the HTML report using BIRT. Or
> can i send the OutputStream directly to the printer using some Interface
> or classes in BIRT.
>
> Let me know if anybody has any idea.
>
> Thanks
> KC
>
Re: Print HTML directly using BIRT [message #231679 is a reply to message #231088] Sat, 31 March 2007 10:13 Go to previous messageGo to next message
Eclipse User
Originally posted by: merekpaine.hotmail.com

Hi Jason,

I am very keen on this topic and would appreciate if you could shed some
more light on this. I recently tested the web viewer servlet within my
application and has left me with a few questions to ask - (considering that
I am completely new to Birt and the printing).

I understand, to display reports in multiple HTML pages (i.e a report design
page with a 2 page setup), the frameset servet is used, is this correct?
My main concern is to have the abilty to automacally print multiple pages
documents/reports (without any human intervention), in other words once a
request for a report is diaplayed to a user, a printed version is
automatiaclly printed. Would the printer print exactly what the user sees
(i.e 2 pages)

Lets say I have a java.awt.print printer class, would it be as simple as
passing the report design file or OutputStream of the file and the the print
api would automaticlly know how many pages to print or some form of coding
needs to be done to achieve this?

I have read some stuff about Birt supporting printing What does Birt
currently support in terms of printing?

Look forward to your response.

Thanks in advance.

Mike





Questions I have been

"Kautsubh Chaporkar" <kaustubh.chaporkar@s1.com> wrote in message
news:bfae83875a743ac7885a3d6bdc6c1424$1@www.eclipse.org...
>I am running the report is background using IRunTask and related interface.
>I save the report in HTML format on the disk for the time being. What i
>want to know if can i print the HTML report using BIRT. Or can i send the
>OutputStream directly to the printer using some Interface or classes in
>BIRT.
>
> Let me know if anybody has any idea.
>
> Thanks
> KC
>
Re: Print HTML directly using BIRT [message #231793 is a reply to message #231679] Mon, 02 April 2007 11:34 Go to previous message
Eclipse User
Originally posted by: jasonweathersby.alltel.net

Mike,

When you select the print button on the viewer toolbar it runs the /run
servlet producing a pdf document which thens uses the standard print
manager. You can use the report engine api to produce this pdf and then
use the java.awt.print stuff to do the printing. I have not tried this,
but it should work.

Jason


mikey wrote:
> Hi Jason,
>
> I am very keen on this topic and would appreciate if you could shed some
> more light on this. I recently tested the web viewer servlet within my
> application and has left me with a few questions to ask - (considering that
> I am completely new to Birt and the printing).
>
> I understand, to display reports in multiple HTML pages (i.e a report design
> page with a 2 page setup), the frameset servet is used, is this correct?
> My main concern is to have the abilty to automacally print multiple pages
> documents/reports (without any human intervention), in other words once a
> request for a report is diaplayed to a user, a printed version is
> automatiaclly printed. Would the printer print exactly what the user sees
> (i.e 2 pages)
>
> Lets say I have a java.awt.print printer class, would it be as simple as
> passing the report design file or OutputStream of the file and the the print
> api would automaticlly know how many pages to print or some form of coding
> needs to be done to achieve this?
>
> I have read some stuff about Birt supporting printing What does Birt
> currently support in terms of printing?
>
> Look forward to your response.
>
> Thanks in advance.
>
> Mike
>
>
>
>
>
> Questions I have been
>
> "Kautsubh Chaporkar" <kaustubh.chaporkar@s1.com> wrote in message
> news:bfae83875a743ac7885a3d6bdc6c1424$1@www.eclipse.org...
>> I am running the report is background using IRunTask and related interface.
>> I save the report in HTML format on the disk for the time being. What i
>> want to know if can i print the HTML report using BIRT. Or can i send the
>> OutputStream directly to the printer using some Interface or classes in
>> BIRT.
>>
>> Let me know if anybody has any idea.
>>
>> Thanks
>> KC
>>
>
>
Previous Topic:Managing XML Datasource with subgroups.
Next Topic:What BIRT version for production system
Goto Forum:
  


Current Time: Tue May 21 17:48:53 EDT 2013

Powered by FUDForum. Page generated in 0.05760 seconds