Skip to main content



      Home
Home » Archived » BIRT » barcode via Dynamic Image
barcode via Dynamic Image [message #364730] Tue, 19 August 2008 14:16 Go to next message
Eclipse UserFriend
Originally posted by: spam2.logemann.org

Hi,

i want to embed Barcodes by generating them on the fly as images with a
barcode java library and send the raw image data to Birt.

I saw that an image in birt can be from a dynamic source. Has anyone
ever done this? In Birt you can select a DataSet (why a dataset) or a
Report Item for an image.

So normally i would do in my calling java program:

task.getAppContext().put("imageRaw",
someByteArrayOutputStream.toByteArray());

So i would pass a byte[] to the birt context and bind this to a DataSet
or something else....

Do you think this will work? Anyone done something similar?

Marc
Re: barcode via Dynamic Image [message #364733 is a reply to message #364730] Tue, 19 August 2008 15:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam2.logemann.org

Hi,

its so nice when ideas instantly work. For all those interessted in the
solution. See this:

http://logemannreloaded.blogspot.com/2008/08/embed-barcodes- in-birt-wo-barcode-fonts.html

Marc


Marc Logemann schrieb:
> Hi,
>
> i want to embed Barcodes by generating them on the fly as images with a
> barcode java library and send the raw image data to Birt.
>
> I saw that an image in birt can be from a dynamic source. Has anyone
> ever done this? In Birt you can select a DataSet (why a dataset) or a
> Report Item for an image.
>
> So normally i would do in my calling java program:
>
> task.getAppContext().put("imageRaw",
> someByteArrayOutputStream.toByteArray());
>
> So i would pass a byte[] to the birt context and bind this to a DataSet
> or something else....
>
> Do you think this will work? Anyone done something similar?
>
> Marc
Re: barcode via Dynamic Image [message #364739 is a reply to message #364730] Tue, 19 August 2008 22:20 Go to previous messageGo to next message
Eclipse UserFriend
Marc Logemann wrote:
> Hi,
>
> i want to embed Barcodes by generating them on the fly as images with a
> barcode java library and send the raw image data to Birt.
>
> I saw that an image in birt can be from a dynamic source. Has anyone
> ever done this? In Birt you can select a DataSet (why a dataset) or a
> Report Item for an image.
>
> So normally i would do in my calling java program:
>
> task.getAppContext().put("imageRaw",
> someByteArrayOutputStream.toByteArray());
>
> So i would pass a byte[] to the birt context and bind this to a DataSet
> or something else....
>
> Do you think this will work? Anyone done something similar?
>
> Marc


We're using BIRT to generate barcodes, but I've been using barcode fonts
and embedding the fonts in PDFs. We've gotten this font based method to
work with Code39 and Code 128 fonts.

I'd be interested in using images as you describe if you ever get it
working.

Steven
Re: barcode via Dynamic Image [message #364755 is a reply to message #364739] Wed, 20 August 2008 12:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam2.logemann.org

i already postet the solution in this thread. Perhaps it also works for
you....

Marc

Steven F. schrieb:
> Marc Logemann wrote:
>> Hi,
>>
>> i want to embed Barcodes by generating them on the fly as images with
>> a barcode java library and send the raw image data to Birt.
>>
>> I saw that an image in birt can be from a dynamic source. Has anyone
>> ever done this? In Birt you can select a DataSet (why a dataset) or a
>> Report Item for an image.
>>
>> So normally i would do in my calling java program:
>>
>> task.getAppContext().put("imageRaw",
>> someByteArrayOutputStream.toByteArray());
>>
>> So i would pass a byte[] to the birt context and bind this to a
>> DataSet or something else....
>>
>> Do you think this will work? Anyone done something similar?
>>
>> Marc
>
>
> We're using BIRT to generate barcodes, but I've been using barcode fonts
> and embedding the fonts in PDFs. We've gotten this font based method to
> work with Code39 and Code 128 fonts.
>
> I'd be interested in using images as you describe if you ever get it
> working.
>
> Steven
icon10.gif  Re: barcode via Dynamic Image [message #765989 is a reply to message #364730] Wed, 14 December 2011 22:15 Go to previous messageGo to next message
Eclipse UserFriend
Razz Hi, Marc.
I have met the similar question as yours. You may have a try with Onbarcode's Java Barcode Generator for Eclipse BIRT which provides several methods to generate and print barcodes in Eclipse BIRT reports.Hope it helped you.Good luck for you!
Re: barcode via Dynamic Image [message #900980 is a reply to message #765989] Thu, 09 August 2012 05:48 Go to previous messageGo to next message
Eclipse UserFriend
Onbarcode.com is a really excellent website which provides high quality linear and 2D barcode generator, reader and scanner in .NET AND JAVA applications. I conclude from what I have used. Recently, I find another one(Terrek.com) which is as good as Onbarcode. It is much cheaper with FREE version to try. You may have try it in someday! Good luck!
Re: barcode via Dynamic Image [message #1077061 is a reply to message #900980] Thu, 01 August 2013 03:42 Go to previous message
Eclipse UserFriend
as for your question, you may try ka barcode generator for eclipse

[Updated on: Wed, 12 February 2014 02:08] by Moderator

Previous Topic:Does BIRT support XPath Axes?
Next Topic:Render while report is generated
Goto Forum:
  


Current Time: Mon Apr 14 19:13:42 EDT 2025

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

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

Back to the top