Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » barcode via Dynamic Image
barcode via Dynamic Image [message #364730] Tue, 19 August 2008 18:16 Go to next message
Eclipse User
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 19:39 Go to previous messageGo to next message
Eclipse User
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] Wed, 20 August 2008 02:20 Go to previous messageGo to next message
Steven is currently offline Steven
Messages: 32
Registered: July 2009
Member
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 16:15 Go to previous messageGo to next message
Eclipse User
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] Thu, 15 December 2011 03:15 Go to previous messageGo to next message
Juluia  is currently offline Juluia
Messages: 5
Registered: December 2011
Junior Member
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 09:48 Go to previous messageGo to next message
lighting wang is currently offline lighting wang
Messages: 2
Registered: August 2012
Junior Member
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 07:42 Go to previous message
mariah sharp is currently offline mariah sharp
Messages: 6
Registered: July 2013
Junior Member
as for your question, you may try ka barcode generator for eclipse

[Updated on: Wed, 12 February 2014 07:08]

Report message to a moderator

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


Current Time: Wed Oct 22 08:04:13 GMT 2014

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

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