Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
rahulkrishna081980
Posts: 18
Registered: ‎11-16-2011
My Device: 9900
My Carrier: blackberry

How to generate BARCODE from text

Hi All,

 

Please tell How to generate BARCODE (NOT THE QRCODE)  from text. in JDE OS 5.0 and above.

Please provide me the sample code or link how to generate the BARCODE not the QRCODE.

 

Thanks in advance.

 

 

Rahul

 

Please use plain text.
Developer
alishaik786
Posts: 285
Registered: ‎08-26-2011
My Device: 9900
My Carrier: Not Specified

Re: How to generate BARCODE from text

As per my knowledge we have only the QRCODE Generation not any other.
=================================================================================
Feel free to click LIKE button if the solution helps you;
--
Regards,

ALI SHAIK.
Please use plain text.
Developer
peter_strange
Posts: 19,602
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to generate BARCODE from text

I think you should be able to do this if you have a suitable font on the device.  You will need to create the appropriate text (what you include in the barcode depends on the specific bar code you are generating), and then simply display a LabelField with this text, where the LabelField has been set to the desired bar code font.

 

There are free fonts available for some of the barcode types, for example 3 of 9 - do a search. 

 

This might help you load a font:

http://supportforums.blackberry.com/t5/Java-Development/Font-Loader-Manager-Utility/m-p/592647#M1223...

 

So I think you can try this approach out quite quickly if you want. 

 

Let us know how you get on. 

Please use plain text.