Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid class string #77

Open
arnerb opened this issue Jun 27, 2023 · 0 comments
Open

Invalid class string #77

arnerb opened this issue Jun 27, 2023 · 0 comments

Comments

@arnerb
Copy link

arnerb commented Jun 27, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant