From d336363771a29e1f918865a5a5f79b6a898a7519 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 28 Feb 2021 19:31:35 +0100 Subject: [PATCH] docs: barcode gen: fix acery3420 dimensions Signed-off-by: Thomas Lamprecht --- docs/lto-barcode/code39.js | 4 ++-- docs/lto-barcode/paper-size.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/lto-barcode/code39.js b/docs/lto-barcode/code39.js index 5c715cd7..4dba242f 100644 --- a/docs/lto-barcode/code39.js +++ b/docs/lto-barcode/code39.js @@ -69,8 +69,8 @@ let colors = [ '#705A81', ]; -let lto_label_width = 70; -let lto_label_height = 17; +const lto_label_width = 70; +const lto_label_height = 16.9; function foreach_label(page_layout, callback) { let count = 0; diff --git a/docs/lto-barcode/paper-size.js b/docs/lto-barcode/paper-size.js index d2481f3c..c725636e 100644 --- a/docs/lto-barcode/paper-size.js +++ b/docs/lto-barcode/paper-size.js @@ -15,9 +15,9 @@ let paper_sizes = { page_width: 210, page_height: 297, label_width: 70, - label_height: 17, + label_height: 16.9, margin_left: 0, - margin_top: 4, + margin_top: 5, column_spacing: 0, row_spacing: 0, },