feat(print): default to Windows GDI at 100% with zero margins

Use the native print dialog, force DEVMODE Scale=100/Letter, and paint
from the physical sheet edge via GDI so Avery labels are not fit-scaled.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michael-A-SloanandCursor committed 2026-07-28 18:43:20 -04:00
1 parent 7105678226
commit ffa4d0cf86
2 files changed
+236 -113

No files matched your search

+2 -2
View File
@@ -332,7 +332,7 @@ class MainWindow(QMainWindow):
None,
("Print…", QKeySequence.StandardKey.Print, self.print_document),
("Print Preview…", None, self.print_preview),
("Print via System PDF…", None, self.print_via_system),
("Open in System PDF App…", None, self.print_via_system),
("Export PDF…", "Ctrl+E", self.export_pdf_dialog),
("Export Alignment Guide…", None, self.export_guide_dialog),
None,
@@ -815,7 +815,7 @@ class MainWindow(QMainWindow):
self.project.set_current(self.scene.design)
if print_project(self.project, self):
self.statusBar().showMessage(
f"Printed {self.project.sheet_count} sheet(s) at actual size (100%)"
f"Printed {self.project.sheet_count} sheet(s) via Windows at 100% (no margins)"
)
def print_preview(self) -> None: