Skip to main content
Participant
July 17, 2007
Question

Generate 2D Barcode

  • July 17, 2007
  • 5 replies
  • 4418 views
I need to generate a 2D barcode based on various fields from a database. Any ideas on how to do this in ColdFusion? If I can generate an image of the barcode, and then refer to it in an image tag in the HTML that would work... but I need to know how to generate the image in the first place. Any help would be appreciated.
This topic has been closed for replies.

5 replies

Participant
July 17, 2011

Hi Mike,

         Did you got the strategy how to proceed with your requirements?.Generation of 2D barcodes for more 1 form values from the database in coldfusioj.Kindly help me.

Inspiring
July 17, 2011

         Did you got the strategy how to proceed with your requirements?.Generation of 2D barcodes for more 1 form values from the database in coldfusioj.Kindly help me.

Did you read the responses to the thread?

This is probably what you are looking for:

http://barcode4j.sourceforge.net/

--

Adam

Inspiring
August 26, 2011

I should also mention that if you are using the bar codes on PDFs instead of HTML pages, you can use the iText library to add 2d barcodes in DataMatrix and PDF417 formats.  iText is a Java library for modifying PDFs.  I know you said something about HTML pages, but I thought I would throw that in to the mix in case you are barcoding PDFs as well.

Inspiring
July 18, 2007
I have an irreverant question here, you say you want a 2D bar code, is there such a thing as a 3D barcode?
Participant
May 28, 2010

No.

Inspiring
July 18, 2007
http://blog.recfusion.com/index.cfm?mode=cat&catid=BD90974E-D884-28C5-9A2C02BD614A17F9
HTH
--
Tim Carley
www.recfusion.com
info@NOSPAMINGrecfusion.com
July 18, 2007
Inspiring
July 18, 2007
Hi,

Also please go through this article
Participating Frequently
July 18, 2007
Some time ago I needed to do a similar thing. The system was developed in PHP though and there weren't any problems to find free PHP libraries that could generate various types of barcodes.
I haven't heard about any Coldfusion solutions for such problem. In my opinion there must be some sort of Java tool that can generate barcodes. If you find it it will not be difficult to use it in CF.

P.S. I've read somewhere that there is a possibility to use PHP code in Coldfusion. Nevertheless I would definitely try the java path first ;-)