From 1c655f99ec9d201fb74116a29a5f89e88c36f8e3 Mon Sep 17 00:00:00 2001 From: MultiMote Date: Wed, 3 Sep 2025 13:33:32 +0300 Subject: [PATCH] Add 300dpi default label presets --- src/defaults.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/defaults.ts b/src/defaults.ts index 35370ed..8ea703c 100644 --- a/src/defaults.ts +++ b/src/defaults.ts @@ -3,8 +3,12 @@ import type { AppConfig, LabelPreset, LabelProps } from "./types"; /** Default presets for LabelPropsEditor */ export const DEFAULT_LABEL_PRESETS: LabelPreset[] = [ - { width: 30, height: 12, unit: "mm", dpmm: 8, printDirection: "left", shape: "rect" }, + // 203dpi + { width: 40, height: 12, unit: "mm", dpmm: 8, printDirection: "left", shape: "rect" }, { width: 50, height: 30, unit: "mm", dpmm: 8, printDirection: "top", shape: "rect" }, + // 300dpi + { width: 40, height: 12, unit: "mm", dpmm: 11.81, printDirection: "left", shape: "rect", title: "40x12mm 300dpi" }, + { width: 50, height: 30, unit: "mm", dpmm: 11.81, printDirection: "top", shape: "rect", title: "50x30mm 300dpi" }, ]; /** Default canvas dimensions */