Invalid class string
Opened this issue · 0 comments
arnerb commented
I am trying to connect to a labelwriter's high level COM object via python and I keep getting an Invalid class string
error when running the following code:
import pywin32
printer = win32com.client.Dispatch('Dymo.DymoAddIn')
Contextual information
I've installed the driver and SDK last week from the official dymo webpage (https://www.dymo.com/support?cfid=online-support-sdk). The printer is connected and prints labels without error.
I also found the following obscure link on reddit pointing to the same issue (albeit on linux instead of Windows 10): https://www.reddit.com/r/learnpython/comments/y52p2q/issue_with_windows_com_objects_and_dymo_printers/
Possible solutions
The "solution" proposed in the link above seems strange however - any other ideas what could be going wrong?