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

Font-Size #46

Open
EmJotGeh opened this issue May 1, 2022 · 8 comments
Open

Font-Size #46

EmJotGeh opened this issue May 1, 2022 · 8 comments

Comments

@EmJotGeh
Copy link

EmJotGeh commented May 1, 2022

It would be nice if you could change the font size.

@maresb
Copy link
Collaborator

maresb commented May 1, 2022

Indeed. Currently, font size is currently dynamic based on the number of lines.

In case you're motivated to implement something further, you're welcome to submit a PR! 🙂

@maresb
Copy link
Collaborator

maresb commented May 3, 2023

Hey @EmJotGeh, do you still have your label printer? I just got a PR which implements this feature in #54. If possible, would you be willing to test it? (My printer is currently broken.)

You can install the testing version with

pip install git+https://github.com/MooVx/dymoprint@master

and then you run dymoprint_gui.

@EmJotGeh
Copy link
Author

EmJotGeh commented May 4, 2023

Hey @maresb, this sounds pretty nice! I will try it as soon as possible! Thank you very much :-)

@EmJotGeh
Copy link
Author

EmJotGeh commented May 4, 2023

Ok, the gui is working well and looks nice - but i get a permission issue:

Traceback (most recent call last):
  File "/home/user/.local/lib/python3.11/site-packages/dymoprint/gui.py", line 159, in print_label
    self.print_server.print_label(
  File "/home/user/.local/lib/python3.11/site-packages/dymoprint/dymo_print_engines.py", line 274, in print_label
    devout = open(dev, "rb+")
             ^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Keine Berechtigung: '/dev/hidraw1'
Abgebrochen (Speicherabzug geschrieben)

and when i try to start it with root:

Traceback (most recent call last):
  File "/home/user/.local/bin/./dymoprint_gui", line 5, in <module>
    from dymoprint.gui import main
ModuleNotFoundError: No module named 'dymoprint'

@maresb
Copy link
Collaborator

maresb commented May 4, 2023

Thanks so much @EmJotGeh for the test!!!

Does it work again if you switch back to the release version with pip install dymoprint?

@maresb maresb mentioned this issue May 4, 2023
@EmJotGeh
Copy link
Author

Hey Ben @maresb,

today i tried dymoprint again. Installed again - and all is working pretty fine with dymoprint cli and dymoprint_gui!

Thank you very much for this really excellent work :-) It was my last hardware that needed a Windows OS.

I drink a beer to you ;-)

@maresb
Copy link
Collaborator

maresb commented Jun 22, 2023

That's excellent @EmJotGeh, I'm very glad!

Which version did you try? Was it the latest stable version v1.4.1? Or was it the beta release v2.0.0b0 described in #56?

There are two completely separate methods of connection in v1.4.1, and that makes development and testing difficult. But v2 has just one, so I'm eager to get that tested and merged.

@EmJotGeh
Copy link
Author

Hey @maresb,

package dymoprint 1.4.1, installed using Python 3.11.3

  • dymoprint
  • dymoprint_gui

It sounds exciting that you want to simplify the connection of the dymoprinter.

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

2 participants