From 04e3ca889da12426bf5ee680c1b50be15d2e308f Mon Sep 17 00:00:00 2001 From: ASL97 Date: Wed, 27 Dec 2023 02:01:55 +0800 Subject: [PATCH] Fix printing issue by specifying page size --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 3f48d74..dd6bec0 100644 --- a/index.html +++ b/index.html @@ -1647,6 +1647,10 @@

Batch Card Printer

display: block; line-height: 0; } + + @page { + size: A4 landscape; + } `) printer_card.appendChild(frag); }