Jun 132017
The latest release of DLS is now available for customers that have been experiencing Chrome security issues with the previous release!
You can download the Mac OS X release via the following link:
Mac OS X Download link:
http://labelwriter.com/software/dls/mac/DLS8Setup.8.6.2.134.dmg
Just thought I’d let you know that it appears you haven’t signed the .PKG that’s inside the DMG correctly.
When attempting to install I’m getting this screen.
Same here, getting a “Can’t be opened because it’s from an unidentified developer” error on trying to open the PKG. We don’t want to advise our customers to circumvent core MacOS security features. Please fix!
Gatekeeper can be re-enabled after completing the install. Either by changing the setting in System preferences back to App store and recognized 3rd party, or by using the terminal command sudo spctl –master-enable.
Make sure your Security is set on Anywhere in System Preferences > Security and Privacy. If you need to disable GateKeeper (the Sceurity setting on 10.12), open Terminal, type sudo spctl –master-disable and hit enter. Enter your admin password, then you should be able to run the installer successfully.
Hi dymoeric,
Thank you for the instructions on how to temporarily disable Gatekeeper to run the Dymo Label installer, then re-enable after installation. We’re aware of how to do this but do not want to do it for a couple reasons:
– Possibility of human error when re-enabling Gatekeeper after the installation, resulting in the customer leaving their Mac in a less secure state than when they started
– Additional steps in the installation process mean longer interactions with our customer care team, leading to a poor customer experience
I look forward to an updated version of the Mac installer that is properly signed and avoids these pitfalls.
Best,
Will
I agree with Will, this puts us in a tough spot with customers when we have to advise them to circumvent standard security. To make it worse, the issue that this release resolves is a security related issue. I am sensing a significant loss of confidence in Dymo, and consequently my solution, from customers as a result of these issues.
Please update to a signed version that does not put us as partners in an awkward middle-man position.
The updated, signed installer works great! Thank you.
Best,
Will
For those of you that had signing issues with the latest release, those issues have been resolved and a new download is available here:
http://labelwriter.com/software/dls/mac/DLS8Setup.8.6.2.134.dmg
Ron
Anyone else running into issues in firefox 54.0.1 (64bit)
when I have the inspector open and refresh the page at http://labelwriter.com/software/dls/sdk/samples/js/PrintMeThatLabel/pl.html
I get 10 tries on different ports. safari and chrome are working just fine
Is there a fix for RetrieveInstalledPrinters (mentioned by some people here: http://developers.dymo.com/2017/03/08/the-new-dls-8-6-1-release-is-now-available/)?
Hello!
I have successfully made a C# program that utilizes the DYMO SDK as well as pulling data from our database but I’m having issues printing, here’s my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Dymo;
namespace DataWalkthrough
{
public partial class PackageLabelProgram : Form
{
public PackageLabelProgram()
{
InitializeComponent();
}
private void PrintButton_Click(object sender, EventArgs e)
{
DymoAddInClass _dymoAddin = new DymoAddInClass();
DymoLabelsClass _dymoLabel = new DymoLabelsClass();
if (_dymoAddin.Open(@”PackageLabelProgram.label”))
{
string[] objNames = _dymoLabel.GetObjectNames(false).Split(new Char[] { ‘|’ });
if (objNames.Contains(“lblItemNumber”))
{
if (_dymoLabel.SetField(“lblItemNumber”, PreviewItemNumber.Text))
if (_dymoLabel.SetField(“lblDescription”, ItemDescription.Text))
if (_dymoLabel.SetField(“lblManufacturer”, ItemManufacturer.Text))
if (_dymoLabel.SetField(“lblQuantity”, PartQuantity.Text))
if (_dymoLabel.SetField(“lblLocation”, Location.Text))
{
string[] printers = _dymoAddin.GetDymoPrinters().Split(new char[] { ‘|’ });
if (printers.Count() > 0)
{
if (_dymoAddin.SelectPrinter(printers[0]))
{
if (_dymoAddin.IsTwinTurboPrinter(printers[0]))
{
_dymoAddin.Print2(1, false, 0);
}
else
{
_dymoAddin.Print(1, false);
}
}
}
}
}
}
}
I’ve omitted several lines of code dealing with the data source connection and what not because on the program itself I have an area where I can preview what the data it pulls looks like to verify it’s working properly, and it is. It just won’t print out, I’ll hit print and it’ll sit for a minute then nothing. The debug log contains this:
Inner Exception:
Exception Type: XmlSchemaValidationException
The ‘MediaType’ attribute is not declared.
Stack Trace: at DYMO.DLS.Runtime.Label.Load(String uri, IWebProxy webProxy)
at DYMO.DLS.SDK.DLS7SDK.HighLevelSDKImpl.LoadLabel(String filename)
Inner Exception:
Exception Type: DlsRuntimeException
0, 0: The ‘MediaType’ attribute is not declared.
Any advice on how to correct this issue to get it to print successfully?
Thanks!
Hi David,
The best thing to do is to create a label using our DLS software, and use that label in your code. You can easily change the contents of the label objects using our SDK and it is far easier than creating a label from scratch in code.
Ron
I get the same, Label created via DLS and loaded into C#, MediaType not declared. it’s not usable for me nor is it in any kind visible, what’s going wrong.
Hi Andreas,
Could you share your code with me? I would like to see your label file and code.
Ron
I’m having the same problem when I use the C# Sample provided here:
http://developers.dymo.com/category/sdk-samples/
I’m trying to load a label i created in the Dymo Label v.8 software.
Hi Chad,
Can you show me your label file and a snippet of code that you are using?
Ron
Hi there, I’m facing the same issue. I’m just printing a bare bones label to test printing a label from the Chrome browser but keep getting MediaType is not declared. What’s strange is that it works perfectly fine on Mac OS Chrome, but not on Windows (either Chrome or Firefox)
“[0] The ‘MediaType’ attribute is not declared. [1] 0, 0: The ‘MediaType’ attribute is not declared. [2] Unable to load label template “
Hi Sid,
See if your label will print using DLS on Windows and Mac. Perhaps there is a problem with the file.
Ron
Here’s the XML of the label:
Landscape
NameBadge
false
30256 Shipping
EvenOdd
Top Text
Rotation0
False
False
-1
False
Left
Middle
ShrinkToFit
True
False
Hello My Name Is…
Shape
Rotation0
False
False
-1
False
HorizontalLine
15
Center
Bottom Text
Rotation0
False
True
-1
False
Left
Top
ShrinkToFit
True
False
Click here to enter text
Hi Dymo,
Forgive me as I’m not sure if there’s a better space for this question:
Now that the new Dymo Wireless printer is out, do you anticipate there being a mobile SDK (JS or native) capable of printing directly to the wireless printer from a custom app or website?
We’d love to stick with the Dymo brand rather than using a different brand for this context.
Thanks!
Hi Jon,
We do have on our roadmap releasing an SDK that will work with mobile apps. Unfortunately, I cannot tell you when it will get done.
Ron
Can the DYMO framework be used with Xamarin.Mac on MacOS, UWP on Windows or Xamari.forms on both. If not does UWP or Xamarin support is on road map.
I know it will not work on Xamarin.Mac. You may be able to get UWP on Windows to work.
Ron