From 30e204b3566f0bca9918b4bd397120f0b3cedc45 Mon Sep 17 00:00:00 2001 From: asl97 Date: Wed, 27 Dec 2023 00:59:34 +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); }