Dymo - 使条形码无效,如何制作精确值?

时间:2016-02-18 03:15:21

标签: javascript google-chrome dymo

我正在使用以下条形码打印机准确打印值000220200,以便扫描仪可以获得原始值。

但是当我将其打印出来并再次使用扫描仪进行扫描时,它总是得到:5000220200 10个而不是原始000220200

  // used barcode <Type>Code128</Type>,tried all other types too
  var label = dymo.label.framework.openLabelXml(labelXml);
  label.setObjectText("BARCODE", '000220200');
  label.print("DYMO LabelWriter 450"); // This is the NAME of the printer which i found 

enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

它有效。问题是由于我使用了无效的<type></type>

引起的
"Dear Dymo. Please fix exception errors, so that people buying your hardware can stop wasting time."