Carry the ink choice and the font status into the Dymo page
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vunz4VLxAYDBnU5tLciLDC
This commit is contained in:
1 parent
b42f27514a
commit
4132e1031b
1 file changed
+3
-1
@@ -59,6 +59,7 @@ def _query(sheet, options, labels, group_spec=None):
|
||||
'margin_mm': sheet.margin_mm,
|
||||
'gap_mm': sheet.gap_mm,
|
||||
'start_at': sheet.start_at,
|
||||
'ink': sheet.ink,
|
||||
'size_mode': options.size_mode,
|
||||
'copies': options.copies,
|
||||
'font_scale': options.font_scale,
|
||||
@@ -69,7 +70,6 @@ def _query(sheet, options, labels, group_spec=None):
|
||||
}
|
||||
for name, on in (('cut_guides', sheet.cut_guides),
|
||||
('centre', sheet.centre),
|
||||
('monochrome', sheet.monochrome),
|
||||
('group_drawers', options.group_drawers),
|
||||
('outline', options.outline)):
|
||||
if on:
|
||||
@@ -110,6 +110,8 @@ def index():
|
||||
stocks=dymo_sheet.STOCKS,
|
||||
stock=dymo_sheet.get_stock(sheet.stock),
|
||||
layouts=dymo_sheet.LAYOUTS,
|
||||
ink_modes=dymo_sheet.INK_MODES,
|
||||
font_info=tape_printer.font_report(),
|
||||
size_modes=[(key, text) for key, text in tape_printer.SIZE_MODES
|
||||
if key in tape_printer.FIXED_MODES],
|
||||
per_sheet=per_sheet,
|
||||
|
||||
Reference in new issue
Block a user