Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Barcode Creation 1

Status
Not open for further replies.

ugagrad

Programmer
Sep 12, 2003
49
US
I am not sure if I am using the right thread but does anyone know of an activeX control or a dll that creates a 3 of 9 barcode and stores it as a gif or jpg. Any suggestions are great.

Thanks in advance
 
You are describing 2 different issues.
1. 'Print' a 3 of 9 Barcode (or any barcode symbology)
2. Save 'printed' document as JPEG image file.

I assume that you are using a Visual Foxpro application.

The printing of a barcode is handled by utilizing a barcode font instead of Arial/Courier/Times New Roman/etc. during the printing of a document.

Barcode fonts are available from multiple sources. Do a Search within the various Tek-Tips VFP forums for Barcode and you find quite a few postings. Some of them mention where barcode fonts may be acquired.
Or do a Google search for Barcode Font and you will find many.

The second issue involves 'printing' your document to a special print driver which creates an image file instead of sending the output to an actual printer.

Again, do a search within the VFP forums for an image printer or do a similar Google search.

One image print driver I have used is the but there are quite a few of them out there.

Good Luck,
JRB-Bldr
 
In addition to the earlier mentioned:
I do use 3 of 9.
To be able to print as a barcode: Just put an '*' before and after the thing you want to print as barcode. Than use the barcode-font to do the actual printing.

-Bart
 
Getting the barcode which is 'printed' to be VALID is most certainly a related, but different topic. It was assumed that they already knew about that, but if not....

They may want to look at a general Code 3 of 9 reference such as:

A Google search for Barcode Symbology or Code 3 of 9 or Code 39 will turn up quite a few.

Code 3 of 9 (and other barcode symbology) reference sites like this go into specifics about allowable characters, possibly varying Start/Stop characters, optional checksum digits, readers and other topics associated with creating a VALID barcode. In fact if you wanted to get into ALL of the specifics of a VALID barcode you can go into topics such as bar width ratios, print contrast ratios, and others.

But as to how to print it and how to get it into an image file they have a reasonably good start.

Good Luck,
JRB-Bldr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top