Lucee cfdocument, creating Barcodes - installing a barcod font?

We are moving some project sites to Lucee on Windows/IIS server.

So far so good as far as overall. One area with issues is getting barcodes
onto our cfdocument/PDFs. We were using Barbeque CF/COM for this, but that
no longer is working so looking for options.

Thinking that installing a suitable barcode font, and calling that will
likely do the trick -

So how do I install a font in Lucee (on windows) and call that in
cfdocument?

Any help would be most appreciated!

Also - any other ideas on how to handle this let me know - this is one area
that was working great in railo and no longer works now.

Jeff

Dear Jeff,

We have a barcode application (in Adobe CF, not yet in Lucee) that has to
produce several hundred thousand barcodes and then merge them into PDFs. We
use cfdocument for the merge portion but not the actual generation. We
looked into the custom font approach but it seemed clunky.

Instead, we use barcode4j - http://barcode4j.sourceforge.net/ - a simple
Java app that you can drop into tomcat and run as a service. I can’t
recommend it enough and the developer was helpful on a couple issues (at
least, four years ago, when we did it).

I don’t anticipate any changes in how it would work under Lucee since all
CF has to do is make the web request to the service.

Good luck!
Sam

This is the best blog post on cfdocument - half way down are some
instructions on using custom fonts in lucee;
Works for me (not for a barcode font, but other TTF fonts)
http://dnando.github.io/blog/2015/07/01/generating-accurate-pdfs-using-cfdocument/On Sunday, 14 February 2016 20:17:00 UTC, Jeff Bourassa wrote:

We are moving some project sites to Lucee on Windows/IIS server.

So far so good as far as overall. One area with issues is getting
barcodes onto our cfdocument/PDFs. We were using Barbeque CF/COM for this,
but that no longer is working so looking for options.

Thinking that installing a suitable barcode font, and calling that will
likely do the trick -

So how do I install a font in Lucee (on windows) and call that in
cfdocument?

Any help would be most appreciated!

Also - any other ideas on how to handle this let me know - this is one
area that was working great in railo and no longer works now.

Jeff

Barcode4J indeed rocks!
I used it a while ago for a Lucee project, directly in CFML. The example code, and jars used, can be found here: barcode4j example in CFML / Lucee · GitHub https://gist.github.com/paulklinkenberg/d7b9c6b5f2a609352bc3

Kind regards,

Paul KlinkenbergOp 15 feb. 2016, om 15:02 heeft Samuel W. Knowlton <@Samuel_W_Knowlton> het volgende geschreven:

Dear Jeff,

We have a barcode application (in Adobe CF, not yet in Lucee) that has to produce several hundred thousand barcodes and then merge them into PDFs. We use cfdocument for the merge portion but not the actual generation. We looked into the custom font approach but it seemed clunky.

Instead, we use barcode4j - http://barcode4j.sourceforge.net/ - a simple Java app that you can drop into tomcat and run as a service. I can’t recommend it enough and the developer was helpful on a couple issues (at least, four years ago, when we did it).

I don’t anticipate any changes in how it would work under Lucee since all CF has to do is make the web request to the service.

Good luck!
Sam

–
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/719e6064-9de2-467c-a4c3-12229bbbf8c9%40googlegroups.com https://groups.google.com/d/msgid/lucee/719e6064-9de2-467c-a4c3-12229bbbf8c9%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

1 Like