Open erkens opened 3 years ago
I too am having trouble changing the image with setBase64Image()
.
A simple test is as follows, using DYMO Connect 1.3.2. I load the label from a file and use dymo.label.framework.printLabel(printerName, printParamsXml, labelXml, labelSetXml)
.
<Name>
element value to something else, say "TEST". It prints the arrow.setBase64Image('TEST', labelImageBase64)
to specify the replacement image. It prints a blank label.Note that I am using the same javascript with DLS and labels created in v8.7.2 and the replacement image has always worked fine.
I have "upgraded" to Dymo Connect Framework for Javascript (coming from Dymo Label Framework) but using the LabelSetBuilder to change an image in the label doesn't work.
For one label I can just change the label ietself with the setters, but printing will be slow because then there are multiple print calls instead of one. In the old system it did work and the documentation is not clear...