新版的水晶報表很方便的支援條碼列印。
需要瞭解的到網站: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 提供的字型 感謝華聖達-鐘總監