You need to sign in to do that
Don't have an account?
Praneetha Murakonda
How to split BarCode in visualforce page ?
Hi all,
I'm displaying barcode in vf page using the link https://www.barcodesinc.com/generator_files/image.php?code=T00001111 TS&style=500&type=C128B&width=200&height=50&xres=1&font=3. I'm getting barcoded image as below without any spaces between T0000-1111 TS.
Please let me know if there is any way to split it in to two and display in the same line.
Thanks!
You can use Javascript Barcode Libraries and execute Javascript in your VF Page to accomplish this.
There are lots of different Javascript Libraries available, so you'll have to google to find the right library for your barcode type.
For Example, for Barcode 39 you can do the following:
1. Upload the Javascript Library "Code39.js" from this tutorial website:
2. Create a VF Page. Execute the Javascript in the JS Library which will generate your Data. Here is an example: 3. You can see the Barcode is generated on the VF Page.
Thanks,
Nagendra.