dymosoftware / DCD-SDK-Sample

DYMO Connect SDK Samples
Other
60 stars 26 forks source link

How to queue or get status? #72

Open SimFre opened 1 year ago

SimFre commented 1 year ago

Is there any way to check if printer is currently printing and if so, wait for it to complete before sending it more data?

I've tried to print with /DYMO/DLS/Printing/PrintLabel, and when that returns send the next one. But apparently not enough as I get: Error printing label. Exception: The calling thread cannot access this object because a different thread owns it.

Is there any other endpoint to poll to get status before sending the next one?