Download the barbeque jar file from sourceforge, dump it into the /lib/
directory and then its a matter of 6 lines of code to generate any
standard barcode image. Why would you want to use a custom tag that uses a
http call?
<cfscript>
bcFactory = createobject("java","net.sourceforge.barbecue.BarcodeFactory");
bcImage =
createobject("java","net.sourceforge.barbecue.BarcodeImageHandler");
os = createobject("java","java.io.FileOutputStream");
bcImage.outputBarcodeAsJPEGImage(bcFactory.createCode128("106AB0119501"),
os.init("c:\barcodeImage.jpg"));
</cfscript>
> Barcode generator custom tag.. I have used it with great success.
>
>
>
> http://www.webcaterers.com/barcodes/default.cfm?NavBar=ShowMe
>
>
>
> Cheers,
>
> Adam
>
>
>
> _____
>
> From: KNOTT, Brian [mailto:[EMAIL PROTECTED]
> Sent: Monday, 26 September 2005 9:45 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] OT Barcodes
>
>
>
> Has anyone had any experience creating barcode using CF.
>
>
>
> I want to create a bar code to be printed on the order receipt.
>
>
>
> Brian Knott
>
> ------------------------------------------------------------------------
> -----------
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
>
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/