May 292018
Hi everyone,
Today, we are releasing an updated version of our JS SDK and DLS to address some security and TLS issues. These updates are now live on dymo.com and labelwriter.com. You will find download links below. Please note that the latest version of DLS requires the latest version of JS SDK. If you plan to update your users’ DLS version then you will also need to update the JS SDK version used in your application.
DYMO Label Framework JS SDK – http://labelwriter.com/software/dls/sdk/js/DYMO.Label.Framework.3.0.js
DLS Windows 8.7.2 – http://download.dymo.com/dymo/Software/Win/DLS8Setup.8.7.2.exe
DLS Mac 8.7.2 – http://download.dymo.com/dymo/Software/Mac/DLS8Setup.8.7.2.dmg
Still no fix for multiple users being logged in to the same computer? I was excited to install and test, but no luck. When I have multiple users logged in to the same computer, printing label success is sporadic. So I tested it straight from your page at:
http://www.labelwriter.com/software/dls/sdk/samples/js/PrintLabel/PrintLabel.html
I hit Ctrl+F5 to make sure latest was loaded, I’ve installed 8.7.2.
If I have multiple users logged in with Dymo web service running, I sporadically get the following message:
http://www.labelwriter.com says
No DYMO printers are installed. Install DYMO printers.
If I only have one user logged in with Dymo web service running, it works every time.
Please advise… We really need this to start working when multiple users log in to same machine.
Hi Owen,
Sorry you are still having trouble… 8.7.2 should fix the problem for you.
I can think of two possible problems:
1. You may need to run the uninstall for each user.
2. You may need to do a reboot after completing the 8.7.2 install.
Check your process list in the Task Manager to make sure you have only one copy of the service running.
Let me know if this gets you going!
Ron
SOLVED: FYI: In the past, I didn’t want the web service running for users other than me, because of the problems it caused. So long ago I had disabled the service using MSConfig, and had added a shortcut to launch it in only my user’s startup folder. So when I just now upgraded, the install put the startup back in msconfig, AND my startup folder link was still there. I deleted that startup shortcut (from C:\Users\MYUSERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup).
All is well now.
UPDATE: Still having issues afterall. With multiple users logged in, it fails to print labels a lot of the time. The solution is to kill the web service for that user and start it again. Then it works until a different user logs on and prints a label.
Hi Owen,
That is quite odd.
What can you tell me about the machine this is running on? What OS?
Are you using DLS or a custom application?
Ron
DLS. It is Windows 7. Same thing happens when printing sample label from : http://www.labelwriter.com/software/dls/sdk/samples/js/PrintLabel/PrintLabel.html
No issues if only one user is logged in. If I log in a second user and print, it is fine, but then switch back to first user and I can’t print until I kill the web service and start it again.
Could you provide a link for the 3.0 documentation? The link should really be on every developers page in my opinion.
Hi Frank,
The documentation has not been updated yet.
Most of the changes are internal and will not effect your interface to it.
Here is the one change:
dymo.label.framework.init() function takes a callback as a parameter which is later invoked once initialization is finished.
However in order to get the current status of the framework, additional call to checkEnvironment() is typically made.
In order to make init() more user-friendly, a callback is now invoked with a parameter containing same result object that would be obtained through a call to checkEnvironment() otherwise.
For existing code, nothing has changed since the parameter-less callback functions will continue to work with new framework.
Ron
Hi,
I just upgraded to DLS 8.7.2 on MacOS. Now, when I click the Dymo Label Web Service icon and then click “Diagnose”, I receive the message “Error: SecureChannelFailure (One or more errors occurred.)”.
I’ve tried uninstalling and re-installing twice and I still get the same error.
In case it helps, here is the log file from ~/.local/share/DYMO/DLS8/DLSWebServicelog – https://cl.ly/0m1j2p1r3E3k
I see a number of errors that say “Host setup failed: None of the ports were configured to use SSL certificate”.
Do you have any idea what is going on?
Hello Marc,
I have forwarded this issue to our MacOS team. I will let you know what I here back.
regards,
Ron
I am running into the same issue, mac OS 10.12 and 10.13
Same. Bump. Same issue on a Mac version 8.7.2.
My Mac guy said this:
This looks like certificates/keys misconfiguration, can you get list of files from ~/.config/.mono/httplistener folder by using this command in Terminal:
> ls -al ~/.config/.mono/httplistener
Ron
Marc, Mark, and Ron. I was able to fix this issue on Mac by going into my Keychain and deleting the Certificates for Dymo, Restarting my computer and then reinstalling the DLS 8.7.2 DMG, then allowed me to verify by using the diagnose option that the service was running.
Hi David – thanks for your suggestion, that worked for me (removing dymo certificates and then re-installing).
@Ron – David’s solution worked for me, but just FYI – before I tried that, I ran the “ls -al ~/.config/.mono/httplistener” command and there were no files in that directory. After David’s solution, there are about 20 files that are all numerically named and ending in either .cer or .pvk.
Hi,
I get the following error message when using the new javascript framework. Any advise?
“No access-control-allow-origin” header is present on the requested resource.
I tried to copy paste the complete code, but your forum is blocking it because it thinks it’s spam.
I hope you help me with this.
Best regards,
Bart
Have you tried our “Print me this label” javascript sample?
Ron
I have the same problem, updating to the new version.
Hi,
We have been using the DYMO SDK in a x86 WPF Application for some years without troubles, but after update the DSL to version 8.7.1 we cannot print labels any more. When we try to request the label writers from Framework, SDK returns the following message:
“Retrieving the COM class factory for component with CLSID {E8D851FA-9967-4ADF-9644-0183B9B1EA68} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).”
Please, help! What should I do to solve this issue?
Thank you in advance,
Shora
Hi Shora,
It sounds like some aspect of your DLS upgrade failed. Do the following:
1 Uninstall DLS
2 Reboot
3 Install DLS
I think this will fix your issue.
regards,
Ron
Can you please add a WSDL to the printer service? This would make it much easier for languages such as Java and C# and would also help self-document the service.
Is this the big update we have been waiting for that will help the Chrome browser not lose it’s connection to the DYMO? Thanks in advance.
Hi Travis,
DLS 8.7.2 should take care of your chrome issues.
Ron
We are having CORS issues in Chrome. Your web service should supply a Allowed-Origins: * header for this to be fixed. PLEASE FIX THIS
Hi Bart,
Can you give me some details about your environment?
What version of DLS do you have installed?
Ron
How this issue could be fixed ? We’re having CORS issues in Firefox too.
It appears there is also an issue with labels created in 8.7.2 being incompatible with people running older versions of the software. after looking at the XML it appears that a MediaType=”Default” has been added to the .label XML which causes the error. Our goal is to get all of our partners that use our web app in conjunction with the dymo web service upgraded to 8.7.2 but with the “trustfailure” issue on Mac OS updating is not a reliable option.
Hello,
with the most recent Windows 10 Update, in my webapp that uses Dymo Label Writer I get the “SEC7120 error: origin not found in access-control-allow-origin header” and the Dymo stops working correctly as before.
How can i solve it?
Thanks in advance.
Hi Cris,
Is this issue with some custom code that you wrote, or is it from our DLS software? What version of DLS?
Ron
Hello,
i use 8.7.2 with my custom web application that invokes Dymo Label Web Service; it was running fine before latest Windows update; the windows version is: Windows10, Version 1803 (build SO 17134.81) and it occurs for every browser: Edge, Chrome Firefox..
Thanks Cris,
What model of DYMO printer are you using?
Ron
When using anything other than chrome i get the following, this is from firefox dev browser:
Request Blocked: The Same Origin Policy disallows reading the remote resource at
*127.0.0.1 url comment spam won’t allow*/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed).
this is viewing http://www.labelwriter.com/software/dls/sdk/samples/js/PrintLabel/PrintLabel.html too
Hi Daniel,
Sorry to hear you are having these issues. I have some questions for you:
1. What version of DLS are you running on the client machine?
2. What version of Windows are you running?
3. What version of Firefox had this issue?
Ron
Hi Ron
We’re facing the same issues like Daniel. When we try to print, it says: “Request Blocked: The Same Origin Policy disallows reading the remote resource at *127.0.0.1[URL]/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed).”
This is our setup:
OS: MAC OS X El Capitan v.10.11.6
Latest versions of Firefox / Chrome
DLS 8.7.2. / DYMO-Label-Framework-3_0.js
Any idea how to prevent this error?
Hi Ron,
I’m getting same error as above.
I’m using DLS 8.7.3 version and Windows 10 enterprise. Firefox version 61
Thanks
Hi Kiran,
Make sure you are using the latest version of our javascript SDK. that is the usual culprit.
Ron
Hi Ron,
I’m using below link for reference.
one more thing I have to mention here is that, when I print from below link. its working properly in Microsoft edge.
http://www.labelwriter.com/software/dls/sdk/samples/js/PrintLabel/PrintLabel.html
And also one more thing i need to confirm, when the application get published to server, is there need to install sdk on server also?
Hi Ron,
this link i have added in my web page
http://labelwriter.com/software/dls/sdk/js/DYMO.Label.Framework.latest.js
Hi Ron,
Currently my label printing functionality not working on Microsoft edge browser only.. why?
Hi Kiran,
What type of error are you getting. The most likely cause is permissions.
Ron
Hi Ron,
I am getting error like “Dymo Framework plugin is not installed” while checking environment.
Kiran
Hi Ron,
I don’t think this problem is with permissions because your below sample link working perfectly
http://www.labelwriter.com/software/dls/sdk/samples/js/PrintLabel/PrintLabel.html
Hi Daniel,
Can you give me some details about the client and server machines? Windows machines? Which OS?
Ron
I get the following error message on some websites. I guess it’s hosting related, but I can’t figure why it’s happening.
Dutch:
Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd 127.0.0.1:80
Translated from dutch to English (I don’t know the exact English error message)
Can not connect because the target computer has actively rejected the connection 127.0.0.1:80
It happens when opening label file ont he following request:
https://127.0.0.1:41951/DYMO/DLS/Printing/OpenLabelFile?fileName=https%3A%2F%2Fsuper-shoes.nl%2Fwp-content%2Fuploads%2Fwc-dymo-labels%2FShipping%20NEW-7608.label
It is working with other sites on different hosting.
Any ideas?
Hi Bart,
This sounds like a security issue perhaps regarding the file system. You may need to look at your browsers security settings.
Ron
We just discovered this issue when one of our employees installed DYMO DLS fresh and then received an error when trying to print custom labels from our webapp in a browser via the DYMO web service.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:41951/DYMO/DLS/Printing/StatusConnected. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
My question is, if we update our webapp to use the new JS SDK, will that require all users to update their DLS also? Or is the JS SDK backwards compatible? I’d like to know before attempting to update our webapp.
Thanks
Hi Mike,
Updating just your server side code will fix some issues but not all. This release was targeted at security issues, we recommend that the client and server side get upgraded.
Ron
Our application uses DYMO’s .NET Framework library but it seems that the .NET framework library is depended on the DLS version? The document says the .NET framework library has no dependency on the DYMO executable but it doesn’t seem to be the case here. We references the DYMO.Common.dll, DYMO.DLS.Runtime.dll, DYMO.Label.Framework.dll. And if we use the 8.7.0 version then any user upgraded to 8.7.1 or 8.7.2 will not be able to get a list of printers and so on. If we use 8.7.2 version then the user on 8.7.0 won’t work. This is a nightmare now in terms of deployment as now we will have to force all or our user to upgrade their DYMO software just because there’s a new DLS version.
Hello Lei,
You should be referencing just DYMO.Label.Framework. Is there a reason you are referencing the other dlls?
Ron
We are referencing DYMO.DLS.Runtime.dll and DYMO.Common.dll because if we make a call to DYMO.Label.Framework.Framework.GetLabelWriterPrinters() it will fail without referencing to those two other DLLs. The assembly that gets installed by DYMO DLS doesn’t seem to be in GAC. It always have the latest file in installation directory such as C:\Program Files (x86)\DYMO\DYMO Label Software\Framework but not in GAC. So our software won’t be able to get either of those two assemblies. But if we distribute those two assemblies with our software, then it seems to be version dependent. Can you provide guidance as to how we should resolve this problem?
Hi Lei,
The best thing to do is compare your project with how we do it in the samples we provide. There is a C# sample that uses the framework that would be very useful for you.
ron
I did reference your C# example and it references DYMO.Label.Framework.dll but on build it copies the same 3 assembly to local folder of the sample application. The sample also does not work when it is build with 8.7.0 installed and then later upgrade DLS to 8.7.2. And upon further inspection, your sample application also does not return any printer list after upgrade exactly like our application. Which boil down to where I started. I can get this working, but the SDK assembly is not installed in GAC so we have to copy to application’s folder but then newer software does not work with older assembly version. Can you suggest anything else other than the fact that we have to force all of our users onto the same DLS version?
Hello Lei,
I will investigate.
Ron
Hello,
I’ve a problem with the web service. The framework doesn’t find my printer.
I’m running windows 10 (v. 1803) and Dymo Label Software 8.7.2 and the latest js (3.0)
When i click on the diagnose web service button i’ve a window telling that : “The request was aborted: Could not create SSL/TLS secure channel”
I’ve also tried to clear all cache and history etc from Edge.
The problem is the same in Internet Explorer.
Can anyone help me ?
Thanks in advance,
Hi there,
Is this a new problem due to an upgrade? What model number printer do you have? Can the printer be found using DLS on this computer?
regards,
Ron
Hi,
The version install was the 8.5.1. I’ve tried the latest version to solve the problem without success.
The DLS find the printer.
The printer is the LabelWriter 400 Turbo
Thanks in advance,
Regards,
It would be best to use the latest version, 8.7.2. Many issues have been fixed since 8.5.1 was released.
Once you have the latest version installed, try using our javascript sample
http://developers.dymo.com/2010/06/02/dymo-label-framework-javascript-library-samples-print-a-label/
Please let me know if the sample does not work.
Ron
The version WAS de 8.5.1. I’ve already install the 8.7.2 but the problem still exists.
I’ve also already try the lasted javascript (http://labelwriter.com/software/dls/sdk/js/DYMO.Label.Framework.latest.js).
Hi Ron,
I’ve tried with your example and the version 8.7.2.
It doesn’t work.
In Edge the message is that “No DYMO Printers are installed. Install DYMO Printers”
So, I’ve tried to reinstall the printers. Without success.
In Internet Explorer, the message is : “Object doesn’t support property or method ‘defineProerty'”
Hello,
I think the clue that you got from the diagnose button is the best place to investigate… “The request was aborted: Could not create SSL/TLS secure channel”.
We have not seen this before, I suspect there are specific security settings on your machine/browser that is causing this issue. Do you get this problem on a clean OS/virtual machine?
Ron
We are trying to install this on one of our Windows 7 Computers, it has installed fine on a few others but we cannot get it to install on this one. Windows 7 Professional SP1. When installing we are receiving a Windows Installer Popup with instructions on how to format the command line to install the MSI. I can manually go into our temp folder to find the MSI File and can manually install it but because it is not completing the installation the certificates don’t get installed and it won’t run. Please let us know if you need any more information, thank you.
We found the following, just linking it because seems to be similar issue:
https://community.spiceworks.com/topic/874022-msiexec-just-returns-a-pop-up
Hello Jonathan,
Is this issue related to our DYMO SDK or is at issue with a DLS installation? This blog is specifically for the SDK. If you have issues with the installer, please go to
http://www.dymo.com/en-US/online-support/online-support-contact-us
regards,
Ron
I would say this seems to be more of an issues with the SDK as we haven’t had issues installing.
Hi,
Do you have .NET Standard version of protocol for label writer?
Just producing byte stream would be great as I am writing xamarin app and can connect to BT printer directly.
Thanks
Hello Evgeny,
Sorry, we do not have a .NET standard version.
Ron
Ok, do you have plans to release it anytime soon?
Thanks
Hi,
I have asp.net site that generates labels with 2 object fields and a barcode. It works fine on windows and the preview and the print works as expected. However when I run the site from a Mac all that shows is the barcode.
The Label is generated via javascript using a label template and which it then sets the object fields by label.setObjectText(“”,””) and we just use label.render() to show the view.
Not sure why the same code is returning two different results on different machines.
Hi Vincent,
Are you able to debug the javascript to see that your code is running as expected on both platforms?
Ron
Checking the javascript both plathforms show the same results. I do see the values getting loaded into the labelset.
I think I’ve solved one of the labels. Windows seems to ignore the font color of the label template while the Mac enforces it. The label template that I was referencing set the object font color to white. Changing it to black shows it on both platforms.
However, I still have 2 other older labels to try and work out.
Hi,
With the latest version of the software my Labelmanager PnP that i use for printing QR codes prints the label in poor quality and the result is a non-readable label. The last version that print with the best quality QR codes is the 8.5.1. I’m running on Windows 7 x64, also on windows 10 same quality problem
Hello Davide,
This Blog is for issues with our DYMO Software development Kit. It sounds like you are having an issue with DLS. The standard Help system is better equipped to handle your issue.
Ron
http://www.dymo.com/en-US/online-support-contact-us
Yes, but I have the same problem with Dymo Label Framewrok and with the software that I’m trying to develop in C#. At the end the issue is the same, I think it is driver-related…
I’m running into very weird CORS / host issues. The DYMO web service responds on htt ps://127. 0.0.1:419 51/ fine but throws a HTTP 405 on ht tps://l ocalhost:41 951/. This is an issue as the SDK uses ht tps://local host so no apps are working. I noticed the code calls StartHost(“127.0.0.1” and I tried replacing this with StartHost (“localhost and got an error about WCF namespace reservations, with a link to docs.micro soft.com/en-us/dotnet/frame work/wcf/feature-de tails/configuring-http-an d-https. I’m not familiar enough with .NET / WCF to go any further here, but I expect several of the above comments regarding CORS are running into this same issue.
I’ve tried uninstalling / reinstalling and I’m definitely using the latest version.
(Spaces added to URLs to try to get comment to post)
Hi Rich,
Are you using the latest JavaScript SDK? The latest is version 3.0.
Ron
I have the same problem. Javascript SDK is 3.0. Print label sample works fine, because it call 127.0.0.1 to get printer, Javascript not working because it use localhost instead. So any idea to solve this problem? I tried to replace localhost to 127.0.0.1 in DYMO.Label.Framework.3.0.js, but still not working.
Hi Bo,
We are currently looking at this problem. We will let you know what we find.
Ron
Hi Bo, what do you mean about “Print label sample works fine but Javascript not”?
Print label sample is using Javascript SDK 3.0, therefore if you are working with this file your requests are calling 127.0.0.1.
Did you check on browser’s console what is the Request URL?
There is an issue with the DLS Web Service in version 8.7.2. It changed the listening address in mono from localhost:41951 to 127.0.0.1:41951. Since the mono web service requires an exact header match all apps that used hxxps://localhost:41951/DYMO/DLS/Printing/StatusConnected no longer work in 8.7.2:
$ curl hxxps://localhost:41951/DYMO/DLS/Printing/StatusConnected
Bad Request (Invalid host)
Reverting back to 8.6.2 fixed the issue for me:
$ grep StartHost /Users/me/.local/share/DYMO/DLS8/DLSWebService.log
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://localhost:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://localhost:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://127.0.0.1:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://127.0.0.1:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://127.0.0.1:41952/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://127.0.0.1:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://127.0.0.1:41951/DYMO/DLS/Printing
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: hxxps://localhost:41951/DYMO/DLS/Printing
PS: xx = tt to bypass the comment anti-spam filter
Hi Richard,
Are you using the latest JS SDK? (version 3.0) DLS 8.7.2 should be used with JS 3.0.
http://developers.dymo.com/2018/05/09/upcoming-sdk-web-service-changes/
Ron
I’m not sure. This is on https://digitalepostzegel.postnl.nl/ which uses localhost and does not work with 8.7.2.
I am not sure who is responsible for that website, but DLS 8.7.s requires the use of the latest javascript SDK. The owner of the website may need to make a change.
Ron
I ended up replacing PostNL’s SDK with the updated one using Chrome’s “Local overrides” feature in the developer console. It worked 100% fine, I have no idea why it’s taking PostNL so long to update their SDK since they are already aware of the problem.
Any idea if Firefox has anything similar to Chrome’s local overrides feature? I’m in a bit of a pickle in that Dymo Label 8.7.1 won’t open any longer (I’ve tried a clean re-install) but this is the last version of the Dymo DNS Webservice compatible with an RMA system I use at work (The 3rd party developers are still on v2.0 of the SDK by the looks of it).
Dymo Label 8.7.3 works like a charm, but obviously our RMA system is broken due to the changes in the SDK. I’m sure our site’s developers will get around to updating at some point (*crosses finger*), but in the mean time it’s one or t’ other for me. I did try to cobble together a little userscript to swap in the new SDK (i.e. replace src=foo with src=bar) but that does seem to work. Could a userscript be the answer for the time being?
Hi Lee,
We had to release 8.7.3 just so we could get our SDK working with all the browsers. I know of no workarounds that would allow older versions of DLS to work properly.
Ron
Hi Ron,
Thank you for the reply. I guess I’ll have to wait until our contractors update the website. Though as I say, slotting in the new SDK via a JS hack or Requestly doesn’t seem to work, so presumably it’s a little more involved (were our site is concerned) than slot out, slot in.
Do you have any idea why v8.7.1 of the Label software itself won’t start up on Windows 10 now? All I get is the splash screen and then nothing. I can’t access saved labels, except as saved layouts via QuickPrint (which is next to useless, as it’s the content of the saved labels I need).
Also, whilst I have your attention. Do you know why labels I’ve created in the v8.7 series of the Dymo Label software won’t open in the v8.5 series? Or what the multitude of little yellow warning triangles are that have appeared on labels (on-screen only) since I updated to the 8.7 series?
Looks like the SDK works with both old and new versions of DLS, but DLS 8.7.2 only works with the newest SDK. 3rd party sites that are hosting their own SDK JS file need to update. Very annoying.
Hi, we are using the latest DLS 8.7.2 on Mac OS. I am getting a “No Ports could be configured using SSL” error when diagnosing via the dymo web services widget on 10.13.5. On 10.13.6 I an able to diagnose and see the certificate is valid but when directed back to our label pages, there is an error that says “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/”
I tested 8.7.2 on a 10.12.6 machine and have no issues reaching 127.0.0.1 or printing.
Hi Lawrence,
I wonder if I can get some more information from you:
1. What browser are you testing with?
2. What output do you get from the terminal for this command: ls -alR.config ?
3. Is DYMO Root CA (for localhost) cerificate installed and trusted in system Keychain?
4. What is contained in your ~/.local/share/DYMO/DLS8/DLSWebService.log?
Ron
Hi Ron,
We are testing on Safari 11.1 and Firefox 61.
Your terminal command does not return anything. IR.condig does not exist.
There is no root certificate installed. I removed it when trying to troubleshoot.
Sorry I meant IR.config does not return anything.
I have reinstalled a ca root cert for localist but it is not telling me that SSL connection to 127.0.0.1 could not be established…
Here is a copy of the most recent log outupt:
DYMO.DLS.Printing.Host.exe Information: 0 : PrintLabel: DYMO LabelWriter 450 Turbo
DateTime=2018-07-10T23:20:12.0853310Z
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: https://localhost:41951/DYMO/DLS/Printing
DateTime=2018-07-11T15:40:04.9050430Z
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: https://localhost:41951/DYMO/DLS/Printing
DateTime=2018-07-11T15:40:48.9972240Z
DYMO.DLS.Printing.Host.exe Information: 0 : CheckServiceStatus
DateTime=2018-07-11T15:41:21.1222990Z
DYMO.DLS.Printing.Host.exe Information: 0 : CheckServiceStatus
DateTime=2018-07-11T16:01:33.7844760Z
DYMO.DLS.Printing.Host.exe Information: 0 : Starting DYMO.DLS.Printing.Host 0.0.0.0
DateTime=2018-07-11T16:06:48.5743570Z
DYMO.DLS.Printing.Host.exe Information: 0 : StartHost: https://localhost:41951/DYMO/DLS/Printing
DateTime=2018-07-11T16:07:14.5331660Z
Hi Lawrence,
Sorry, I wrote out the command wrong:
ls -alR ~/.config
The best way to re-install the root certificate is to un-install/ re-install DLS.
Do you see the same script error when loading in Safari/Firefox?
ron
Is there any chance that you will have a more developer friendly npm package or a git release? We have had a number of mysterious breakages only to find out you “updated” something and we recieved no notification for the js in our codebase. I have alerts setup now for your rss feed, but It would be great if there were a paradigm of versioning. Thanks
+1 to this. We have the same issue, especially with breaking upgrades like 8.7.2 was. A large number of our customers upgraded to 8.7.2, which resulted in them being completely unable to use our label printing functionality until we figured this out.
Dymo’s customers include some rather major institutions, and breaking their time-sensitive workflows is not ok. Especially with the only notification being on a relatively obscure non-customer-facing blog. There wasn’t even a deprecation warning, just “Surprise!”
RSS doesn’t cut it. Please either set up an npm package, git release, or even CDN distribution, or… stop breaking compatibility.
+1 to this. This is no way of working for (rather) mission critical applications.
+1000 to this. its annoying to find that there is an update if i dont check this site for a few weeks.
+1001 this developer website is soo slow to load as well, it’s almost impossible to track issues and find releases through it.
Please shift this all to Github and Github’s issues and releases – for at least the JS SDK if nothing else!
Also the local root certificate system being used is a browser upgrade and security nightmare, every major Firefox upgrade seems to break Dymo as it loses the locally injected Dymo root CA thus killing the https connection over localhost.
See https://github.com/njh/dymo-root-ca-security-risk
for a great article explaining the security risks of the current solution and for hints on how to solve the types of ssl errors that keep cropping up.
I am trying to use this framework with a Salesforce Lightning Component, however, I keep getting the following error:
Uncaught TypeError: Cannot set property ‘Aa’ of undefined
Is there a way to fix this?
Hi Aaron,
Perhaps you could post the offending code so I can take a look.
Ron
Ron,
Thanks for your response. I was able to fix this issue within Salesforce. However, now I am trying to generate a preview using label.render(), but I only receive half the image. Is this a known issue?
Hi Aaron,
I have not heard of this issue. I assume your label looks ok when you display it in DLS?
Ron
Aaron- Any chance you could share how you fixed the Lightning issue? I have the same problem. Thanks!
I’m using DLS 8.7.1 and JS SDK 3.0 in an ASP.MVC application, I’m experiencing an issue with one developer’s client (Windows 10 64-bit) running Firefox Quantum 61.0.1 and not detecting the installed DLS 8.7.1. Other browsers on the same machine DO detect the installed DLS properly and behave as expected. Other developer clients running Windows 10 64-bit and Firefox 61.0.1 DO properly detect the installed DLS.
What would cause Firefox not to recognize the service is installed and running?
Hi Jonathan,
Have you looked for any differences, with regards to security, in the way FireFox is set up?
That is the only thing I can think of that would a cause an issue like this.
Ron
Can you please provide a non-minified JS library?
It’s clear from reading the dozens of replies to each post here that your customers are finding it difficult to get basic answers on how to use your services.
The JS code only connects to your proprietary web service; has zero benefit to anyone except the developers here who want to integrate with your products, and it’s minimal on your end to provide this.
All the hard work you guys put into building these SDKs is completely diminished by not providing the basics that your customers need to use them.
I see this same message in the Web Console in Firefox and it appears to be a warning with a yellow exclamation – “Synchronous XMLHttpRequest on the main thread is deprecated…” I confirmed it is a warning by filtering in/out warnings vs errors, etc. My printer prints the labels fine using the new SDK and DLS.
Hi Mike,
What version of DLS are you using?
What version of the Javascript SDK are you using?
Ron
DLS v.8.7.2.45959 (Windows)
Javascript SDK (downloaded above) DYMO.Label.Framework.3.0.js
I tested in Chrome and it printed, and I receive a very similar message-
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
Td @ DYMO.Label.Framework.3.0.js:60
That may be more helpful. I notice there is a “Td()” function at line 60, it’s fairly short, and there are XMLHttpRequest stuff in there.
Thanks for checking it, Ron.
DLS v.8.7.2.45959
Windows 7
Firefox 62.0 & Chrome 69.0.3497.100
I’m having the exact same issue:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ dymoFramework.js:2053:4
Using the Dymo.Label.framework 3.0 posted above.
At times it can take 20+ seconds after submitting a label to the printer before that label will actually print. using the following function.
const printLabel = labelObj => {
var label = dymo.label.framework.openLabelXml(labelXml);
label.setObjectText("mileField", labelObj.returnMiles.toLocaleString());
label.setObjectText("dateField", labelObj.returnDate);
dymo.label.framework
.getPrintersAsync()
.then(printers => {
const connectedPrinters = printers.filter(printer => printer.isConnected);
return connectedPrinters[0].name;
})
.then(printer => label.printAsync(printer));
};
Is there any way to get confirmations from the print server like “received label”, “printing label”, or “printing complete” ?
Thanks,
Tyler
Hi Tyler,
would you mind trying this with DLS version 8.7.3?
Let me know what happens.
Ron
Hi Ron,
Thanks for the quick reply.
I removed the 8.7.2 DLS and installed the new 8.7.3 then rebooted.
I forgot to mention I’m using a label Writer 450 Turbo.
Running the same function I posted above I’m still getting the following warning output to the console –
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
Td @ DYMO.Label.Framework.3.0.js:60
The label is slow to print the first time that I run the function ( 10-20 seconds until the printer responds ) But there after the printer will print the label almost instantly.
Thanks,
Tyler
Hi Ron
We are having CORS issues in Chrome and Firefox. Printing is not possible using the SDK (DYMO-Label-Framework-3_0.js) and DLS 8.7.2.
The console says: “Request Blocked: The Same Origin Policy disallows reading the remote resource at
*127.0.0.1/[URL]/DYMO/DLS/Printing/StatusConnected. (Reason: CORS request did not succeed).”
Can you help?
Hi Matthias,
Sorry to hear you are having these issues…
What OS are you running on?
Ron
It’s MAC OS El Capitan v.10.11.6, we use the latest versions of Firefox / Chrome.
Can you also post the JS code that gave you this error?
Hi Ron
It seems to be this line: var pngData = label.render();
…in the updatePreview() function.
Hi Ron
Haven’t heard from you… does this mean you don’t know how to fix? I’m struggling here with my customers who are not able anymore to print their labels. Will there be a fix for this issue or should we start looking for another solution? Please let me know, I always liked your product, but I need a solution soon.
Hi Matthias,
Are you using the latest (8.7.3) version of DLS and the latest (3.0) version of the JS SDK? This issue was addressed in this release.
Ron
Hi Ron
Thank you for your answer.. where can I download 8.7.3 for Mac? On the download page [www]dymo.com/de-DE/dymo-user-guides I only see the version 8.7.2. Can you send me the right link?
Hi Ron
Is there a DLS 8.7.3. for Mac? If not, are you planning to fix this issue on Mac too? Please let me know. Thx.
DLS 8.7.3 for windows was a windows only fix. It fixed an issue related to a windows update. 8.7.2 for MAC should give you everything you need.
Ron
Hi Ron
So back to square one.. the problem I mentioned was on Mac, not on Windows. In other words, you don’t plan to to fix this issue? Very disappointing, really. So we need to look for another solution then.
Thx anyway
I don’t know if this helps, but I also received that error after I uninstalled old and installed new DYMO DLS and began using the updated JS code, without closing and opening my browser (Firefox) during that time. Once I closed and opened the browser, it printed without that error, though with a new warning I posted about above.
Hi HikingMike
Thank you for your response. We tried that too, believe me, many times. Unfortunately it didn’t work out. I usually close the browsers anyway during the installation.
I’m having the same problem after Firefox upgraded, Chrome is still working.
If you try and hit the local dymo server (eg in my case https://127.0.0.1:41951/) you can then inspect the certificate.
In Chrome the certificate is fine, but in Firefox no cert is found and so it blocks access completely.
I think the reason for this is documented well here: https://github.com/njh/dymo-root-ca-security-risk
So if you find this is the same problem then the workaround is probably to close all browsers, uninstall Dymo, restart, reinstall Dymo so it gets a chance to freshly use certutil to inject the CA into Firefox (and any other browsers it’s sniffing for) then restart Firefox.
Hi Ron
It seems to be this line: var pngData = label.render();
…in the updatePreview() function.
Hi
I have created some of test urls with the js dymo framework.ca you please test and let me know is same html as preview prints on label.
I don’t have dymo printer with me.Before purchase I need to confirm that it printer same print as preview.
here are the test urls :
http://urtestsite.com/projects/web/Alex_Davnis/printing_labels/test_print/test4.html
Please check and let me know if there is any issue.
I need to print it on Printer : LabelWriter™ 450 Turbo , LabelWriter™ 450
One of my clients is getting a Cors problem when attempting to print. They can resolve it every time by downloading the latest DLS and installing it. As you can imagine this is getting a bit tiresome for them to do this every morning.
They are running Windows 7 on their PCs. I was wondering if their local Dymo server might be starting up with the wrong privileges or something, and reinstalling the software sets it back to the right privileges and enabling their Dymo to work.
Any advice would be appreciated.
PS We have over 50 clients using Dymo printers, and this is the only one affected, so appreciate it may be hard to put your finger on what might be happening/how to resolve the issue.
Hi Simon,
As you have already guessed, I am going to need more information about the site that is failing. What browser and version number are they using? What OS are they on?
Ron
Hi,
We had a similar issue related to CORS. It was due to the fact that the Javascript library was not updated to latest (3.0). Older version was being loaded from cache.
Good Luck!
Thank you for the SDK. My clients are delighted to be able to print labels directly from my web app application without jumping through print dialog hoops. Keep up the good work!
What’s the timeline for upgrading the SDK to 64-bit on macOS Mojave (10.14). I’m running the beta on one of my computers so I can ensure compatibility between my clients’ computers and my web app.
Cheers!
Andy, we don’t have a timeline at the moment. We’ll post any updates on this here on the blog.
We have hundreds of clients using our tool based on the Javascript SDK. By making the new SDK required for Dymo Label 8.7.2 and higher you have made it very difficult to produce a continously working solution. Some of the end users have upgraded but we are still hosting the old SDK. If we would switch to the new SDK then we will get annoyed messages from clients who haven’t upgraded Dymo Label yet. Assuming everyone will upgrade at the same time is an illusion so it’s always a mess.
Is there a way to detect the Dymo Label software version and based on that, serve the appropriate version of the SDK to this user?
Ruben, there is no way with our JS SDK to retrieve the installed DLS version. I can definitely see the value in this and will recommend for future updates.
+1 for getting the version number from the API, please.
We had to physically get on client machines to determine their driver version numbers.
Not going to scale very well, eh!
I really like the JavaScript API (8.7.2). It works very well, though I’m having a problem with the dymo.label.framework.openLabelFile() API with a local file (file:///). The method works, though it seems that once I open a label file, the contents are cached somewhere.
If I open a label file, then open Dymo Label V8 to edit the label file, make changes and save it, the changes are NOT picked up by openLabelFile() unless I close all (IE 11) browser windows first. I thought that stop/start the web service would clear the situation but it didn’t either ?
Hi Brian,
That is a strange problem.
The webservice does not cache any data. I suspect the browser.
Ron
Hi Ron,
I’m not sure how the web service opens the file for reading. Any change that process can specify a parameter setting or something similar to adding a unique param/value to a URL to prevent server side caching in a web app ?
Thanks, Brian
A few of our clients have asked about using the new Wireless Dymo with the dymo web service from testing it appears that this does not work I wanted to see about getting a confirmation of this incompatibility so that i can dissuade users that rely on the web service from buying an incompatible product.
Hi David,
We have two webservices, which one are you referring to?
We have a webservice running on the printer that is used for configuring the printer to the wireless network, and we have a webservice that is part of the DLS install that is used by our javascript SDK.
Both of our webservices work quite nicely!
Ron
Question,
is there a direct link to “just the web driver”?
Our application runs in a web browser at client locations.
To get them moved to 8.7.3 of the web driver we had them all download the 180MB dymo label software installer, and walk the entire install process. Very inefficient when all we wanted was the web driver!
Is there a place I can find an installer for the web driver alone, e.g. not 180MB of application?
Michael, we do not have a driver only install unfortunately.
I’m wondering if it’s possible to turn off the log messages coming in the browser when calling openLabelFile, I get a:
log: xml……. entry in my console. I do not have the trace functionality enabled.
Sean, there is no way currently to turn these off.
With the sdk version 8.5.1 I have developed an rdp-addin for Windows.
I save the modified label to xml on the server side. Transport the xml via the Virtual Channel to the rdp client side, and reload the xml on the client side and print it there.
With sdk version 8.7.2 this functionality it not possible anymore, the printing results in an error.
Do you have any advice how I can make the rdp-addin work with the new sdk or is it perhaps possible that this functionality can be restored in a new version of the sdk.
Hi Marco,
I am not familiar with RDP addins… Perhaps the file gets modified as it is transferred?
Can you try your solution without moving any data to the client?
What errors are you getting?
Ron
I’m running Windows 10 on a brand new surface tablet, and I’m having two issues with the DLS installation. The first is that during installation, I get a notice that these two packages need to be installed:
Microsoft Visual C++ 2013 Redistributable Package (x86)
Microsoft Visual C++ 2013 Redistributable Package (x64)
I tell it to continue, and the installer tries to install them, but the installation for both of the packages fail. I stopped the installation, found the same packages on the microsoft site and installed them manually without any issue. Then I restarted the DLS installation and got the same message. It does allow me to continue past the failed package installations, so I do.
The second and more important issue is that I can’t seem to get the dymo web service to run. I first installed DLS version 8.7.3, and I could see the web service icon in the tray. It was running, but when I hit the “Diagnose” button, I got the following error:
“Exchange certificate is not installed”
I uninstalled DLS and re-installed as an administrator, but got the same error after reinstalling. So I uninstalled again, restarted, then installed version 8.6.2. And it worked!… for a few minutes. The diagnose button gave me a successful response, so I started coding a sample page. The first few times I ran the sample page, I could see the printer, but then I started getting an error in the console, so I went back to the “diagnose” button. And again, the dreaded “Exchange certificate is not installed” error was back.
I uninstalled again and tried version 8.7.2 with the same result. I finally put version 8.7.3 back on and now get the following error:
“None of the ports were configured to use SSL certificate.”
Is there something about the initial package failure that’s preventing the rest of the installation to work correctly?
Hi William,
This appears to be an installer issue. Unfortunately our installer expert is out of the office for the rest of the week. I gave him a heads up to work on this on Monday.
Ron
Ok. I tried installing a few more times and looking through the logs for anything weird, but didn’t see anything. However, the strange thing is that I uninstalled and reinstalled 8.6.2, and it’s working!
But consistently, if I install 8.7.2 or higher I get the certificate error.
Hey William,
Can you give me a little more info?
What Surface Model are you using?
What OS Version?
What are the hardware specs for the Surface?
Do you have 3rd party software installed?
What anti-virus Software are you running?
Ron
Surface model: Surface Go
OS version: Windows 10
Hardware specs: 4gb memory, 1.60GHz processor
3rd party software: None. I’ve tried this right out of the box.
Anti-virus: Windows defender defaults
It seems to be hit or miss if it will work. Usually the first time I install version 8.6.2 (the only one that will eventually work) everything is fine until I restart the machine. Then when it restarts, the dymo web service gives me an “Exchange certificate is not installed” error. I’ve randomly uninstalled and re-installed several times and it eventually seems to work even after a restart.
Hey guys, I can’t get the web service of any version of DLS to consistently run after a restart. I have three separate Microsoft Surface Go tablets, all running Windows 10. It’s happening on every one of them. Is there something I’m doing wrong here?
I just made a discovery. All of these tablets were for use in kiosks, so we had a management profile from Meraki (Cisco) on there. If I remove that management profile, everything is fine with the dymo web service. But if I re-install it, then the dymo web service has errors.
How can I have both running at the same time?
Hi William,
That is a strange problem! What are you doing with Meraki? I am not familiar with it.
Ron
It’s a tool from Cisco that we use for remote administration. I ended up using another remote admin tool (splashtop) and it’s working fine. It just didn’t like the Meraki profile.
Good news!
Seems my comment disappeared – I’m getting errors like “Uncaught TypeError: P.c is not a function” often when calling “dymo.label.framework.checkEnvironment()”. A co-worker gets it as well. Both running Chrome on Macs. Also get it in Safari.
Sometimes it works, sometimes it doesn’t. I was able to work around it with a “setTimeout(…, 0)” in one case but not another.
Is this a known issue? Something we’re doing wrong?
Ah, I got that error from “checkEnvironment()” because I did not know to call “init()” first. I had only seen http://www.labelwriter.com/software/dls/sdk/docs/DYMOLabelFrameworkJavaScriptHelp/index.html and only found http://developers.dymo.com/2016/08/08/dymo-label-web-service-faq/#_Toc458160291 now.
As a developer integrating with this SDK, it would have been amazing to have one page with a clear intro and up-to-date documentation of all the functions. When it’s spread out over old blog posts like this, it’s easier to miss things.
I’m running a Windows Server 2016 RDS (terminal server) environment with multiple active users per server.
Running DLS 8.7.3 en testing the SDK through http://www.labelwriter.com/software/dls/sdk/samples/js/PrintMeThatLabel/pl.html.
I’m experiencing the issue that the SDK connects to the instance of a different user, so the wrong or no dymo printers are displayed.
This is stated in your release notes: However, if the JavaScript SDK connects to another user’s instance (due to being the first to respond to the port scanning), shared printers for the other user will be visible through the SDK but shared printers for the current user will not.
Is there a way to fix this issue?
The only “workaround” is to stop every Dymo.Pls.Printing.Host instance for all users and then start it only for 1 user.
Regards. Dani
Hi Dani,
I am not aware of any workaround for this issue.
Regards,
Ron
Hi,
So this is still an issue in the current release. Are you working on a solution?
Or is this by design? We cannot really use the SDK in a multi-user environment now. As we have users with access to different dymo printers.
Regards,
Dani
I can’t connect via Chrome or Firefox to DYMO Label Web Service:
the error is ERR_CONNECTION_RESET when I open the 127.0.0.1:41951/DYMO/DLS/Printing/Check (on Chrome)
and “connection not secure” on Firefox.
On Internet Explorer and Microsoft Edge the response is that the web service is in execution (OK).
I’ve tried to update to 3.0 Framework too (client and server), but nothing to do.
Hi Andrea,
Make sure you have the latest (8.7.3) version of DLS installed. Additionally, make sure you are using version 3.0 of the JS SDK.
Ron
Dear everyone who came here looking for a solution to this error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:41951/DYMO/DLS/Printing/StatusConnected
For the record I am on OS X 10.11 and using Firefox. I DID NOT have this issue in Chrome – only in Firefox and here’s how to fix it:
There should be a Dymo icon on the menubar – if there isn’t, make sure you have the latest drivers installed: http://www.dymo.com/en-US/dymo-user-guides
If you’ve inadvertently stopped the service you can open a terminal and run:
launchctl start com.dymo.dls.webservice
That should get it going. In theory you should be able to run /Library/Frameworks/DYMO/SDK/DYMO.DLS.Printing.Host.app but for me it didn’t work as the OS complains “You have OS X 10.11.6. The application requires OS X 10.12 or later.” (If that’s the case why did it install? Dymo, please fix this or update your OS requirements.)
Now, click that Dymo icon in the menubar and then “Diagnose…” That should prompt you to open a link in your web browser like “https://127.0.0.1:41951/DYMO/DLS/Printing/Check”. Open it. In Firefox. If you are like me you will get an error page saying: “Your connection is not secure The owner of 127.0.0.1 has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.” Click “Advanced”. Then click “Add Exception”. In the following dialog, check the box that says “permanently store this exception” and then click “Confirm Security Exception”.
That should do it. You should now be looking at a test page for the service that says “Congratulations! DLS Web Service is up and running. You can now print from supported web sites.”
For whatever reason, Firefox does not like DYMO’s Root CA and you need to manually add the exception to get it working. Hope this helps some of you.
Really helpful, thank you very much.
Any news on macOS Mojave compatibility? We running into issues. Sometimes it works, but after printing 1 or two tickets we get errors.On earlier versions of macOS we didn’t have any issues at all. Since most of our clients updated to Mojave this is giving us headaches…
Hi Kevin,
Are you printing from DLS or from a custom application? What type of errors are you getting? What version of DLS do you have installed?
Ron
Hi Ron,
We’re using a webbased app running in Safari 12.
We use the latest 3.0 javascript framework and have Dymo label 8.7.2.20 installed.
Everything is working just fine on macOS High Sierra. On Majove it sometimes works, but after a few printed labels (or sometimes even at the first label) we get this error:
“DYMO Label Plugin is not installed.”
K
Thanks for the info, Kevin. I will get the Mac team to look at this.
Ron
Hey Kevin,
I think “DYMO Label Plugin is not installed.” means it looks for old plugin, because it can’t find Web Service.
Please do the following when you encounter this issue:
1) Collect JavaScript console log
2) Check if Web Service is actually running in system tray
3) Do Diagnose… from Web Service system tray
4) Look for Web Service crash reports in Console.app.
Ron
Found the issue: The service was running, but Majove was complaining because the service doesn’t have. a valid SSL certificate. Overriding that manually made it work.
Excellent!
Is there javascript samples on how to print to the DYMO Label Writer 450 Twin Turbo label printer, like how to print using a specific label on the printer.
Hi Austin,
Have you looked at:
http://labelwriter.com/software/dls/sdk/samples/js/PrintMeThatLabel/pl.html
Ron
How do i tell the printer what side to print from left or right?
I was able to get the printing working either left or right by setting printXml, it works fine in development left side goes to left with a kind of label then the other label to print goes to the left side to print a file folder label. I deploy it to production test server and it fail the printing of both labels defaults to the left roll.
Links below to github gists
Label 1:
Label 2:
Label 1
Hi Austin,
If it worked in the development environment, I doubt it is a code issue. I suspect there are critical differences between the dev/release environments. Can you please list those differences? OS, DLS version, etc…
Ron
Development OS: – My Macbook Pro
macOS High Sierra 10.13.6
DLS: Version 8.7.0.181
Chrome: Version 70.0.3538.77 (Official Build) (64-bit)
Production Web Server:
Ubuntu 16.04
When deployed to production i use my Macbook Pro to print labels through chrome.
I got it figured out. when i published to production before and after the previous javascript files were on the server. I deleted the old files and reuploaded the new files and prints correctly now. I also update dymo label software to 8.7.2 on my mac
Label 1:
Github Repo of 2 Javascript Files
https://github.com/austinklenk/dymo.git
Just wanted to share with everyone that MacOS Mojave with Safari 12 removes NPAPI plugin support. So… anyone who is depending on the plugin and older browsers that support NPAPI can scratch Safari off that list.
https://developer.apple.com/safari/whats-new/
Legacy NPAPI Plug-ins
Removed support for running legacy NPAPI plug-ins other than Adobe Flash.
The DYMO javascript SDK no longer uses NPAPI.
Ron
Sophos Firewall Intrusion Detection is blocking the AddressFixer [confirmed by turning off and AddressFixer worked]
Can you provide an address so that I can allow as an exception?
Hi Gary,
It is the USPS site:
https://www.usps.com/business/web-tools-apis/welcome.htm
Ron
Hi.
1. My Magento installation doesn’t detect the DYMO printer. What should I do.
2. What can I with the .JS file? How does that work (installing)?
Hi Pete,
I am sorry, I don’t understand what you are trying to do. If you are having an issue with Magento, I suggest contacting them directly. Perhaps their software does not support DYMO printers??
Ron
Hi Ron,
I have a customer that is using a DYMO 450 Wireless printer with our software on a Windows 10 Pro x64 PC. Our software runs in fullscreen mode (like a kiosk) and on this PC our app resizes to a smaller window when the label is printing via the Windows SDK DymoAddin interface. They have DYMO LabelWriter Software v8.7.3 installed.
Have you seen this before?
Regards,
Trent
Hi Ron,
Further on this issue, the customer has tested a DYMO 450 printer and it causes the same issue. The customer then tested a different brand’s label printer and our app didn’t resize, which means there is a problem with the DYMO printers only resizing our app on this PC.
Regards,
Trent
Hi Trent,
We did see this issue one time before… unfortunately I cannot find any details for the fix. I do remember that it was a defect in the .net framework that could be worked around via an appconfig entry.
I have been googling this issue and have not found the solution.
Ron
Thanks, Ron. I’ll do some researching too. Will post here if I find the solution.
Regards,
Trent
Hi Ron,
Happy New Year! A follow up to this issue: the customer uninstalled the DYMO software and printer + the .NET 3.5 and 4.0 installations from the PC, rebooted, downloaded fresh copies and reinstalled everything, rebooted, tested printing a label and the same problem occurred.
Did you have any luck finding a solution to this problem?
Regards,
Trent
Hi Trent,
I was not able to find the solution. I know it has to do with an entry in the app.config file.
Ron
Hi Ron,
Where is the app.config file located? We code in Clarion which doesn’t produce an app.config file.
Regards,
Trent
Sorry Trent,
I assumed you were working in C# or VB.Net. I am not familiar with Clarion.
Ron
No one is familiar with Clarion :)
In Clarion we use the Windows SDK DymoAddin interface to print the labels. What else can we do/try? If I can’t find a solution then I won’t be able to promote/sell the DYMO printers with our software.
Regards,
Trent
Hi Ron,
Just following up on this issue as our customer requires a resolution.
Regards,
Trent
Hello, I am in need of some assistance in building a very simple interface. I am not a coder at all (Systems admin) and would like some simple direction or assistance.
I have a label template made that has several barcodes linked to serveral corresponding text fields. I need to make a small application that allows users to type the desired text in to text boxes that are linked to the text fields on the label (thus updating the barcode content) and click print to print these labels. Does someone have some template or something that i could modify in VS to match the field names with what im expecting?
Dear Ron,
as DLS 8.7.3 was released quite a while ago can you please verify, that the sdk resp. framework does support printing of TAPE-labels?
I am using LabelWriter 450 Duo and I have issues to print TAPE-labels using Python via COM.
Printing LABEL-labels is working fine.
Also printing via the Dymo App is working perfekt for both label types.
Thanks a lot in advance.
Juergen
Hi Juergen,
The framework does support both Tape and roll type labels. Are you laying out a label in DLS and then using the label in your application? The label files will be quite different between D1 tapes and Roll type labels.
Ron
Dear Ron,
We found a strange problem with Dymo software 8.7.2.20 on Mac OS (at least 10.13.6., but we suspect it’s a more general problem).
Both one of our customers and we see it on our Mac systems.
When we print using the Javascript API it works correctly until you change the .label template.
Then Dymo keeps printing the old one and doesn’t see the .label template changed.
So it seems it keeps caching and doesn’t load the new one.
This behavior doesn’t happen on Windows machines.
Could this please be checked out?
Thanks!
Best regards,
Marco
Hi Marco,
We can take a look… Can you post some code for us? Is the label file loaded from disk? Does it print the old label template if you stop/start the webserver?
Ron
Dear Ron,
This happens when the label is loaded from a website/webserver.
You should be able to see this for every case were label is loaded from a (remote) URL.
Restarting computer is not helping in this case.
It keeps remembering the old label.
This looks like a caching issue with remotely loaded labels.
Best regards,
Marco
I have the latest DYMO version 8.7.3.4 and I just upgraded to Visual Studio 15.9.5 and now when I deploy my application (WinForm) using the DYMO.Framework I get this error when trying to get printers:
System.NullReferenceException: Object reference not set to an instance of an object.at DYMO.DLS.Runtime.Printers.RetrieveInstalledPrinters()
If I use the older version of visual studio all works as excepted. Thoughts on how to correct this?
Hi Zach,
Are there any changes to your project settings? Same version of .Net, etc…?
That is a strange result.
Ron
Hello.
Regarding WebService, we got an issue on Windows7 (Tested on mutiple PCs)
When running diagnostic, it returns error message:
“The underlying connection was closed, An unexpected error occurred on a send”
And we digged into the windows system event log. We found a “Schannel” error with ID 36888, status code 1250/1051
Looks like it is related to the certificate, and trying to solve it with this blog post:
https://blogs.technet.microsoft.com/keithab/2016/08/02/schannel-errors-event-id-36888-after-installing-kb3042058/
Unfortunately, still no luck. We can see the DYMO certificate is sucessfully installed already.
Can someone shed some like please? Thanks.
Regards,
John
Hi John,
I have one of our developers looking into this issue. Have you tried on a Windows 8 or 10 machine?
Ron
Hi Ron,
Thanks for the reply. Win10 works fine for us.
Regards,
John
But we still need to get it working on Win7 tho. As most of the users still win7.
Hi John,
We are working to reproduce the issue. No luck so far…
Ron
Hi, is it possible to use the sdk script file directly in a javascript file? I’m trying to use a cron job to print my labels every morning, and I don’t have an index.html file to bring in the sdk via a script tag.
I tried directly using the minified code that the sdk file links to, but I’m unable to use the methods such as findPrinters, print, etc.
Hi Brandon,
We do have non-JS SDK’s. What OS are you running on?
Ron
Why the new DYMO Connect for Desktop does not include the web service?
Hello, i have a customer that uses Dymo JavaScript SDK with a web app that i’ve developed. He says that with the Windows 10 update 1809 of february 13 Dymo web service stopped working.
Has anyone had similar issues?
Thanks in advance and greetings
Cris
Hi Cris,
We have not heard any reports to that effect. You may want him to make sure he has the latest version of the Labeling software installed (8.7.3).
Ron
Hi Ron,
one step closer.
This:
var copies = document.getElementById(‘labelPrintCopies’).value;
// set data
// Because Android does not support XPath (that is needed for setObjectText)
// we will use LabelSet instead
//label.setObjectText(objName, text);
var labelSet = new dymo.label.framework.LabelSetBuilder();
var params = dymo.label.framework.createLabelWriterPrintParamsXml({Copies:copies});
labelSet.addRecord().setText(objName, text);
// print
//label.print(printer.name, null, labelSet.toString());
// print and get status
var printJob = label.printAndPollStatus(printer.name, params, labelSet.toString(), function(printJob, printJobStatus)
Does not throw any errors but it does not pass the value of the string. If I change the Copies:copies to just Copies. I get the error value Copies not defined.
Even if I hard code the number Copies: ‘3’. It only prints one copy. I have yet to find any sample or documentation that says how this is supposed to set the value and get it to work.
Any guidance would be greatly appreciated.
Sherwin
Hi Ron,
I use an old application written in Delphi to print directly on a “LabelWriter 400 Turbo” and it works perfectly; I bought a “LabelManager PnP” and it does not work, the printer does not seem to get any print and the program does not give me any error (the name of “SelectPrinter” is right).
On my PC I have Win 10 and I have installed DYMO Label 8.7.3.
The development environment is in Delphi 7 on PC Win XP.
The program code is:
DymoAddin1.Open();
DymoLabels1.SetField(CampoCodArt, ‘123456789’);
DymoLabels1.SetField(Descrizione, ‘asdfasdfasdf’);
DymoAddin1.SelectPrinter(‘DYMO LabelManager PnP’);
DymoAddIn1.Print(1, TRUE);
This code with the “LaberWriter 400 Turbo” works perfectly.
Can you please help me?
Walter
Hi Walter,
The COM SDK does not support LabelManager (Tape printers). Only the LabelWriters are supported. If you want to print to a LabelManager you will need to use the DYMO.LabelFramework.
http://www.labelwriter.com/software/dls/sdk/docs/DYMOLabelFrameworkdotNETHelp/html/N_DYMO_Label_Framework.htm
This framework is our .NET framework.
Ron
Help!!
The Dymo Web Service seems to have disappeared from the new Windows “Dymo Connect for Desktop” now featured on the main download page: http://www.dymo.com/en-US/dymo-user-guides
Web Service is critical to our usage (and 5,000 customers) of the Dymo product.
Do you kindly have any news on:
1. Is Web Service coming back to Connect
2. Are all new printers shipping with Connect on the CD or the older Labelwriter software?
We’ve confirmed with your support that Connect is intended to phase out the Labelwriter software
Thanks so much
Hello Joshua,
For now, the webservice is only included in the DLS release. The SDK for DYMO Connect is not finished. Once the SDK is completed, the webservice will be included in the DYMO Connect installer.
The SDK is currently slated for version 1.2.
There are no CDs included with the purchase of the printer, you can instruct your customers to continue to install DLS for the time being.
Ron
Dear Ron,
Could you please follow up on the Mac OS problem I reported earlier?
We still get customers with this problem.
Thanks!
Best regards,
Marco
Hi Marco,
We were unable to reproduce this issue… we don’t do any real caching on our web service. Could you post the code that you are using? Can you recreate the issue with a very simple sample application?
Ron
I just happened to notice that DLS for Mac had a version bump to 8.7.3
Can you provide information on what changed from 8.7.2 to 8.7.3?
Thanks!
Hi Bryan,
None of the changes that were made for 8.7.3 should effect your users. The changes were related to how Apple supports drivers in upcoming versions of the MAC OS.
Feel free to use version 8.7.2 and 8.7.3.
Ron
It seems that you can not use the Web Service in a multi-user configuration on Mac OS because DLS has to be installed under each user account, but by doing so, the Web Service for the previous user’s installation is invalidated.
Error: TrustFailure (one or more errors occurred.)
Help!
Any response you can provide here?
Hi Bryan,
We continue to explore options for this problem, unfortunately a near term solution is not likely.
Ron
Thanks, Ron. Not the answer I was hoping for, but a response nonetheless.
Is there a place where we can get some visibility into your product roadmap?
Good morning, Ron –
Just wanted to touch base on this request
Thanks!
When using DYMO WEB SERVICES with Chrome
We are seeing the same error on MACs as OP listed
and on Windows 10 and 7 a similar one (“the request was aborted. Could not create SSL/TLS secure channel “)
This is after an upgrade to the latest version for both Mac and Windows.
I sent an email to consumercare but am not getting much help there.
can you elaborate on this issue?
and ETA on solution?
We run a SaaS and depend on Dymo’s Web Service to print labels. This error will cripple our product.
Thanks for any help
Are there any updates on a forthcoming resolution to this problem?
Hello, we print a lot of Ebay orders every day with our Dymo 450 Turbo. However, we’re now experiencing delays that are killing our productivity. We copy and paste the addresses into the printing field and we have to wait 20-30 seconds for a response. It generally occurs when we change the font size of the address. We experienced a similar problem from you about a year ago that affected us in a similar way for a number of weeks. How do we fix this? thanks
Steve
Hi Steve,
This website is for software developers that are using our Software Development Kit. Based on your email, I suspect that this does not apply to you. You can contact our customer support center here:
http://www.dymo.com/en-US/online-support/online-support-contact-us
Ron
Hi,
I’m trying hard getting the Dymo DLS COM-API to work with FreePascal (Lazarus). I’m using the latest DLS and I’m able to print labels with it – but not from my programs.
Here is my code – it seems to work, but it doesn’t print a label.
program DymoDLS;
uses
Crt, ComObj, Dymo_TLB;
var
DymoAI: IDymoAddIn4;
DymoLB: IDymoLabels;
begin
WriteLn('DymoDLS', LineEnding);
DymoAI := CreateOleObject('Dymo.DymoAddIn') as IDymoAddIn4;
DymoLB := CreateOleObject('Dymo.DymoLabels') as IDymoLabels;
WriteLn('LabelWriter: ', DymoAI.GetCurrentPrinterName);
DymoAI.Open('.\Test.label');
DymoLB.SetField('TEXT', 'Hello, World!');
WriteLn('TEXT = ', DymoLB.GetText('TEXT'));
Write(LineEnding, 'Printing ... ');
DymoAI.StartPrintJob;
DymoAI.Print(1, False);
DymoAI.EndPrintJob;
WriteLn('done.');
Write(LineEnding, 'Press key to end ...');
ReadKey;
end.
Thanks for any help.
Here is another try using the new Dymo.Label.Framework instead of DLS. Doesn’t work either:
program DymoPOC;
uses
Crt, DYMO_Label_Framework_1_0_TLB, ComObj;
var
Dymo: IFramework;
Printers: IPrinters;
Printer: IPrinter;
PrintParams: ILabelWriterPrintParams;
PrintJob: IPrintJob;
SubwayLabel: ILabel;
i: Integer;
begin
WriteLn('DymoPOC', LineEnding);
Dymo := CreateOleObject('Dymo.Label.Framework') as IFramework;
Printers := Dymo.LabelWriterPrinters;
WriteLn('LabelWriters: ', Printers.Count);
if Printers.Count = 0 then begin
WriteLn('No LabelWriters ... bye!');
Exit;
end;
for i := 0 to (Printers.Count - 1) do
begin
Printer := printers.Item[i];
WriteLn(i, ': ', printer.Name, ' Connected: ', printer.IsConnected);
end;
PrintParams := CreateOleObject('Dymo.Label.Framework.LabelWriterPrintParams') as ILabelWriterPrintParams;
SubwayLabel := Dymo.OpenLabel('.\Test.label');
WriteLn('Label Type: ', SubwayLabel.LabelType);
WriteLn('Label Objects: ', SubwayLabel.GetObjectNames.Count);
for i := 0 to (SubwayLabel.GetObjectNames.Count - 1) do
begin
Write('- ', SubwayLabel.GetObjectNames[i], ' = ');
WriteLn(Copy(SubwayLabel.GetObjectText(SubwayLabel.GetObjectNames[i]), 1, 40));
end;
WriteLn(Printer.Name);
Write(LineEnding, 'Printing label ... ');
PrintJob := Printer.CreatePrintJob(IPrintParams(PrintParams));
PrintJob.AddLabel(SubwayLabel);
PrintJob.Print;
//SubwayLabel.Print(Printer, IPrintParams(PrintParams));
//Dymo.PrintLabel(Printer.Name, WideString(' '), SubwayLabel.SaveToXml, WideString(' '));
WriteLn('done.');
Write(LineEnding, 'Press any key ...'); ReadKey;
end.
The commented Print calls are throwing exceptions – the PrintJob-solution doesn’t throw an exception, but doesn’t print anything.
What am I missing??
Hi Daniel,
I would stick with the High Level COM interface for now.
Ron
Hi Daniel,
Perhaps try this same type of code in another COM supported language… VBScript perhaps? I don’t know enough about Free Pascal to give you any direct suggestions, I want to eliminate the language as the issue.
Ron
Do you have an estimated timeframe for DYMO Connect 1.2 which will include the web service?
We are seeing an increase in the number of support cases related to this issue and customers are very confused / frustrated / don’t understand why upgrading their software is breaking their web printing capabilities.
Thanks!
Hi Bryan,
DCD 1.2 is currently slated for November of this year.
Ron
Hello, we have been using the DYMO JavaScript 3.0 SDK for awhile. We recently switched to a Citrix Workspace environment. It appears that the web service will only connect to port 41951, even though the currently logged in user’s web service isn’t running on port 41951. (I’ve also tested with the Print and Preview demo and get the same results). This causes issues as not all users have DYMO printers in the session, or users will see printers that are from the first users session. If we run DLS or another application the uses the older version of the JavaScript SDK, it displays the correct printers. Is there something I need to do in my code to make sure the correct port is being selected? We are running DLS v8.7.3.
Port 41951 might be not in the list of allowed import export port, also DLS must be installed with service on the machine that connected to the printer.
Hello Ron,
In general we are very happy with the functionality of Dymo JS SDK.
There is however one limitation our customers keep complaining about.
In current templates there seems to be no way to get automatic line breaks.
You can only have the text scrink fit or have it partially displayed when it’s too long.
Our customers find this very strange and we have to agree with them.
It’s should be possible to have the text in a text-object automatically break to a new line.
Is this really not possible? Or are we missing something?
If not, are there plans to add that option?
Best regards,
Marco
Hi Marco,
We don’t have that functionality. We have concentrated on our “Autofit” functionality that adjusts the font size to make the text fit.
I will add this enhancement request to our list. I cannot promise you anything, of course.
Ron
Ditto, Marco!
Ron, please add another vote to this idea in your backlog.
I would appreciate that also.
My solution is to use a monospaced font, determine the number of characters that fit on a line for each label type I use, and use a function to calculate where to insert line breaks (without splitting words).
In working on a Windows 10 computer in .NET (C#) to open a label and change some of the value then print it but I’m getting an error that I can’t find good documentation on. I’m using the line ILabel label = Label.Open(labelConnection); where label connect = @”C:\Users\MyName\Documents\labelname.label”;
I’m getting an exception being thrown on .Open saying it’s unable to load the template (DYMO.DLS.Runtime.DlsRuntimeException). The inner exceptions are saynig the ‘MediaType’ attribute is not declared’ (DlsRuntimeException and XMLSchemaValidationException). If I try to remove it then it just continues to say various elements have invalid child elements and give me a list of possible elements expected. If I try to fix all of them then there is pretty much nothing left to the label. I have references DYMO.Common, DYMO.DLS.Runtime, DYMO.Label.Framework, and Interop.DYMOPrintingSupportLib.
Below is the unaltered XML:
Landscape
NameBadgeCard
false
30856 Badge Card Label – offset
EvenOdd
TEXT
Rotation0
False
False
-1
False
Center
Top
ShrinkToFit
True
False
Testing!
Landscape
NameBadgeCard
false
30856 Badge Card Label - offset
EvenOdd
TEXT
Rotation0
False
False
-1
False
Center
Top
ShrinkToFit
True
False
Testing!
Hi Brandi,
Does your label print properly from DLS? We normally recommend creating a label in DLS, saving the label file and using the saved file from their application.
Ron
Hi
I have created a node js web app that prints to a LabelWriter 450 from a windows machine without any issues, but I also need to print from iPad etc from the web interface. I have had no luck with using the DymoLabelProxy, does this still work? is there another way of achieving this request?
Hi Neil,
The DYMOLabelProxy was a BETA implementation that never made it into production. In order to print from an iPad, you will need to implement a proxy of your own.
Sorry for the inconvenience.
Ron
Thanks Ron, that’ll be another learning experience, creating a proxy…
Hello, When using the javascript plugin It’s failing to fetch the printers from the web server due to an ssl issue. And the same error shows when clicking diagnose in the menu to check if the webserver works. it seems as though the web server used to connect to via the javascript plugin hasn’t been updated to account for Chrome and Firefox blocking any connections to servers with unsupported TLS versions. Is there any plan to fix this issue in the future? I’ve followed almost every instruction on how to get around this on various searches for the term “TLS_VER_INTERFERENCE” and nothing worked so it seems out of my hands and this point.
Hi Jono,
What version of DLS and Javascript SDK are you using?
Ron
Hey Ron,
I’m on MacOS Mojave and was initially using DLS 8.7.2 and I’m using the latest framework for the Javascript SDK which is 3.0.0. I checked the official dymo website and found that there was a DLS 8.7.3 which i downloaded hoping that would fix it. But after installing 8.7.3 I have a different issue, when i click diagnose it gives me an error saying “None of the ports were configured to use SSL certificate.” So now i can’t do any diagnose check to see if it’s working and it no longer works on safari anymore because of that error. I also noticed something strange about my version when i check the about info in the dymo software on mac it’s showing 8.7.0.331 even though I removed it and reinstalled 8.7.3 so I’m not sure if that has something to do with it but i thought i would mention it just incase.
Thanks
Okay i managed to get it to work. I removed dymo and any reference to dymo in my hard drive including any cache etc. I then removed the certificate in keychain and restarted my computer and ran the installation again and it works on safari, chrome and firefox now.
Glad to hear it!
Ron
I have a webpage running on a Win2003 Server that uses javascript to allow users to choose a DYMO printer and print to it. I set this up back in 2015 and now I’m struggling to get it setup on Win2012 Server. I can’t find any indication at all on the old server that indicates that DYMO is or ever was installed on it, has any services running, has anything registered, etc. The only thing I see is dymo.label.framework.js from 12/1/2011 in my website.
On the new server I’m getting the errors, “DYMO Label Framework Plugin is not installed”, and “Unable to create DYMO.Label.Framework ActiveX object.” when I call getPrinters.
The print server and printer have not moved or changed. Of course the old server is 32-bit and the new one is 64-bit. I’ve tried installing DYMO Label v.8 as well as the SDK. I’ve also setup the printer server via IP directly on the new server.
On my client I can bring up the page in IE11 on the old server and it works perfectly. Same computer, same browser, the new page give the errors above.
What am I missing?
Thanks in advance.
Hi Steve,
It sounds like your old server was relying on the client machines to have DLS installed on them… the javascript is running on the client (obviously) so there is no issue finding printers etc. I am guessing that on your new server you are trying to find DYMO printers on the server?
Ron
Sorry, I was on vacation… I have moved the website from the old to new server, one-to-one, with no changes other than the versions of the OS and IIS, 32 vs 64 bit, IP address, etc. The code is exactly the same, using javascript to find the printer, not the server. Unless of course I’m missing something. Again, I can’t find any indication that anything was ever installed or setup on the old server that I need to duplicate on the new server.
Hello, I spoke with your support staff yesterday and today and they are working on sending me some type of licensing text that indicates that DYMO.Label.Framework.3.0.js can be bundled with our software. Verbally I was told that it’s possible but I need some sort of wording indicating that legally we are free to use. At the top of file it has this:
/*Copyright (c), 2011 Sanford, L.P. All Rights Reserved.*/
That would cause a problem for us. Is there any other licensing info available on this website?
Hi Johnny,
I don’t have any additional licensing info, our intent is for you to be able to distribute our SDK however and to who ever you desire. We want you to use our SDK so your users will use our printers.
Ron
Thank you Ron, but legally, we need some type of official statement from DYMO or its parent company stating that something to that effect so that we can’t be held liable for copyright infringement.
Hi Dev-Team,
I have installed the DYMO_LABEL_v.8_SDK_Installer and DLS Windows 8.7.2.
When I click on the tray icon -> diagnose I get that everything is working.
When I go to http://labelwriter.com/software/dls/sdk/samples/js/CheckEnvironment/CheckEnvironment.html then I get:
isBrowserSupported: true
isFrameworkInstalled: true
isWebServicePresent: true
errorDetails:
So until here everything seems brilliant.
When I try the SDK example at “DYMO Label v.8 SDK/DYMO Label Framework/Samples/JavaScript/Samples/CheckEnvironment/CheckEnvironment.html” I get
isBrowserSupported: true
isFrameworkInstalled: false
errorDetails: DYMO Label Framework Plugin is not installed
Is the CheckEnvironment example in the SDK outdated?
I now downloaded the script from lablewriter.com to start off. But it seems that all js examples in the SDK are broken.Giving me a hard time to figure out how to use the framework.
For example: http://labelwriter.com/software/dls/sdk/samples/js/VisitorManagement/VisitorManagement.html creates an error “ReferenceError: getLayout0 is not defined”. When I try the local example from the “DYMO Label v.8 SDK” folder I get “No DYMO printers are installed. Install DYMO printers.”.
Hi Adam, yes some samples are not up to date and we are working to normalize them in labelwritter.com and installer.
You can find helpful information of JS SDK in the documentation folder where you installed DYMO LABEL v.8 SDK.
Marco
Hello Dev Team:
We are running into an issue with Dymo JS SDK. I am able to print fine from Mac browser but doesn’t work on Windows.
This is the error I see in the browser console =>
[0] Unexpected node type Element. ReadElementString method can only be called on elements with simple or empty content. Line 1, position 288. [1] There is an error in XML document (1, 288). [2] There is an error in XML document (1, 288). [3] Unable to load label template ”
“[0] Unexpected node type Element. ReadElementString method can only be called on elements with simple or empty content. Line 1, position 288. [1] There is an error in XML document (1, 288). [2] There is an error in XML document (1, 288). [3] Unable to load label template
This is the print statement sent to Dymo Label Service on the Mac (which works) =>
“printerName=DYMO%20LabelWriter%20450%20Turbo&printParamsXml=&labelXml=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3CDieCutLabel%20Version%3D%228.0%22%20Units%3D%22twips%22%20MediaType%3D%22Default%22%3E%20%20%3CPaperOrientation%3ELandscape%3C%2FPaperOrientation%3E%20%20%3CId%3ENameBadge%3C%2FId%3E%20%20%3CPaperName%3E30256%20Shipping%3C%2FPaperName%3E%20%20%3CDrawCommands%3E%20%20%20%20%3CPath%3E%20%20%20%20%20%20%3CRoundRectangle%20X%3D%220%22%20Y%3D%220%22%20Width%3D%223331%22%20Height%3D%225760%22%20Rx%3D%22180%22%20Ry%3D%22180%22%2F%3E%20%20%20%20%20%20%3CRoundRectangle%20X%3D%222880%22%20Y%3D%222520%22%20Width%3D%22180%22%20Height%3D%22720%22%20Rx%3D%22120%22%20Ry%3D%22120%22%2F%3E%20%20%20%20%3C%2FPath%3E%20%20%3C%2FDrawCommands%3E%20%20%3CObjectInfo%3E%20%20%20%20%3CTextObject%3E%20%20%20%20%20%20%3CName%3ETEXT%3C%2FName%3E%20%20%20%20%20%20%3CForeColor%20Alpha%3D%22255%22%20Red%3D%220%22%20Green%3D%220%22%20Blue%3D%220%22%2F%3E%20%20%20%20%20%20%3CBackColor%20Alpha%3D%220%22%20Red%3D%22255%22%20Green%3D%22255%22%20Blue%3D%22255%22%2F%3E%20%20%20%20%20%20%3CLinkedObjectName%2F%3E%20%20%20%20%20%20%3CRotation%3ERotation0%3C%2FRotation%3E%20%20%20%20%20%20%3CIsMirrored%3EFalse%3C%2FIsMirrored%3E%20%20%20%20%20%20%3CIsVariable%3EFalse%3C%2FIsVariable%3E%20%20%20%20%20%20%3CHorizontalAlignment%3ELeft%3C%2FHorizontalAlignment%3E%20%20%20%20%20%20%3CVerticalAlignment%3EMiddle%3C%2FVerticalAlignment%3E%20%20%20%20%20%20%3CTextFitMode%3EAlwaysFit%3C%2FTextFitMode%3E%20%20%20%20%20%20%3CUseFullFontHeight%3ETrue%3C%2FUseFullFontHeight%3E%20%20%20%20%20%20%3CVerticalized%3EFalse%3C%2FVerticalized%3E%20%20%20%20%20%20%3CStyledText%3E%20%20%20%20%20%20%20%20%3CElement%3E%20%20%20%20%20%20%20%20%20%20%3CString%3ETest%3C%2FString%3E%20%20%20%20%20%20%20%20%20%20%3CAttributes%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CFont%20Family%3D%22Helvetica%22%20Size%3D%2213%22%20Bold%3D%22False%22%20Italic%3D%22False%22%20Underline%3D%22False%22%20Strikeout%3D%22False%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CForeColor%20Alpha%3D%22255%22%20Red%3D%220%22%20Green%3D%220%22%20Blue%3D%220%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3C%2FAttributes%3E%20%20%20%20%20%20%20%20%3C%2FElement%3E%20%20%20%20%20%20%3C%2FStyledText%3E%20%20%20%20%3C%2FTextObject%3E%20%20%20%20%3CBounds%20X%3D%22335.9998%22%20Y%3D%2257.6001%22%20Width%3D%225337.6%22%20Height%3D%223192%22%2F%3E%20%20%3C%2FObjectInfo%3E%3C%2FDieCutLabel%3E&labelSetXml=”
And this is the one sent on Windows (which doesn’t work) =>
printerName=DYMO%20LabelWriter%20450%20Turbo%20&printParamsXml=&labelXml=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3CDieCutLabel%20Version%3D%228.0%22%20Units%3D%22twips%22%20MediaType%3D%22Default%22%3E%20%20%3CPaperOrientation%3ELandscape%3C%2FPaperOrientation%3E%20%20%3CId%3ENameBadge%3C%2FId%3E%20%20%3CPaperName%3E30256%20Shipping%3C%2FPaperName%3E%20%20%3CDrawCommands%3E%20%20%20%20%3CPath%3E%20%20%20%20%20%20%3CRoundRectangle%20X%3D%220%22%20Y%3D%220%22%20Width%3D%223331%22%20Height%3D%225760%22%20Rx%3D%22180%22%20Ry%3D%22180%22%2F%3E%20%20%20%20%20%20%3CRoundRectangle%20X%3D%222880%22%20Y%3D%222520%22%20Width%3D%22180%22%20Height%3D%22720%22%20Rx%3D%22120%22%20Ry%3D%22120%22%2F%3E%20%20%20%20%3C%2FPath%3E%20%20%3C%2FDrawCommands%3E%20%20%3CObjectInfo%3E%20%20%20%20%3CTextObject%3E%20%20%20%20%20%20%3CName%3ETEXT%3C%2FName%3E%20%20%20%20%20%20%3CForeColor%20Alpha%3D%22255%22%20Red%3D%220%22%20Green%3D%220%22%20Blue%3D%220%22%2F%3E%20%20%20%20%20%20%3CBackColor%20Alpha%3D%220%22%20Red%3D%22255%22%20Green%3D%22255%22%20Blue%3D%22255%22%2F%3E%20%20%20%20%20%20%3CLinkedObjectName%2F%3E%20%20%20%20%20%20%3CRotation%3ERotation0%3C%2FRotation%3E%20%20%20%20%20%20%3CIsMirrored%3EFalse%3C%2FIsMirrored%3E%20%20%20%20%20%20%3CIsVariable%3EFalse%3C%2FIsVariable%3E%20%20%20%20%20%20%3CHorizontalAlignment%3ELeft%3C%2FHorizontalAlignment%3E%20%20%20%20%20%20%3CVerticalAlignment%3EMiddle%3C%2FVerticalAlignment%3E%20%20%20%20%20%20%3CTextFitMode%3EAlwaysFit%3C%2FTextFitMode%3E%20%20%20%20%20%20%3CUseFullFontHeight%3ETrue%3C%2FUseFullFontHeight%3E%20%20%20%20%20%20%3CVerticalized%3EFalse%3C%2FVerticalized%3E%20%20%20%20%20%20%3CStyledText%3E%20%20%20%20%20%20%20%20%3CElement%3E%20%20%20%20%20%20%20%20%20%20%3CString%3ETest%3C%2FString%3E%20%20%20%20%20%20%20%20%20%20%3CAttributes%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CFont%20Family%3D%22Helvetica%22%20Size%3D%2213%22%20Bold%3D%22False%22%20Italic%3D%22False%22%20Underline%3D%22False%22%20Strikeout%3D%22False%22%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CForeColor%20Alpha%3D%22255%22%20Red%3D%220%22%20Green%3D%220%22%20Blue%3D%220%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3C%2FAttributes%3E%20%20%20%20%20%20%20%20%3C%2FElement%3E%20%20%20%20%20%20%3C%2FStyledText%3E%20%20%20%20%3C%2FTextObject%3E%20%20%20%20%3CBounds%20X%3D%22335.9998%22%20Y%3D%2257.6001%22%20Width%3D%225337.6%22%20Height%3D%223192%22%2F%3E%20%20%3C%2FObjectInfo%3E%3C%2FDieCutLabel%3E&labelSetXml=
Can you please let me know how I can resolve this? I am using the latest version of the JS SDK and Label Service.
Hi Steve,
Based on the error statement, it appears there is an issue with the label file. Can you try to print the label file, using DLS, on Windows?
Ron
Hi Ron,
Thanks for pointing me in the right direction. It seems like the layout XML created from Dymo Label program on the Mac results in an XML created that doesn’t work on Windows. After I created the XML on Windows, it started working fine.
Thanks!
Hi, why I use dymo.label.framework.getPrinters() to get valid printers, Chrome console shows that return Bad Request (Invalid host).
however, print label sample works fine. I found in the sample, Chrome use to get printers.
So why localhost not working, but 127.0.0.1 is working? How can I solve this problem?
Hi Bo dymo.label.framework.getPrinters() method is used to call DLS service and get the printers installed/shared in your machine.
Could you provide the message that you got in the bad request?
What are the Request URLs on the browser’s console?
The certificate for DYMO Service is configured for 127.0.0.1, therefore, localhost cannot resolve the request.
If you need to call DYMO Service you must use 127.0.0.1
Hello – Any chance there are plans to make the dymo libary available via npm or available as an angular service?
Hi Scott,
We don’t have plans for either of those, but you could certainly use our javascript library directly.
Ron
Hi,
1. I have installed DYMO Connect for Desktop v1.1 (Windows) and Dymo Label v.8 SDK (Latest SDK). In my Dot net code , i am trying to read registry path but registry file not available for DYMO Connect.
So, Can you help me where to find registry path for DYMO Connect
Note: When i installed DYMO Label Software v 8.7.3(Windows) , i can able to read registry path in my code , the location is “Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\DLS.exe”
2. When i installed DYMO Label Software v 8.7.3(Windows) , software installed path (C:\Program Files (x86)\DYMO\DYMO Label Software\Framework) have “Framework” folder.
But When installed DYMO Connect for Desktop v1.1 , Software installed path (C:\Program Files (x86)\DYMO\DYMO Connect) don’t have “Framework” folder.
Why Framework folder not available for DYMO Connect software?
Hi,
What task are you trying to accomplish? I wouldn’t rely on registry settings!
If you are attempting to use the Framework with DYMO Connect, it has not been released yet. The SDK for DYMO Connect will be released later this year (Currently scheduled for November).
Ron
1) In my code ,I am trying to get Device Connectivity status using registry path.So in Dymo connect the registry path is not available to check whether the software has been installed or not , where as in Dymo label software v 8.7.3 (windows) the registry path is created while we install the software . so how do i check whether the software is install in machine for Dymo Connect in dot not code.
2) So after releasing SDK for DYMO Connect only we can able to use “DYMO Connect for Desktop v1.1” or older version like “DYMO Connect for Desktop v1.0.1” ?
Hi,
is it possible to use the Webservice installed on a single Server, so that we can build a webapplication that connects “onPrint” to the Webservice?
Same Question in this Post:
https://stackoverflow.com/questions/55735892/can-dymo-javascript-api-connect-to-dymo-web-service-which-is-hosted-on-a-differe
Ben
Hi Benjamin,
Sorry, that will not work. You could create your own webservice pretty easily if that is what you want to do.
Ron
Hi.
When 64bit version is available for Mac? Is there any other way to use DLS service? With macOS Catalina, 32bit support is dropped.
Error message when trying to start service:
“DYMO.DLS.Printing.Host” needs to be updated. The developer of this app needs to update it to work with this version of macOS. Contact the developer for more information.
Hi Turo,
What version of DLS do you have installed?
Ron
Hi Ron,
I have installed DLS Mac 8.7.2 and DYMO.DLS.Printing.Host version is 1.1 that was included in the DLS installer.
Are there any new releases that I have missed? It has been hard to find any updated. My macOS version is 10.15 (Catalina) and it does not have any support to 32bit apps.
For example, if I try to install DLS Mac 8.7.2 (http://download.dymo.com/dymo/Software/Mac/DLS8Setup.8.7.2.dmg) package, it is not possible anymore.