We are proud to announce the release of DYMO Label SDK 8.3.1. This release contains updated documentation and samples, especially for the new DYMO Label Framework API. The SDK installer is available from here.
Note: do not forget to install DYMO Label software, it is required to run any application that uses the SDK. For more information see this blog post.
Online documentation:

Hi there,
I’ve managed to get the CDK working on my Mac and I’m now doing tests on my Windows XP machine. I installed the latest SDK, then plugged my label printer in. It didn’t work. So I restarted the computer. It also didn’t work. So I shut down my computer and came back the next day and it still didn’t work.
Below is my JavaScript. The printers.length is returning 0. Like I said the following code works fine on my Mac, Windows XP doesn’t seem to like it in either IE or FireFox.
// loads all supported printers into a combo box
loadPrinters: function() {
var printers = dymo.label.framework.getPrinters();
if (printers.length == 0) {
alert(‘No DYMO printers are installed. Refer to the help file on how tp install DYMO printers.’);
return;
} else {
for (var i = 0; i < printers.length; i++) {
var printer = printers[i];
if (printer.printerType == 'LabelWriterPrinter') {
var printerName = printer.name;
$('#label_printer').append('’ + printerName + ”);
}
}
}
}
Comment by bensinclair00 — February 1, 2012 @ 8:37 am |
Feeling a little silly right now. I hadn’t installed the Label Writer software. After doing so it worked a treat :D
Comment by bensinclair00 — February 1, 2012 @ 8:59 am |
Did you plan to develop it for Silverlight ? Actualy, i’m using Silverlight Out-Of-Browser but i need to call the browser to execute javascript Dymo application…
Thanks, Etienne.
Else, for info inside the SDK donwload : the example PreviewAndPrintLabel doesn’t work because opendialog filename is not used, it should be : label = dymo.label.framework.openLabelFile(fileName);
Comment by Bonenfant Etienne — January 14, 2012 @ 8:19 am |
There are several ways to integrate Silverlight:
■using DYMO Label Framework JavaScript library. You will have to write some js code to interact with Silverlight app, e.g. to get data to print from it.
■using Silverlight 4 printing API. In this case you interact with LabelWriter as with any other printer using printer drivers
■using DYMO Label Framework by COM-interop available in Silverlight 4. This will work on Windows only. (please check http://labelwriter.com/software/dls/sdk/samples/SilverlightApplication2.zip)
Comment by pi — January 19, 2012 @ 4:48 am |
Sorry if this is a stupid question but I am running a DYMO LabelWriter 400 and I can’t seem to get it to print landscape using the SDK. Is it the LabelWriter or the code? I’m using Landscape to make it print landscape.
Comment by bensinclair00 — December 15, 2011 @ 9:48 am |
Sorry, it removed the code… I’m using the PaperOrientation tag with Landscape inside it.
Comment by bensinclair00 — December 15, 2011 @ 9:49 am |
The easiest way to check is to open/design the label file using DYMO Label software. If it is printed OK in DLS, but not in your application, then check that the label file is really opened/loaded.
Comment by Vladimir — December 15, 2011 @ 10:45 am |
Thanks for the response. I’ve tried several samples you have on the website (e.g: http://labelwriter.com/software/dls/sdk/samples/js/TextMarkup/TextMarkup.html). I am running Mac OS X Lion with a DYMO LabelWriter 400. I installed the Mac software here: http://developers.dymo.com/2011/07/28/dymo-label-software-version-8-3-1-for-mac/
Is there something wrong with my configuration?
Comment by bensinclair00 — December 15, 2011 @ 12:09 pm |
The label from http://labelwriter.com/software/dls/sdk/samples/js/TextMarkup/TextMarkup.html is already a “landscape” label. What is your output, did it print at all? Please, see http://developers.dymo.com/2011/10/12/sdk-troubleshooting-tips/ for troubleshooting tips. Especially, for Lion you might need to restart Mac and/or restart the web browser before you can print.
Comment by Vladimir — December 16, 2011 @ 12:14 am |
I have a customer that basically does not want to use the .label files just wants to write a text and then give up the parameters (width, height string) and just send that to the dymo printer without using the .Label files. :)
Comment by wijnand — December 14, 2011 @ 5:20 pm |
Then, what is the customer’s use case? :) The customer has to have some scenario, and the question is what the problem the customer tries to solve by printing a text with specified width/height.
At very minimum, a label type (Address, Shipping, etc) has to be specified, the customer has to put this label type inside printer anyway. If the label type is known, you can construct the label on the fly by putting an address/text object on the label with specified width/height.
Comment by Vladimir — December 15, 2011 @ 1:59 am |
The Scenario is they are now accustomed to printing and making their own labels custom their program most likely was using the print driver. Right now I just made generic label templates for hte to use. Where can I find these though? I dobut there are only 9 of them :)
Basically tehy just want to be able to create a template but isntead of defining a label type they want to define a max width and heighty. I assume they dont want to use the objects either they are basically trying to use the dymo as a regular small printer. Is that last an option?
Comment by Wijnand — December 22, 2011 @ 11:21 pm |
I see. Seems like it is an advanced scenario. We don’t have a list of all supported label types; the easiest way to get it is by “extracting” them from DYMO Label software itself, just run it, and open each label type you are interesting in.
There is a way to create a “custom” label based on width/height specified by users, but it is definitely an “advanced” scenario and we don’t have any documentation about it. Briefly, you will have to generate a label file xml manually and specify desired width/height. E.g. a custom file, based on the standard “Address” label will look like
<DieCutLabel Version="8.0" Units="twips"> <PaperOrientation>Landscape</PaperOrientation> <Id>custom_address</Id> <CustomPaper> <Size Width="1581" Height="5040" /> <PrintableSize Width="1435" Height="4622" /> <PrintableOrigin X="86" Y="331" /> <Offset X="0" Y="0" /> </CustomPaper> <DrawCommands> <RoundRectangle X="0" Y="0" Width="1581" Height="5040" Rx="270" Ry="270" /> </DrawCommands> </DieCutLabel>You will have to replace Width/Height with desired width height obtained from the user. Note, that the dimensions are in TWIPS (1/1440 inch). Then, you can open with “empty” label and put/insert any objects anywhere on the label using SDK API calls.
Comment by Vladimir — December 23, 2011 @ 7:08 am |
Hello Vladimir,
is it possible to program the dymo labelwriter so that I can pass it the width and heighty of a empty label and just a string with the text in it? Or am i required to give it a .Label where i change the address object?
Comment by Wijnand — December 12, 2011 @ 10:41 pm |
Basically yes, you have to use a .label file. What is your use case? what are you trying to achieve?
Comment by Vladimir — December 12, 2011 @ 11:14 pm |
Do you have a time frame for when this will be out of Beta? Or is this already available when people purchase Dymo printing products?
thanks,
Scott Schmitz
Comment by scott schmitz — December 8, 2011 @ 8:25 am |
Yes, DYMO Label software 8.3.1 (and correspondent DYMO Label SDK 8.3.1) is a production, fully supported suite. If you have DYMO Label software 8.3 and later installed, you can use all of the SDK’s features/APIs.
Comment by Vladimir — December 8, 2011 @ 8:28 am |