Windows designer for Avery templates with Avery.com Word download, print, and PyInstaller build. Co-authored-by: Cursor <cursoragent@cursor.com>
2.6 KiB
2.6 KiB
Avery Label Studio
Open-source Windows desktop designer for Avery label templates (e.g. 60504).
- Download official Avery Word blanks by product number
- Measure & install into AppData
- Design → print-ready PDF / direct print
Not affiliated with Avery Products Corporation. MIT licensed.
Features (v0.1)
- No templates shipped — start on Select a template
- Remembers your last used template on next launch
- Download from Avery.com by product number (official Word blank)
- Import your own
.doc/.json/.pdfblanks - Templates live in
%LOCALAPPDATA%\AveryLabelStudio\templates - Import artwork (PDF/Word) with contain / cover / stretch
- Print / Print Preview / multi-sheet projects
- Build a standalone
.exewith PyInstaller
Templates
- Download… — enter a number like
60504(pulls the Word blank from avery.com) - Or Import… — pick a blank you already downloaded
- Layout is measured and saved under AppData
- Toolbar dropdown switches among templates you installed
Printing
- File → Print… (
Ctrl+P) — Windows print dialog; use Preferences / Properties for tray, duplex, media, etc. - Prints at actual size (does not fit/scale over your settings)
- File → Print via System PDF (full settings)… — opens the PDF in Edge/Adobe for the complete driver UI
- File → Print Preview… — preview before printing
- Always choose 100% / Actual size — never Fit to page
Run from source
pip install -r requirements.txt
run.bat
Or:
set PYTHONPATH=src
python -m avery_studio
Build the EXE
Double-click build_exe.bat, or:
pip install -r requirements.txt
pyinstaller --noconfirm AveryLabelStudio.spec
Output: dist\AveryLabelStudio.exe
Printing tips
- Export PDF from the app
- Print at 100% / Actual size — do not “Fit to page”
- Use Avery 60504 sheets (laser)
- If labels are a little high/low/left/right, use Offset X / Y (in inches) and re-export
Template geometry
Verified from your file
TEMPLATES/Avery60504UltraDutyGHSLabelsLaser.doc (Avery rectangle guides):
| Setting | Value |
|---|---|
| Page | 8.5″ × 11″ Letter |
| Design panel | ≈ 3.937″ |
| Left margin | ≈ 0.251″ |
| Top margin | ≈ 1.001″ |
| Horizontal gap | 0.125″ |
| Vertical gap | ≈ 1.126″ (was wrongly 0.125″ before) |
| Grid | 2 × 2 |
Roadmap ideas
- GHS pictogram library + signal-word presets
- CSV / Excel mail-merge for batch labels
- More Avery templates
- Resize handles on canvas elements
License
MIT — see LICENSE.