Google has recently disabled the NPAPI plugin framework in chrome. As a result DYMO users have discovered they're unable to use the label printing framework from within chrome & must use IE or Firefox. This project seeks to provide a solution to this issue.
We've managed to find a viable fix by running a local server which will pass posted data to Dymo's printlabel.exe. Server is written using node.js. Posting data to localhost unencrypted can be problematic, particularly if attempting to post from an encrypted page.
Chrome will, unless explicitly instructed not to, block the request due to mixed content rules.
For this reason we've also written a chrome plugin which can intercept messages posted to the DOM & post these messages to localhost from the extension rather than from the page.
This method allows printing of a complete XML file only. It's not (currently) possible to load a label template and create a labelset/record to send along to the printer. Adding text to objects must now be completed by use of the setObjectText() method rather than the traditional setTextMarkup() method.
setObjectText() does not support markup. If you provide font markup to the function the markup will be printed on the label as text. It is possible to modify the markup of individual objects in a label, but at this point there's no simple function to do so.