有免费的delphi条形码128类(pdf)吗?
是否有与 Delphi“PowerPDF”组件兼容的免费字母数字条形码字体或类?
代码必须是 code128。
Is there a free alphanumeric barcode font or class that is compatible with Delphi "PowerPDF" component ?
code must be code128.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不存在这样的事情,因为 PowerPdf 从未支持除 14 种标准 Type 1 字体<之外的任何字体/a> (参见源代码)。不支持 TrueType 字体、字体嵌入等。
您可以做的就是切换到 PowerPdf 的后继者,Haru 免费 PDF 库。它支持加密的 TrueType 字体、字体嵌入和除 PDF
WinAnsiEncoding
之外的一些编码。有 Delphi 绑定。与支持您的条形码的 TTF 一起使用,您应该能够使其正常工作。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.不是条形码类,而是可以嵌入到 PDF 文件中的 GPL'ed TTF:
http://grandzebu.net/index.php?page=/informatique/codbar-en/codbar.htm
您还需要一个编码器,因为您不能只输入字符用这个字体。但是该页面上的 VB6 和 Excel 编码示例可以轻松转换为 Delphi 代码。
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.
作为一个小小的补充:
我使用此页面生成EPS条形码(可以嵌入PDF中)。
实际上:我写了一个 小文章,介绍如何使用它通过一个小示例生成大量 EPS 文件。
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.