• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Generating QR 2D barcodes

Enthusiast ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

Does anybody know of any way to generate Quick Response (QR) 2D bar codes from within ColdFusion?

I did find something but the problem was that it needed certain things entering into the ColdFusion admin to make it function and as I'm currently running on a shared server I can't do this, I need something that can be ran right off the bat


Thanks

Mark

TOPICS
Advanced techniques

Views

1.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

For minimum hassle, you might take a look at google charts

http://code.google.com/apis/chart/docs/gallery/qr_codes.html

There are also java libraries available, IF you have access to createObject("java") on your shared server.

Message was edited by: -==cfSearching==-

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

Thanks. that link has some interested info, although I don't think I'll use google, as reliable as they probably are, I would prefer not to have to have my scripts keep going out to a third party. I want to keep it under one roof

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

Totally understandable. The only reason I suggsted it was your request for "simple" and of course the mention of shared hosting.

Assuming you have access to createObject("java") on your host, setting up zxing with the javaLoader is pretty simple. (It's actually what google charts uses behind the scenes). But let us know if you have any questions about it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

unfortunately no access on the server so I have to figure out how to hook up the java without out

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

No access to what: createObject("java")? The javaLoader does not need access to the CF Administrator. But it does use createObject("java"). So if you do not have permissions for that function, unfortunately you are out of luck.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

LATEST

I would have to check but I have a feeling that I don't even have access to that


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

If the problem is that you need to add a library to the Java classpath, you can use Mark Mandel's JavaLoader:

http://javaloader.riaforge.org/

Here are a couple of links describing the use of the zxing library for QR codes:

http://stackoverflow.com/questions/4181065/creating-qr-code-with-coldfusion

http://cfsearching.blogspot.com/2010/04/coldfusion-zxing-read-write-qrcode.html

(Leigh is the one who provided these links, he'll probably be along here shortly if you have any questions!)

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 04, 2011 Jan 04, 2011

Copy link to clipboard

Copied

Thanks. I'd found that link before then misplaced it, it seems to suggest that it's easy to set up even with no way to get to the adminstrator to add the java paths, but I'm not so sure!.. I'll have to start to read away. it looks like there is not completely straightforward and easy solution to it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation