DYMO.Connect.SDK
1.4.4.21
See the version list below for details.
dotnet add package DYMO.Connect.SDK --version 1.4.4.21
NuGet\Install-Package DYMO.Connect.SDK -Version 1.4.4.21
<PackageReference Include="DYMO.Connect.SDK" Version="1.4.4.21" />
paket add DYMO.Connect.SDK --version 1.4.4.21
#r "nuget: DYMO.Connect.SDK, 1.4.4.21"
// Install DYMO.Connect.SDK as a Cake Addin #addin nuget:?package=DYMO.Connect.SDK&version=1.4.4.21 // Install DYMO.Connect.SDK as a Cake Tool #tool nuget:?package=DYMO.Connect.SDK&version=1.4.4.21
DYMO Connect SDK
Getting Started 🚀
These instructions will help you to understand how DYMO Connect SDK works for .NET and Javascript.
.NET Sample
This is a WPF sample using DYM.Connect.SDK nuget package.
Installing 🔧
Open the project on Visual Studio
File > Open > Project/Solution > Select WPFSDKSample.csproj
Run Package Manager Console
update-package -reinstall
Nuget package 📦
- DYMO.Connect.SDK - The nuget package required
Dependencies 🛠️
- NETStandard - NETStandard.Library (>= 2.0.0)
- SkiaSharp - SkiaSharp (= 1.68.0)
- SkiaSharp.Views - SkiaSharp.Views (= 1.68.0)
Classes and methods ⚙️
DymoLabel instance
- Load label
void LoadLabelFromFilePath(string FileName) // Load label content from file
void LoadLabelFromXML(string XmlContent) //Load label from XML content
- Manage label objects
IEnumerable<ILabelObject> GetLabelObjects() //Get list of objects(Text, Shapes, Address, etc.) contained in the label
bool UpdateLabelObject(ILabelObject labelObject, string objectValue) //Update value of specified object
bool SetImageFromFilePath(string objectName, string imageFile) //Set content of image object specified from image file
bool SetImageFromBase64(string objectName, string base64String) //Set content of image object specified from Base64 string
- Get preview
byte[] GetPreviewLabel() //Get preview image's label as byte array
- Save label
bool Save(string fileName) //Save label file
DymoPrinter instance
Get printers
- Get list of DYMO printers installed in the current machine.
IEnumerable<IPrinter> GetPrinters()
Print label
- Print an instantiated DymoLabel object in the selected printer.
bool PrintLabel(DymoLabel label, string printerName, int copies = 1, bool collate = false, bool mirror = false, int rollSelected = 0, bool chainMarks = false, bool barcodeGraphsQuality = false)
- Print a list of instantiated DymoLabel objects in the selected printer.
bool PrintLabel(IEnumerable<DymoLabel> labels, string printerName, int copies = 1, bool collate = false, bool mirror = false, int rollSelected = 0, bool chainMarks=false, bool barcodeGraphsQuality = false)
LW 550 printer methods(these methods will not have effect when selected printer does not belong to 550 series)
- Verify if selected printer belongs to 550 series.
bool Is550Printer(string printerName)
- Get information about current label inserted in the selected printer.
IConsumableInfo550Printer GetCurrentLabelInsertedIn550Printer(string printerName)
JavaScript Sample
This is a JavaScript sample using DYMO Connect Framework.
Prerequisites 📋
DYMO Connect Software installed
- DYMO Connect Software
- DYMO Connect framework has compatibility with DYMO Label Software
Reference to Javascript SDK file
Installing 🔧
Include the framework into your project
- https://github.com/dymosoftware/dymo-connect-framework/blob/master/dymo.connect.framework.min.js
- https://qajavascriptsdktests.azurewebsites.net/JavaScript/dymo.connect.framework.js
Functions ⚙️
dymo.connect.framework includes functions from the previous dymo.label.framework
These are the main functions to get start
dymo.connect.framework
- Initialize
dymo.label.framework.init() //Initialize DYMO Label Framework
dymo.label.framework.checkEnvironment() // Validate if the environment meets the requirements
- Load label
dymo.label.framework.openLabelFile(fileName) //Load label from file name and return label instance
- Validate label
dymo.label.framework.openLabelXml(labelXml) //Load label from XML content and return label instance
- Validate label instance (introduced in dymo.connect.framework)
label.isValidLabel() //Validate if the current content is a valid label based on the current service installed label.isDCDLabel() //Validate if the current content is a valid DYMO Connect label based on DYMO Connect service label.isDLSLabel() //Validate if the current content is a valid DYMO Label Software label based on DYMO Label Software service
- Get printers
dymo.label.framework.getPrinters() //Get list of DYMO printers installed
dymo.label.framework.printLabel(printerName, printParamsXml, labelXml, labelSetXml) //Print label
- Get preview
dymo.label.framework.renderLabel(labelXml, renderParamsXml, printerName) //Get label preview image of the label
Sample Html Pages 📋
Local Web Api service should be running to be able to work with sample pages.
- https://qajavascriptsdktests.azurewebsites.net/JavaScript/CheckEnvironment/CheckEnvironment.html
- https://qajavascriptsdktests.azurewebsites.net/JavaScript/VisitorManagement/VisitorManagement.html
- https://qajavascriptsdktests.azurewebsites.net/JavaScript/PreviewAndPrintLabel/PreviewAndPrintLabel.html
Important notes
Opening a label file previously created from DYMO Label Software, with DYMO Connect Software installed, it will convert the structure of DLS label into DYMO Connect label. Therefore, isDCDLabel function will return always true after label file has been open, when DYMO Connect is running.
setTextMarkup function is not supported for DYMO Connect labels.
Publishing your app
Please read the following thread in case you run into some issues deploying your application integrating DYMO Connect SDK.
Authors ✒️
DYMO Team www.dymo.com
Acknowledgments 📢
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
- NETStandard.Library (>= 2.0.0)
- SkiaSharp (>= 2.80.2)
- SkiaSharp.Views (>= 2.80.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DYMO.Connect.SDK:
Package | Downloads |
---|---|
I-Synergy.Framework.Printer.Label.Dymo
I-Synergy Framework Dymo Label printer library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.5.9-beta | 212 | 8/28/2024 |
1.4.4.21 | 11,646 | 9/6/2023 |
1.4.3.37 | 67,689 | 3/15/2022 |
1.4.3.10-beta | 697 | 2/24/2022 |
1.4.2.35 | 16,830 | 11/16/2021 |
1.4.2.33-beta | 743 | 11/1/2021 |
1.4.2.26 | 1,294 | 10/4/2021 |
1.4.2.24 | 883 | 10/4/2021 |
1.4.2.22 | 1,048 | 9/20/2021 |
1.4.2.20 | 1,218 | 9/16/2021 |
1.4.2.19 | 1,007 | 9/14/2021 |
1.3.2.137 | 3,463 | 5/1/2021 |
1.3.2.134-alpha | 836 | 4/9/2021 |
1.3.2.130-alpha | 816 | 3/29/2021 |
1.3.2.124-alpha | 826 | 3/25/2021 |
1.3.1.160-beta | 1,127 | 5/6/2020 |
1.3.1.115 | 14,115 | 3/4/2020 |
1.2.977.106 | 1,308 | 2/21/2020 |
1.2.977.101 | 1,113 | 2/18/2020 |
1.2.977 | 1,858 | 2/12/2020 |
1.2.977-beta | 890 | 2/10/2020 |
1.2.976.48730 | 2,993 | 12/11/2019 |
1.2.976.48729 | 1,361 | 12/5/2019 |
1.2.967.48509-beta | 950 | 10/23/2019 |
1.2.966.48498-beta | 889 | 10/22/2019 |
1.2.965.48487-beta | 922 | 10/17/2019 |
1.2.964.48478-beta | 902 | 10/16/2019 |
1.2.959.48469-beta | 919 | 10/14/2019 |
1.2.958.48468-beta | 938 | 10/14/2019 |