tags:

views:

238

answers:

3

Is there a free alphanumeric barcode font or class that is compatible with Delphi "PowerPDF" component ?

code must be code128.

A: 

Not a barcode class, but a GPL'ed TTF which can be embedded into your PDF file:

http://grandzebu.net/index.php?page=/informatique/codbar-en/codbar.htm

You also need an encoder, because you can't just type your characters with this font. But the VB6 and Excel encoding examples on that page can easily be transfered into Delphi code.

DR
+2  A: 

There is no such thing, as PowerPdf has never supported any fonts other than the 14 Standard Type 1 Fonts (see the source code). There is no support for TrueType fonts, font embedding or such.

What you can do is switch to the successor of PowerPdf, the Haru Free PDF Library. This supports encrypted TrueType fonts, font embedding and a few encodings other than the PDF WinAnsiEncoding. There are Delphi bindings. Together with a TTF that supports your barcode you should be able to make it work.

mghie
A: 

As a tiny addition:
I used this page to generate EPS barcodes (which can be embedded in PDF).
Actually: I wrote a small article on how to use this to generate a lot of EPS files using one small example.

Jeroen Pluimers