Dec 022011
 

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:

DYMO Label Framework .NET Reference documentation

DYMO Label JavaScript Library documentation

  29 Responses to “Announcing DYMO Label SDK 8.3.1”

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

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

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

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

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

      • 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?

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

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

  5. 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);

    • 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)

  6. 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 + ”);
    }
    }
    }
    }

  7. Is it possible to test javascript SDK without haveing a printer?

    • I don’t know if it makes sense to test the JavaScript Library without having DYMO printer. But you could add a DYMO printer (e.g. LabelWriter 450 Twin Turbo) manually to Windows. Just select “print to file” as your printer port.

  8. Label text is printed very light when compared to original design, Did anyone have any workaround ?

  9. Is it possible to test javascript SDK without haveing a printer?

    • I don’t know if it makes sense to test the JavaScript Library without having a DYMO printer. But you could add a DYMO printer (e.g. LabelWriter 450 Twin Turbo) manually to Windows and select “print to file” as your printer port.

  10. Would it be possible to download an uncompressed javascript file? I am wanting to offload the printing into a web worker so would need to remove references to the dom to make it work. As of right now after playing with a simple web worker I am just trying to make the getPrinters() function to return something from within the web worker. If this is possible I would appreciate some direction for accomplishing this task as well but would start with a full javascript file to examine. Thanks!

    • Did anyone get a response from this I am trying to write a print server using nodejs and currently I am using a workaround with the node-open module but I would like to be able to have node handle the print on server side

  11. Is there any more up to date documentation? The last documentation link says it was last built in 2011 but you’ve released new versions of the library since then

  12. I have downloaded the sdk and installed it. I open the sample projects under the DYMO Label Framework samples. The reference to the Dymo.Label.Framework.dll is broken. The dll is nowhere to be found on my computer. I’ve searched the program directories for all DYMO products, the global assembly cache… So, wondering if you guys forgot to include the assembly in the SDK or if I have the wrong version of the DYMO Label Software??

    • DYMO.Label.Framework.dll is installed with DYMO Label Software. You can find the file in Program Files/DYMO/DYMO Label Software/Framework

 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)