Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how can i print bar-code for report?

211 views
Skip to first unread message

ying

unread,
Jun 4, 2003, 1:53:59 PM6/4/03
to
hi there,
does anyone have experiences with printing bar_code for
report before? any ideas?

thanks in advance!

ying

Lee Mitchell

unread,
Jun 4, 2003, 4:10:27 PM6/4/03
to
Hi Ying:

You need a bar code font to print bar codes. For some examples of printing
bar codes, go to www.universalthread.com, click on the Downloads icon, and
choose Visual FoxPro as the product. There are two examples you want to
download:

How to use Barcode Fonts with FoxPro-- Download ID 9901

Barcode font-Download ID 9121

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retires June 30th, 2003
- VFP6 Mainstream Support retires Sep. 30th, 2003

Bob Lounsbury

unread,
Jun 4, 2003, 5:27:31 PM6/4/03
to
Hello,

The simplest method is to use a Code 39 TrueType barcode font. In
your report, include a text field where you want to print the barcode
and select the Code 39 font.

You need to add asterisks (*) before and after the data; these will
print as a special start/stop character that the scanner requires.
You can set the data source for the field to an expression, like this:

"*"+[MyDataField]+"*"

Here is a link to information about some typical barcode fonts:
http://www.makebarcode.com/software/softwarefonts.html#BBTTC39

Bob Lounsbury
The Barcode Software Center
www.makebarcode.com
800-229-5794

"ying" <lil...@umich.edu> wrote in message news:<00ce01c32ac2$46eee830$a501...@phx.gbl>...

Paul Pedersen

unread,
Jun 18, 2003, 2:12:34 PM6/18/03
to
You can get a free 3 of 9 bar code font here:

http://www.infohio.org/downloads/fonts/

"ying" <lil...@umich.edu> wrote in message
news:00ce01c32ac2$46eee830$a501...@phx.gbl...

Willianto

unread,
Jun 24, 2003, 3:09:45 PM6/24/03
to
Ying,

Check out TBarCode from www.tec-it.com. The TBarCode is available either in
DLL or OCX. And the good news is they have an example ready to use in Visual
FoxPro. Check out http://www.tec-it.com/Download/samples/FoxPro6_TBC3.zip.
The idea is to create a temporary table with general field, then insert it
using APPEND GENERAL tmptable.general_field CLASS TBarCode_ATL.TBarcode3.
After that, it's a piece of cake to 'bound' tmptable in the report writer!

One of the drawback is: Because VFP would call the active-x as much as the
barcodes in the report, your report will start to print very slow if you put
a lot of barcodes in it. In my client case, he has to wait about 5 minutes
before his printer started to print (counted from the time he click OK in
the Print window) in order to
print about 600 barcodes. The printer was HP 6L and was running on Celeron
850MHz 128MB SDRAM. And don't think 600 is a big number! It's only 5
pages with A4 size (each page consists of 8 x 15 small labels).

If you can accomplish your need with 3-of-9 encoding, better go that way!
But if you need more complex encoding (UPC, ISBN, or 2D encoding barcodes),
you might have to go this way.

hth,
Willianto


"ying" <lil...@umich.edu> wrote in message
news:00ce01c32ac2$46eee830$a501...@phx.gbl...

0 new messages