From ca0b2505069ef7bac74fc57775b7a483c4a6be9a Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Wed, 4 Mar 2026 16:04:51 +0530 Subject: [PATCH] feat: add custom print preview dialog with configurable options --- src/index.html | 75 +++++++++++++++++++++++ src/main.js | 26 ++++++++ src/preload.js | 1 + src/print-preview.js | 139 ++++++++++++++++++++++++++++++++++++++++++ src/renderer.js | 39 +++++------- src/styles-modern.css | 101 ++++++++++++++++++++++++++++++ 6 files changed, 357 insertions(+), 24 deletions(-) create mode 100644 src/print-preview.js diff --git a/src/index.html b/src/index.html index 98fa29d..7912757 100644 --- a/src/index.html +++ b/src/index.html @@ -331,6 +331,81 @@ + + +