【问题标题】:How to compose EAN128 in iReport barcode component?如何在 iReport 条码组件中编写 EAN128?
【发布时间】:2023-03-23 10:34:02
【问题描述】:

ireport 中的条形码有问题。我将 ireport 3.7.4 与 berbecue 和barcode4j 库一起使用。

我想在 EAN128 条码中输入以下数据:

253 application Identifier (Global Document Type Identifier) value 24.1 (document type) + 2076764 (document id)

414 应用标识符(全球位置编号)值 2095

91 application Identifier(公司内部信息)值20110101。

我使用了组件barcode4j和烧烤,不幸的是没有效果。 像 BBQ 和 Barcode4j 组件都不能识别 253 和 414 应用程序标识符。 谁能解释我为什么错了,并写一个正确的代码表达式。

【问题讨论】:

    标签: jasper-reports ireport


    【解决方案1】:

    来自Barcode4J EAN-128文档:

    允许的数据类型是“n”(数字)、“an”(字母数字)、“d” (日期)和“cd”(校验位)。

    我不确定您是否可以在数据中添加一个点。

    要定位错误源,请尝试一次添加一部分条码数据。

    【讨论】:

      猜你喜欢
      • 2011-01-07
      • 1970-01-01
      • 2011-04-30
      • 1970-01-01
      • 1970-01-01
      • 2011-12-23
      • 2016-10-25
      • 2013-03-21
      • 1970-01-01
      相关资源
      最近更新 更多