0

I'm working on a small project that requires printing directly to a DYMO printer using their SDK. I've made other projects before using the same method:

  • Find DYMO
  • Get .label file
  • Set label variable object(s)
  • Print label

However, I receive the following error from the VB.NET program when calling the label.Print() method:

Paper '12mm' is not supported by 'DYMO LabelWriter DUO Label'

I receive the error delayed, so I'm assuming that the Print() method runs in a separate thread. Therefore I'm also assuming that the error occurs in the Print() method. This method is also the only point that the Label and IPrinter objects are provided in a single method according to the list above.

This error does not make sense, as the DYMO software has successfully printed labels using the same .label template. Is there possibly an incompatibility issue with the V8.+ of the SDK/Software and this model? If so, how/where can I determine a compatible version?

Insight on the fixing the error would be greatly appreciated or even any leads on documentation of error handlers with the DYMO SDK (all I've found are old samples of how to use the SDK).

Adam
  • 25,960
  • 22
  • 158
  • 247
tbm0115
  • 410
  • 11
  • 21
  • The print method returns void and according to the tooltip in visual studio, it does not throw exceptions. So it sends a print command to the printer, but how can you troubleshoot this? How did you receive the notice from the unsupported paper? – JP Hellemons May 27 '16 at 12:50
  • After my application crashed a few times, I threw a Try..Catch around the print command. The catch message provided the text labeled in my question. – tbm0115 Jun 09 '16 at 16:22
  • Can you show the code. Do you provide additional arguments to the `Print()` method? – JP Hellemons Jun 10 '16 at 10:49
  • Probably something wrong with you labelXML. Did you create it with DYMO Label Software? Or did you code it by yourself? – Adam Jul 27 '19 at 09:43

0 Answers0