dsandor / dymojs

A pure javascript library for printing labels on a Dymo Labelwriter printer from the browser or from nodejs.
129 stars 30 forks source link

Wondering if this is still managed at all #10

Open Riotsmurf2 opened 4 years ago

Riotsmurf2 commented 4 years ago

Hey, if you are not managing this still would you consider giving a run down or a link to the API documentation for the label writer? There is no longer any clear documentation available.

If you are, for me this does not work. I run it and nothing happens. So i pulled out the api calls you were running and posted the your example and it gives "response body is empty" then does not print. If i put the label i want to print in their the response is a 414 uri too long. Do you know of any solutions? For now i am using the browsers javascript library for printing but it would be nice to print from a small node server.

olleolleolle commented 3 years ago

(There are a ton of failure modes for DYMO Label Printing via JavaScript. I will note one here, a real basic one.)

A supporting program must run on your computer, to pass on the printed label from the web page to the label printer. The supporting program will be visible as a icon in the icon tray on your computer. This is called DYMO Label Web Service on Windows.

On macOS, it looks like this:

bild

https://developers.dymo.com/2016/08/08/dymo-label-web-service-faq/#attachment_1289 This FAQ page talks about this supporting program.

Hope this helps.