FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CODE128 BARCODE
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
CODE128 BARCODE
Posted: Sat Sep 13, 2008 11:03 AM

I have to print CODE128 barcode with fivewin .
I also have to be able to use it in word , excel .
The string i have to print look like : =B01420806123400
(It is for a medical use)
How to ?
Thanks

Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: CODE128 BARCODE
Posted: Sat Sep 13, 2008 11:17 AM
Jack wrote:I have to print CODE128 barcode with fivewin .
I also have to be able to use it in word , excel .
The string i have to print look like : =B01420806123400
(It is for a medical use)
How to ?
Thanks


There are ttf fonts code128, with them you can simply print with tprint of fwh and with all windows applications with codebars.

The only problem is that you will have to install this font in all pc´s that will print codebars.
Saludos/Regards,

José Murugosa

"Los errores en programación, siempre están entre la silla, el teclado y la IA!!"
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
CODE128 BARCODE
Posted: Sat Sep 13, 2008 01:08 PM

Thanks for this answer .

Where can i find this font .

Do you have also a sample of code .

Thanks

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Code 128
Posted: Sat Sep 13, 2008 03:49 PM

Hello Jack,

there are mostly commercial-versions of this font.

Here is a free one from my website :

http://www.pflegeplus.com/fw_downloads/code128.ttf

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
CODE128 BARCODE
Posted: Sat Sep 13, 2008 04:24 PM

What about the code :
PRINT oprint NAME "Test Font128"
DEFINE FONT oFont NAME "CODE128" SIZE 0,-20 of Oprint
oPrint:CmSay(ol,0.5,ww,oFont)

Posts: 169
Joined: Mon Feb 25, 2008 02:42 AM
CODE128 BARCODE
Posted: Mon Sep 15, 2008 01:23 AM

Continue the discussion