• barcode crUFLBcsNet.DLL download
  • crUFLBCsNet.dll order

在 MS Dynamics NAV 中使用 crUFLBcsNet.dll

关键词: Microsoft Dynamics NAV, barcode, QR Code

Microsoft® Dynamics NAV®(前称 Navision)是一个面向中型组织的完整 ERP(企业资源计划)系统。

如果您想在 Microsoft Dynamics NAV 中生成线性或二维条码,无需再寻找其他解决方案。

Barcodesoft crUFLBcsNet.dll 是与 Dynamics NAV 集成的智能而简便的解决方案。

在 Microsoft Dynamics NAV 中使用 crUFLBcsNet.dll

要在 Microsoft Dynamics NAV 中使用 crUFLBcsNet.dll:

  • 注册 crUFLBcsNet.dll
    以管理员身份打开 DOS 命令提示符并运行:

    cd "C:\Program Files (x86)\Common Files\Barcodesoft\cruflbcsnet"
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm cruflbcsnet.dll /tlb:cruflbcsnet.tlb /codebase

  • 复制 DLL 文件
    将 crUFLBcsNet.dll 复制到 NAV 插件文件夹(推荐路径:C:\Program Files (x86)\Microsoft Dynamics NAV\...\RoleTailored Client\Add-ins\).

  • 在 NAV 开发环境 (C/AL) 中,使用 automation 生成 QRCode:
                                    myQR := myQR.CQRCode;
    
                                    // 需要 bcsqrcode.ttf 字体
                                    codewords := myQR.Encode('1234567890');
    
                                    // 或纯图像模式,不需要字体。可保存到文件或写入 BLOB。
                                    barcodeBytes := myQR.Image('1234567890', 240, 240);
                                    BLOBField.CREATEINSTREAM(inStream);
                                    inStream.Write(barcodeBytes);
    
                                    // 艺术化 QR 图像,不需要字体
                                    barcodeBytes := myQR.AwesomeQR('1234567890', 'Tangerine', 'XS');
                                    BLOBField.CREATEINSTREAM(inStream);
                                    inStream.Write(barcodeBytes);
                                
  • 在 NAV 开发环境 (C/AL) 中,使用 automation 生成 Data Matrix:
                                    myDTM := myDTM.CDatamatrix;
    
                                    // 需要 bcsdatamatrix.ttf 字体
                                    codewords := myDTM.Encode('1234567890');
    
                                    // 或纯图像模式,不需要字体
                                    barcodeBytes := myDTM.Image('1234567890', 240, 240);
                                    BLOBField.CREATEINSTREAM(inStream);
                                    inStream.Write(barcodeBytes);
                                
  • 在 NAV 开发环境 (C/AL) 中,使用 automation 生成 PDF417:
                                    myPDF417 := myPDF417.CDatamatrix;
    
                                    // 需要 bcspdf417.ttf 字体
                                    codewords := myPDF417.Encode('1234567890');
    
                                    // 或纯图像模式,不需要字体
                                    barcodeBytes := myPDF417.Image('1234567890', 240, 240);
                                    BLOBField.CREATEINSTREAM(inStream);
                                    inStream.Write(barcodeBytes);
                                
  • 在 NAV 开发环境 (C/AL) 中,使用 automation 生成 GS1128 条码:
                                    myLinear := myLinear.CLinear;
    
                                    // 需要 UpcEanM 字体。不要忘记括号和 AI 前缀。
                                    codewords := myLinear.GS1128('(17)190508(90)50921');
                                    
                                    // 或纯图像模式,不需要字体。可保存到文件或写入 BLOB。
                                    barcodeBytes := myLinear.GS1128Image('(17)190508(90)50921', 480, 240);
                                    BLOBField.CREATEINSTREAM(inStream);
                                    inStream.Write(barcodeBytes);
                                
  • barcode crUFLBcsNet.DLL download
  • crUFLBCsNet.dll order