dymosoftware / dymo-connect-framework

DYMO Connect Framework for Javascript.
Other
86 stars 54 forks source link

Does not JS framework support LabelSetBuilder anymore? #79

Open shunman opened 7 months ago

shunman commented 7 months ago

Hello.

I have a problem about not printing label made in LabelsetBuilder.

It looks likes latest version of Dymo Connect Software does not support it anymore.

DCD v1.4.2.82 working print label, but since v1.4.4.17 Dymo Connect Software printing label not working.

I am using latest of JS framework. DCD version is v.1.4.5.1

Here's my code snippet ``

            var labelSetBuilder = new dymo.label.framework.LabelSetBuilder();

            var checkedItems =Grid.getCheckedRowDataItems(indexGrid);

            for (var i = 0; i < checkedItems.length; i++) {
                var record = labelSetBuilder.addRecord();

                record.setText('Address', checkedItems[i].recipient);
            }

            dymoLabelOjbect.print(printer.dataItem().value, '', labelSetBuilder);

`` v1.4.4.17Address No Barcode.zip