From d4ccf1738e6e2d2f61ec32a318f42c85c612c3d2 Mon Sep 17 00:00:00 2001 From: Jules Date: Fri, 25 Sep 2026 23:27:38 +0200 Subject: [PATCH] Rembobinage ruban : UltraFine au lieu de StpiDecklist bidon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit selphy_print (backend CUPS natif Mitsubishi) gère le rewind automatiquement SAUF en mode Fine (speed=0). Force UltraFine quand rembobinage activé pour que le ruban dure autant que le papier. Co-Authored-By: Claude Opus 4.6 --- backend/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/printer.py b/backend/printer.py index 09828fb..c9e2eb3 100644 --- a/backend/printer.py +++ b/backend/printer.py @@ -320,7 +320,7 @@ def imprimer( "-o", "StpiShrinkOutput=Crop", ] if rembobinage: - cmd.extend(["-o", "StpiDecklist=true"]) + cmd.extend(["-o", "StpPrintSpeed=UltraFine"]) cmd.append(str(chemin_print)) code, out, err = _run(cmd, timeout=30)