DYMO Label Web Service FAQ
Contents
Working with DYMO Label Web Service ...................................................................................................................... 2
What is the DYMO Label Web Service? ................................................................................................................... 2
How do I install the DYMO Label Web Service? ....................................................................................................... 2
Windows ............................................................................................................................................................. 2
Mac ..................................................................................................................................................................... 2
How can I tell if DYMO Label Web Service is installed? ............................................................................................ 3
How can I tell if the DYMO Label Web Service is running? ....................................................................................... 4
I do not see it in the system tray. How can I start it? .............................................................................................. 4
Windows ............................................................................................................................................................. 4
Mac ..................................................................................................................................................................... 4
How can I start or stop the DYMO Label Web Service? ............................................................................................ 5
How can I configure the DYMO Label Web Service? ................................................................................................ 5
How can I tell if the DYMO Label Web Service is functioning properly? ................................................................... 6
How do I use the DYMO Label JavaScript Library? ....................................................................................................... 7
Getting Started ....................................................................................................................................................... 7
Basic Service API Functions ..................................................................................................................................... 7
dymo.label.framework.getPrinters().................................................................................................................... 7
dymo.label.framework.openLabelFile(labelUri) ................................................................................................... 8
dymo.label.framework.renderLabel(labelXml, paramXml, printerName) ............................................................. 8
dymo.label.framework.printLabel(printerName, paramXml, labelXml, labelSetXml) ............................................ 9
Do I need to change my code to work with the new DYMO Label JavaScript Library? .............................................. 9
What will happen if I leave my old code unchanged? .............................................................................................. 9
What do I need to change in my code to make it properly work with new the JavaScript library? .......................... 10
If initialization is asynchronous, are other methods asynchronous as well? ........................................................... 11
How do I make use of Promise objects in asynchronous programming? ................................................................ 11
How can I tell if the web service is currently used by the JavaScript library? .......................................................... 11
TROUBLESHOOTING .............................................................................................................................................. 12
What is Trace functionality? .................................................................................................................................. 12
How do I perform error logging? ........................................................................................................................... 13
Network and web service errors ........................................................................................................................ 13
Web service log ................................................................................................................................................. 13