From 0d7428da0bb97a332b3a8c7efeff4b4ebd8ba941 Mon Sep 17 00:00:00 2001 From: jfrcom <44551091+jfrcom@users.noreply.github.com> Date: Thu, 16 May 2024 22:15:39 +0200 Subject: [PATCH 1/2] Added support for Avery 3666 labels --- README.md | 3 +- index.html | 84 ++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 78 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1e7339a..23560cb 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Users are encouraged to validate the output, especially the positioning of the l The application currently supports the following label formats: - Avery L4731REV-25 (See [UK shop](https://www.avery.co.uk/product/mini-multipurpose-labels-l4731rev-25), [DE shop](https://www.avery-zweckform.com/produkt/universal-etiketten-l4731rev-25)) +- Avery 3666 (See [UK shop](https://www.avery.co.uk/product/multipurpose-labels-3666-3666), [DE shop](https://www.avery-zweckform.com/produkt/universal-etiketten-3666)) ### Limitations @@ -23,7 +24,7 @@ The application currently has the following limitations: - The application is currently only available in English. This is considered a non-issue, as the application is designed to be self-explanatory. -- The application currently only supports the Avery L4731REV-25 label format. +- The application currently only supports the Avery L4731REV-25 and Avery 3666 label format. Contributions for additional label formats are welcome. - The application only supports Google Chrome and Chromium-based browsers, such as Microsoft Edge. And partially Firefox. This limitation is due to the use of the [CSS `@page` rule](https://developer.mozilla.org/en-US/docs/Web/CSS/@page) for printing. diff --git a/index.html b/index.html index 2bfaea1..5334899 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ /* See https://caniuse.com/css-paged-media */ @page { /* Remove default margin set by the browser */ - margin: 0mm; + margin: 0; size: A4; } } @@ -56,8 +56,7 @@

This tool generates QR code labels for the ASN feature. You can - generate labels for up to 189 documents at once. The labels are - formatted to fit on Avery L4731REV-25 labels. + generate labels for up to 189 (Avery L4731REV-25) or 65 (Avery 3666) documents at once.

@@ -99,14 +98,21 @@

- The number of labels generated will be 7 x 27 = 189. This means + The number of labels generated will be 7 x 27 = 189 (Avery L4731REV-25) or 5 x 13 = 65 (Avery 3666). This means the next batch of labels should start with 190. + > + or + with + 190 respectively.

@@ -153,6 +159,17 @@ class="block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500" /> +
+ + +
@@ -166,7 +183,7 @@ Show Border
@@ -177,6 +194,7 @@

+