General downloads

Barcode39 in Pure C/AL

Author
Robert de Bath  
Category
General downloads
Date
23/02/2009
Size
21,69 KB
Downloads
3918
MD5 digest
083F503BE61063B2B7781404999016B6
Rating
432150
Popularity
Downloaded 1 time in the last two weeks
Barcode 3 of 9 (code39) generation codeunit
This upload contains a codeunit that will generate a code 3 of 9 barcode without using any external resources; no fonts, no DLLs, nothing.

How it works
The codeunit generates a BMP 'file' on the fly using C/AL. The image is stored in a BLOB field on some record. The record is never written to the database so it doesn't matter what table is used. This code uses the 'Object' table.

Advantages
Unlike a font (eg: http://www.squaregear.net/fonts/free3of9.shtml ) this can be displayed at any size in both the X and Y dimensions. In addition the font doesn't have to be installed on the client machine.

The example report
Also included in this upload is a simple report that prints a barcode for each item in the database using the "Vendor item No."
Download this file

Screenshots