Printing Barcode with Print Preview - Web Client

Hi all

I am having some trouble to find the way to print a barcode. I use the barcode bean but when I do Print Preview in Web Client it generates a PDF but it doesnt work, the bean field looses the data I have assigned programtically. Is there a way to make an image of the bean to paste it to another field ? or should i use the jasper reports?

thank you…

Do you use our component? And, if so, is it really the bean or the plugin?

I am using the bean provided with Servoy 4.1, do not know if it is yours.

I am not aware of a barcode bean provided by servoy.
Can you show some code?

Its name seems to be JBarcodeBean. Either comes with Servoy or may be it is a free Bean loaded from some Servoy related Web Page.

The JBarcodebean is, as far as I know, not related to servoy and also not part of their distribution.
I think it comes from a sourceforge project.

I don’t have any experience with it unfortunately. Maybe somebody else.

You could also try using our plugin. You can read more about it here: http://www.it2be.com/index.php/plugins- … de-plug-in

Marcel,

the aplication requires barcode 2 of 5 Interleaved, does your bean/plugin support it ?

Not yet, for that I would have to include new libs. I just checked, they are available.
When you want them included I can do so but you would have to create a ticket in our support system at http://www.it2be.com/index.php/support (you have to sign up).

Thank you Marcel, I will do it soon !

For the purpose of our needs we finally could make it work using function aplication.createJPGImage , that converts the bean content in a global variable containing the image; we then assign this global variable as dataprovider of an image field that works perfect in web client Print Preview.

Thanks to Marcel and jbader for their help !