Important
Please report any issues using this github!
To use the SDK you will need a .NET Runtime, which can be downloaded here: https://dotnet.microsoft.com/en-us/download/dotnet/8.0. Please install the Desktop runtime if you are on Windows. You should also install DYMO Connect which should install any drivers you need and allow you to design the label files necessary, although DYMO Connect is not strictly necessary. DYMO Connect can be downloaded here: https://www.dymo.com/support?cfid=user-guide.
Note that currently for MacOS only arm chips are supported. In addition, bluetooth devices may not currently be working on mac. Also, you must be running .net 8.0 for Mac.
After that, you can simply run
pip install dymo_sdk
Also note that for our sample, you will need Pillow installed, which can be installed by running
pip install Pillow
The package contains two main objects DymoLabel and DymoPrinter. A basic script to print a .dymo label generated by Dymo Connect might go like:
importdymo_sdkasdsdk#load label from filedymo_label=dsdk.DymoLabel("/path/to/label.dymo")
#get detected printersprinters=dsdk.get_printers()
#selected first found connected printerforpinprinters:
ifp.is_connected:
selected_printer=p#print labelselected_printer.print_label(label)More information can be found via our documentation: https://dymosoftware.github.io/DCD-SDK-Python-Sample/