dymosoftware / dymo-connect-framework

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

PrintLabel leads to `The object is owned by another thread: Bad request` #74

Open micha-1987 opened 1 year ago

micha-1987 commented 1 year ago

Hello,

I am trying to run the sample app PreviewAndPrintLabel. After starting it works properly. So it recognizes the connected printers and it renders the labels. But when clicking on the print button (triggering the printLabel func) the framework tells me. The calling thread cannot access this object because the object is owned by another thread.: Bad Request

Only the printLabel request is running into that error at ajaxSync function. var ret = ajaxSync(path, params, method); Can it be that it is somehow occupied by the Dymo Connect Software or by any other service running?

I already tried the async print function but having the same result.

Any further ideas to overcome this issue? Many thanks!