Free Barcode
Fonts @ dobsonsw.com |
|
Developers, looking for a quick Code 128 implementation? Check out the DLL for Windows and the UFL for Crystal Reports.
I'm putting together some sample scripts to encode Code 128 in various languages. These are samples only and are not warranted to work for anything useful. These scripts require the free Code 128 Barcode Font available at Free Barcode Fonts. To understand some of the logic behind this code please check here. Javascript: The javascript functions should be placed between the <head> and </head> tags. Be aware, this WILL trigger an alert on Windows XP! To avoid this the site it's placed on should be set as a 'trusted site.' More Javascript:
Once you have the functions above in place insert this code into your
page where you
want the barcode to appear. The text at "DATA_TO_ENCODE" should be
replaced with whatever data you want encoded. This
could be static text, such as 12345, or the result from a database
query or whatever else you need encoded. Perl:
This is some PERL that I
hacked out of one of my scripts. This is not the entire script. You'll
need to have an idea of how PERL works to implement it. Navision:
If you need a solution for Navision it can be found here: http://www.mibuso.com/dlinfo.asp?FileID=405
Be aware that I did not write this script so I have no idea how it is
licensed or if it works properly.
Access 97: Andreas Moroder was kind enough to supply this function for Access 97.
Hopefully
this sample code will get you on your way!
|
| Copyright 2008-2011 Brian Dobson .All Rights Reserved |