22 Commits

Author SHA1 Message Date
71ccdb7b96 Fix blank label between copies: send all copies in single GDI print job (StartDoc/N pages/EndDoc) instead of N separate jobs - thermal printers eject blank label between rapid separate jobs 2026-02-25 16:20:45 +02:00
be1b494527 Fix printing: use pymupdf+GDI for silent direct printing at correct physical label size - removes Adobe Reader/ShellExecute, prints 35x25mm label 1:1 using printer native DPI 2026-02-25 16:05:33 +02:00
b35f278c1e Remove GhostScript, use SumatraPDF only for printing
- Remove find_ghostscript() and print_pdf_with_ghostscript() from print_label.py
- SumatraPDF is now the primary print method with -print-settings noscale
- Fix SumatraPDF arg order: file_path moved to last position
- Add -appdata-dir so SumatraPDF reads conf/SumatraPDF-settings.txt (PrintScale=noscale)
- win32api ShellExecute kept as last-resort fallback
- Remove GhostScript bundling from LabelPrinter.spec and build_exe.py
- Add conf/ folder pre-flight check to build_exe.py
- Rebuild dist/LabelPrinter.exe (41 MB, SumatraPDF-only)
2026-02-25 10:00:56 +02:00
faef90f98b Add dist/ release build (LabelPrinter.exe + conf with bundled GhostScript and SumatraPDF) 2026-02-24 13:41:17 +02:00
7197df9f5c Fix docstring escape warning in prepare_ghostscript.py; add dist/ and build_output.log to .gitignore 2026-02-24 13:30:38 +02:00
f67e1fb0da Replace prepare_ghostscript.bat with Python script to fix nested for/if batch parser bug 2026-02-24 11:52:42 +02:00
f7833ed4b9 Remove dead code, DEVMODE overrides, and PNG fallback; use printer default settings 2026-02-24 09:19:58 +02:00
7a77199fcf updated 2026-02-23 17:07:00 +02:00
cbf324eb76 Rebuild exe: fix orientation (noscale only, no landscape flag) 2026-02-23 15:26:05 +02:00
71558cc983 Fix orientation: remove landscape flag from SumatraPDF (PDF already landscape), remove win32print orientation interference 2026-02-23 13:39:27 +02:00
7437c547ec Add dist/LabelPrinter.exe with bundled SumatraPDF, landscape+quality fix 2026-02-23 08:05:56 +02:00
461426fd89 Remove dist/ from tracking, add dist/ to .gitignore 2026-02-23 07:58:23 +02:00
3f3da62543 Fix printing: landscape orientation + high quality DPI via win32print before SumatraPDF job 2026-02-20 17:03:20 +02:00
63b46206b6 Update project files and build output v1.0.0 2026-02-20 14:25:02 +02:00
351fd3dfea Fix Windows browse, status label mapping, and repo cleanup 2026-02-19 15:16:09 +02:00
NAME
9b7697321b final test 2026-02-13 23:43:41 +02:00
NAME
6a11cf3d8d Clean repository and update .gitignore
- Remove build artifacts from git tracking (build/, dist/, __pycache__/, *.spec)
- Updated .gitignore to properly exclude generated files
- Added old_code/ documentation folder
- Updated sample_data.txt to show new 5-field format
- Exclude user-specific conf/app.conf from tracking
2026-02-13 23:41:34 +02:00
NAME
839828340d Add template selection and multiple copy printing features
- Implemented template selection: type 0=OK (green), type 1=NOK (red)
- Added multiple copy printing (1-100 copies)
- Extended file format to 5 fields: ARTICLE;NR_ART;SERIAL;TYPE;COUNT
- Created OK/NOK SVG templates with visual distinction
- Fixed PDF landscape orientation issues
- Updated SumatraPDF to use noscale for exact dimensions
- Auto-generate conf folder with default templates on first run
- Made pystray optional for system tray functionality
- Updated build scripts for Python 3.13 compatibility (Kivy 2.3+, PyInstaller 6.18)
- Added comprehensive build documentation
- Improved printer configuration guidance
2026-02-13 23:34:59 +02:00
NAME
3b23f89cf0 pdf backup 2026-02-12 22:43:26 +02:00
NAME
8954135f93 Complete label printer redesign: file monitoring, SVG templates, sharp print quality
- Redesigned GUI for automatic file monitoring workflow
- Changed label format to 35x25mm landscape
- Implemented SVG template support with variable substitution
- Added configuration auto-save/load (conf/app.conf)
- Added system tray minimize functionality
- Fixed print quality: landscape orientation, vector fonts, 600 DPI
- Auto-clear file after print to prevent duplicates
- All popups auto-dismiss after 2-3 seconds
- Semicolon separator for data format (article;nr_art;serial)
- SumatraPDF integration with noscale settings
- Printer configured for outline fonts (sharp output)
- Reorganized documentation into documentation/ folder
2026-02-12 22:25:51 +02:00
NAME
0743c44051 Import latest version from label_printer repository as starting point 2026-02-12 19:25:05 +02:00
NAME
fdb143e726 Initial commit: Adaptronic label printer project 2026-02-12 19:03:23 +02:00