Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DYMO Label Web Service Printing Slow

Tags:

dymo

I am noticing a delay of 5 to 15 seconds when printing using the DYMO Label Web Service starting this morning, 4/23/2018. This happens on multiple PCs on all browsers. On a Mac it works fine.

The log at %LocalAppData%\DYMO\DLS8\DLSWebService.log seems to show the delay. I don't see any errors in the Console beyond the usual Synchronous XMLHttpRequest on the main thread is deprecated warning.

DYMO.DLS.Printing.Host.exe Information: 0 : PrintLabel: DYMO LabelWriter 450 Turbo
    DateTime=2018-04-23T17:08:34.9541652Z
DYMO.DLS.Printing.Host.exe Information: 0 : Loading barcode lib from C:\Program Files (x86)\DYMO\DYMO Label Software\MDYMOBarcode.dll
    DateTime=2018-04-23T17:08:50.1456872Z
DYMO.DLS.Printing.Host.exe Information: 0 : Utils.CreateLabelPrintParams(): printParams == null, creating default printParams based on printer type
    DateTime=2018-04-23T17:08:50.1547276Z
Status for job sent to printer DYMO LabelWriter 450 Turbo i False
DYMO.DLS.Printing.Host.exe Information: 0 : CheckServiceStatus
    DateTime=2018-04-23T17:08:51.3098746Z
DYMO.DLS.Printing.Host.exe Information: 0 : GetPrinters
    DateTime=2018-04-23T17:08:51.3269198Z

I tried updating to DLS8Setup.8.7.exe but this did not help.

like image 310
SteveBradford Avatar asked Apr 23 '18 17:04

SteveBradford


People also ask

Why does Dymo take so long to print?

We are unsure what advanced printing features even do, but it adversely effects printing from our software. If this does not address your issue, it may be related to a new network connection issue in Dymo's SDK. As of August, 2018, a new problem surfaced where printing will take 15 seconds.

How do I Turn Off advanced printing on my Dymo printer?

Open the printer properties in window for the Dymo printer 3. Uncheck "Enable advanced printing features" We are unsure what advanced printing features even do, but it adversely effects printing from our software. If this does not address your issue, it may be related to a new network connection issue in Dymo's SDK.

How do I install the Dymo label web service?

The DYMO Label Web Service is installed as long as you have installed DYMO Label Software 8.5.3 or newer using the express “Express” mode. If you choose to install DYMO Label Software in “Custom” mode, be sure to select the DYMO Label Web Servicecomponent as follows: Custom select components to install

How do I resolve the slow label printing issue?

We found a promising resolution to the slow label printing. We have had multiple customers confirm this addresses the issue. 1. Open the printer properties in window for the Dymo printer 3. Uncheck "Enable advanced printing features"


2 Answers

I broke out Procmon and got to the bottom of this.

It appears to be due to the Dymo Label Service querying 128.30.52.100 (hans-moleman.w3.org) every time it was fed a label to validate its schema. We were not being rate limited by this service until today.

Setting an outbound firewall rule against this IP address for the DLS service executable fixed the issue.

like image 51
MedicatedDeveloper Avatar answered Oct 03 '22 13:10

MedicatedDeveloper


We just ran into this as well. Apparently the Dymo print service is trying to validate the generated xml against an xsd file. That file is not cached, so the print service is hitting w3.org to download it. Some time recently w3.org stopped responding to this request, making the xml validation slow as the request times out. So this is unrelated to any Windows update, update to the Dymo print service, or update to any browser.

If you run this command in Windows power shell as an administrator (and the path to your service is the same as ours), it will block the call to w3.org, causing it to fail fast instead of slow and move on to printing.

New-NetFirewallRule -DisplayName "dymo-xsd-exclude" -Direction Outbound -Action Block -Program "C:\Program Files (x86)\Dymo\DYMO Label Software\DYMO.DLS.Printing.Host.exe" -RemoteAddress 128.30.52.100

This is a short term solution. The correct solution is for Dymo to update their print service to include the xsd instead of calling across the internet for it.

like image 39
Tim Gautier Avatar answered Oct 03 '22 15:10

Tim Gautier