Skip to content

slovjinika/QR2A4

Repository files navigation

image image Генеруйте стікери для інвентаризації, використовуючи самоклейний папір для ТТН (А4, 105х99 мм)

A4 sticker sheet generator (6 stickers per sheet — 105×99 mm blocks)

Short README — generates printable PDF for self-adhesive paper with 6 sticker blocks (block size 105×99 mm) containing QR and numeric label.

Requirements

  • Python 3.8+
  • qrcode, pillow Install:
python -m pip install qrcode[pil] pillow

What it does

  • Produces A4 PDF (300 DPI) for self-adhesive sheets with 6 blocks (each block 105×99 mm), each block contains 4 stickers (2×2) sized 42×38 mm.
  • Generates QR codes and centered 8-digit numeric labels.
  • Minimizes internal paddings, increases QR size, shifts bottom row up 10 mm for printer alignment.

Quick setup

  1. Place a font and set FONT_PATH in the script (fallback to PIL default if not found).
  2. Edit START_NUM / END_NUM as needed.
  3. Run:
python3 105x99-gen-qrcode-24.py

Output: print/labels_a4.pdf

image

Notes

  • Adjust QR_SCALE_FACTOR or TEXT_ZONE_RATIO to change QR/text balance.
  • Margins and BOTTOM_ROW_SHIFT_MM tuned for typical printers — tweak if needed.

About

A4 QR-sticker sheet generator (self‑adhesive). Generates multi-page 300 DPI PDFs with 2×3 blocks (105×99 mm) per sheet. Supports 4 stickers (2×2, 42×38 mm) or 9 stickers (3×3, 28×25 mm) per block. Each sticker includes a large QR code and an 8‑digit numeric label.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages