Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Export Report
Export Report [message #368466] Mon, 01 June 2009 17:07 Go to next message
R. S. Patil is currently offline R. S. PatilFriend
Messages: 13
Registered: July 2009
Junior Member
hi,

I am evaluating Birt as probable reporting solution
for our web application. I have created a test report
and found that its much easier to create reports in Birt.
Very happy about development learning curve, features available
and facility to export Formated report in PDF, XLS, Word, HTML.
Since our planned web application is port of Lan based, database
centric, heavy printing C/S desktop Delphi application we feel that
printing in graphics mode may cause dissatisfaction in users
so we would like to have a plain text export of formatted report
which users can print in fast dot matrix mode i.e. pure
character mode printing. Is there any extension is readily
available for this ? We have found that printing PDF takes at least
5 to 6 times more time than printing same info in draft mode
on dot matrix printer.

if not, how can we develop it on our own ? any clues.
At present we are using own such extension in Delphi (report builder)
application. It creates a <rptname>.txt file and users simply
use copy <rptname>.txt lpt1: in XP command prompt.

Hope somebody might have thought about this and have
some workaround to deal with this situation.

Thanks and Best regards.

R. S. Patil
Re: Export Report [message #368467 is a reply to message #368466] Mon, 01 June 2009 17:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

You can currently do an csv export of the report, but I assume you want
formatting. You have two options 1-develop your own BIRT emitter or
develop your own export to add formatting. In the source you can look
at the current emitters for examples. We also have described the
emitter extensions in the Integrating and Extending BIRT book.

Jason

R. S. Patil wrote:
> hi,
>
> I am evaluating Birt as probable reporting solution
> for our web application. I have created a test report
> and found that its much easier to create reports in Birt.
> Very happy about development learning curve, features available
> and facility to export Formated report in PDF, XLS, Word, HTML.
> Since our planned web application is port of Lan based, database
> centric, heavy printing C/S desktop Delphi application we feel that
> printing in graphics mode may cause dissatisfaction in users
> so we would like to have a plain text export of formatted report
> which users can print in fast dot matrix mode i.e. pure
> character mode printing. Is there any extension is readily
> available for this ? We have found that printing PDF takes at least
> 5 to 6 times more time than printing same info in draft mode
> on dot matrix printer.
> if not, how can we develop it on our own ? any clues.
> At present we are using own such extension in Delphi (report builder)
> application. It creates a <rptname>.txt file and users simply
> use copy <rptname>.txt lpt1: in XP command prompt.
> Hope somebody might have thought about this and have
> some workaround to deal with this situation.
>
> Thanks and Best regards.
>
> R. S. Patil
Re: Export Report [message #368473 is a reply to message #368467] Tue, 02 June 2009 02:57 Go to previous messageGo to next message
R. S. Patil is currently offline R. S. PatilFriend
Messages: 13
Registered: July 2009
Junior Member
Thanks Jason,

> You can currently do an csv export of the report, but I assume you want
> formatting. You have two options 1-develop your own BIRT emitter or
> develop your own export to add formatting. In the source you can look
> at the current emitters for examples. We also have described the
> emitter extensions in the Integrating and Extending BIRT book.

I am new to Birt so I am not in position to choose between the two
options. I can tell u what we did with Report Builder so that u can
guide me about choosing the right path.

In Report Builder there is feature that every rendered page is sent
to a renderer with each report elements x,y positions, Width height
in specific units such as inches/mm/pinter pixels, screen pixels etc etc,
element type, element data such as font, line wt, image,
text (Final formatted) etc.etc. There are also Begindoc, endDoc,
page begin, page end events passed to renderer. The data comes to renderer
in sorted fashion First page to last page and within page left top to
Right bottom x,y postions sequentially. We used Begindoc to Create file
and end doc to close file. Page begin to create page character array
and Page end to flush array to file and element paint events to populate
the page array.

In short the fine working pdf export can suffice to us since it creates
the paginated output only thing we want in it is a plain text output
instead of in PDF format.

Please Guide us about path to be followed own BIRT emitter or
own exporter to be written.

Thanks and Best Regards

Raja Patil
Re: Export Report [message #368488 is a reply to message #368473] Wed, 03 June 2009 15:56 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

Raja,

If you want locations and other information in the report such as
formatting you will need to do an emitter.


As examples look either in the birt source or

http://www.developer.com/xml/article.php/3732446
http://sourceforge.net/projects/tribix/
http://digiassn.blogspot.com/2007/08/birt-writing-emitter.ht ml

Jason

R. S. Patil wrote:
> Thanks Jason,
>
>> You can currently do an csv export of the report, but I assume you
>> want formatting. You have two options 1-develop your own BIRT
>> emitter or develop your own export to add formatting. In the source
>> you can look at the current emitters for examples. We also have
>> described the emitter extensions in the Integrating and Extending BIRT
>> book.
>
> I am new to Birt so I am not in position to choose between the two
> options. I can tell u what we did with Report Builder so that u can
> guide me about choosing the right path.
> In Report Builder there is feature that every rendered page is sent to a
> renderer with each report elements x,y positions, Width height in
> specific units such as inches/mm/pinter pixels, screen pixels etc etc,
> element type, element data such as font, line wt, image, text (Final
> formatted) etc.etc. There are also Begindoc, endDoc, page begin, page
> end events passed to renderer. The data comes to renderer in sorted
> fashion First page to last page and within page left top to Right bottom
> x,y postions sequentially. We used Begindoc to Create file and end doc
> to close file. Page begin to create page character array and Page end to
> flush array to file and element paint events to populate the page array.
>
> In short the fine working pdf export can suffice to us since it creates
> the paginated output only thing we want in it is a plain text output
> instead of in PDF format.
>
> Please Guide us about path to be followed own BIRT emitter or
> own exporter to be written.
>
> Thanks and Best Regards
>
> Raja Patil
>
Previous Topic:Feature 'xsi' not found
Next Topic:Birt / WebSphere / Java 2 Security
Goto Forum:
  


Current Time: Thu Apr 25 21:29:27 GMT 2024

Powered by FUDForum. Page generated in 0.03734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top