Support for LabelManager Wireless PnP - #81
Conversation
|
The current situation with the codebase is unfortunately a bit precarious. We have forked into a |
|
I appreciate a lot that you're showing your work early. For purely organizational purposes I'm going to convert this to a draft. Please feel free to mark it as "ready for review" and ping us whenever you'd like us to take another look at it. |
|
After some more experimentation, sending the cut for every printer seems to crash out printers with no cutters, so i'm going to try and rework this against your |
|
That's strange, which printers are you testing against? I'm fairly confident that with my PnP the cut command was a noop, but I don't have it at the moment. Please be warned that there's no timeline for merging |
|
Picking this up per @maresb's suggestion above to target |
Adds an "autoCut" checkbox to the settings bar that sends the printer's
hardware cut command after printing, wired through printer_service.py's
two print call sites as cut=settings.get("autoCut", False).
Deliberately kept separate from the persisted per-printer settings and
from the existing cutMark feature (which only draws a dotted line for a
manual cut): some models crash if sent an unconditional cut with no
cutter installed (labelle-org/labelle#81), so this is a non-persisted,
per-session toggle that defaults off and resets on reload or printer
switch rather than silently following a printer selection to a unit
that can't handle it.
Some initial work on LabelManager Wireless PnP
still to do:
LABELER_PRINT_HEAD_HEIGHT_MMdepending on the specific labeller but i could be wrong here - i can't find any codepaths that differ between devices at the moment