dymosoftware / dymo-connect-framework

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

450 label printer connected to dymo connect web service randomly goes to error mode #71

Open darojuv-aegis opened 1 year ago

darojuv-aegis commented 1 year ago

Project: Our website uses dymo.connect.framework.js and tries to connect to the Dymo connect web service installed on our customer's computer and print labels. Problem: at times, mostly 50% of the time customers keep saying the printer goes to error mode, so we (as support our customers) clear the label printer queue and then have the customer press the blue light button on the printer which pushes a couple of white labels and then printer works fine for some time and then repeats same behavior after a random amount of time. We have enabled tracing and found the log says :

/litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2 litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 _createFramework > Error service discovery is in progress. dymo.connect.framework.js:2 Uncaught Error: DYMO Label Framework service discovery is in progress. --LOG litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 onEnvironmentChecked > checkResult isBrowserSupported : true, isFrameworkInstalled: true, isWebServicePresent: true, errorDetails: litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 chooseEnvironment > WebServicePresent DefaultFacility.aspx:7 /litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2 litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 _createFramework > Error service discovery is in progress. Uncaught Error: DYMO Label dymo.connect.framework.js?v=2023.4.1492:2 Uncaught Error: DYMO Label Framework service discovery is in progress. at e (dymo.connect.framework.js?v=2023.4.1492:2:360712) at dymo.label.framework.getPrintersAsync (dymo.connect.framework.js?v=2023.4.1492:2:373449) at findAndPrintDymoConnectLabel (litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:278:30) at loadPrintersAsync (litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:323:39) at checkPrinters (litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:262:13) at window.onload (litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:267:9) litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 --LOG onEnvironmentChecked > checkResult isBrowserSupported : true, isFrameworkInstalled: true, isWebServicePresent: true, errorDetails: litepage.aspx?FId=LFMNTVNR&PEID=1&LFID=2:8 --LOG chooseEnvironment > WebServicePresent

gvillavizar commented 4 months ago

I am having the exact same issue. After 7 or 8 labels, the printer goes to error mode and I have to open the tray, pull de paper and press the button which releases two white labels and then works fine.

Have you found any solution to this issue?