Description
I was trying to see if I can get my DYMO LabelMANAGER PC II to work with Labelle.
I saw that the "DYMO LabelMANAGER PC" is supported, so I gave it a shot.
It is not supported out of the box, but when adding the following line to constants.py:
0x001C: "DYMO LabelMANAGER PC II",
and setting up the udev rules, the printer is detected and I can print a label!
But...
The text is not aligned correctly. It is printed too much downwards. (the bottom part falls of the label) I think this is because it is a 24mm tape printer.
I did some digging around and found these lines in dymo_labeler.py
LABELER_DISTANCE_BETWEEN_PRINT_HEAD_AND_CUTTER_MM = 8.1
LABELER_PRINT_HEAD_HEIGHT_MM = 8.2
SUPPORTED_TAPE_SIZES_MM = (19, 12, 9, 6)
DEFAULT_TAPE_SIZE_MM = 12`
I added SUPPORTED_TAPE_SIZES_MM = (24, 19, 12, 9, 6)
and can print a correctly aligned 24mm label!
But the 12mm sizes are still not aligned correctly.
Changing LABELER_PRINT_HEAD_HEIGHT_MM to 24 did not fix it.
My questions:
- How do I vertically align the text on the smaller tape sizes?
- How do I add these changes without breaking other printers?
My python knowledge is next to nothing, so patient please :)