diff --git a/src/lib/server/barcode.ts b/src/lib/server/barcode.ts index 86fcd9c..ca808a5 100644 --- a/src/lib/server/barcode.ts +++ b/src/lib/server/barcode.ts @@ -5,10 +5,10 @@ export async function generateBarcodeSvg(text: string): Promise { const buf = await bwipjs.toBuffer({ bcid: 'code128', text, - scale: 3, + scale: 2, height: 8, includetext: true, - textsize: 12, + textsize: 10, textxalign: 'center' }); diff --git a/src/routes/(print)/print/batch/+page.svelte b/src/routes/(print)/print/batch/+page.svelte index ec1b612..f779d51 100644 --- a/src/routes/(print)/print/batch/+page.svelte +++ b/src/routes/(print)/print/batch/+page.svelte @@ -26,7 +26,7 @@
- Setup: Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins: top 0, bottom 0, left 2mm, right 0.5mm. + Setup: Brother QL-820NWB, paper "29mm x 62mm" (DK-11209), margins: minimum.
@@ -50,7 +50,7 @@ {/if}
- {label.shortId} + {label.shortId}
@@ -59,7 +59,7 @@