Files
Avery_Template_System/README.md
T
Michael-A-SloanandCursor 389e68ab08 Initial commit: Avery Label Studio desktop app.
Windows designer for Avery templates with Avery.com Word download, print, and PyInstaller build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:09:47 -04:00

94 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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` / `.pdf` blanks
- Templates live in `%LOCALAPPDATA%\AveryLabelStudio\templates`
- Import artwork (PDF/Word) with contain / cover / stretch
- Print / Print Preview / multi-sheet projects
- Build a standalone **`.exe`** with PyInstaller
## Templates
1. **Download…** — enter a number like `60504` (pulls the Word blank from avery.com)
2. Or **Import…** — pick a blank you already downloaded
3. Layout is measured and saved under AppData
4. 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
```bat
pip install -r requirements.txt
run.bat
```
Or:
```bat
set PYTHONPATH=src
python -m avery_studio
```
## Build the EXE
Double-click `build_exe.bat`, or:
```bat
pip install -r requirements.txt
pyinstaller --noconfirm AveryLabelStudio.spec
```
Output: `dist\AveryLabelStudio.exe`
## Printing tips
1. Export PDF from the app
2. Print at **100% / Actual size** — do **not** “Fit to page”
3. Use Avery **60504** sheets (laser)
4. 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](LICENSE).