[水晶报表]之打印条码

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/david_520042/article/details/6618982

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

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

看到这样的介绍:

Printing barcodes in Crystal Reports is easy using our barcode fonts and UFL. 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中打印条形码很容易使用的条形码字体和UFL我们的条码软件适用于所有版本的Crystal Reports和Crystal Reports 2008中的捆绑。

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

barcodeString =“*”+ yourInputString +“*”

第一步:安装字体

C:\WINDOWS\FONTS

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

 

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

编辑

第三 预览一下效果吧

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

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


猜你喜欢

转载自blog.csdn.net/david_520042/article/details/6618982
今日推荐