新版的水晶报表很方便的支持条码打印。

需要了解的到网站:http://www.azalea.com/ 看一下示例

看到这样的介绍:

Printing barcodes in Crystal Reports is easy using our barcode fonts and . Our barcode software works with all versions of Crystal Reports and is bundled with Crystal Reports 2008.

Code 39 is unique among barcodes because all you need to do is add an asterisk before and after you input string and format it one of our fonts. The aterisk (*) is the Code 39 start and stop bar. For example, *SAMPLE* scans as "SAMPLE". Without the asterisks, your barcode won’t scan.

barcodeString = "*" + yourInputString + "*"

翻译:

在Crystal Reports中打印条形码很容易使用的条形码字体和我们的条码软件适用于所有版本的Crystal Reports和Crystal Reports 2008中的捆绑。

39码之间的条形码是唯一的,因为所有你需要做的是添加一个星号之​​前和之后你输入的字符串格式字体。aterisk(*)39启动和停止杆的代码。例如,*样品扫描作为“样本”。没有星号,你的条码将无法扫描。

barcodeString =“*”+ yourInputString +“*”

第一步:安装字体

C:\WINDOWS\FONTS

水晶报表 之打印条码-LMLPHP

 第二步:水晶报表拉两个字段,一个品号,一个是公式

水晶报表 之打印条码-LMLPHP

 

公式:'*'+{INVMB.MB001}+'*'

编辑

水晶报表 之打印条码-LMLPHP

第三 预览一下效果吧

水晶报表 之打印条码-LMLPHP

然后打印出来,到公司的扫描仪听到滴的一声好清脆。搞定!!!

感谢深圳-麦丰-Creek 提供的字体 感谢华圣达-钟总监


           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

02-11 07:35