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

  55 Responses to “Updated JS SDK and DLS”

  1. 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.

  2. 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

  3. 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.

  4. 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

  5. I have the same problem, updating to the new version.

  6. 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

  7. 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.

  8. 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.

  9. 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

  10. 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.

  11. 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..

  12. 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 Daniel,

      Can you give me some details about the client and server machines? Windows machines? Which OS?

      Ron

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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,

  18. 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

  19. 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

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)