Skip to content

Quick script to create simple PDF with addresses to print on label sheets

License

Notifications You must be signed in to change notification settings

bbbart/addresslabels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addresslabels

Quick Python script to create simple PDF with addresses to print on label sheets. Depends on reportlab.

Features

  • supports custom fonts to embed into the PDF file, as long as you provide the .afm anf .pfb files for them in the configured fontdir
  • supports any pagesize and unit that reportlab supports
  • supports multipage PDF output
  • horizontally centres every line and does good effort to vertically align the complete label as well

Just run addresslabels.py after configuring it in config to turn a CSV file into a PDF document like shown in the image below.

From:

Brittany Ferguson,050 Phillip Crossroad,HD6 2T,Barnettbury,UK
Crystal Perez,53 Talbot Cliff,BH2 0JQ,East Mauriceside,UK
Tina Smith,Flat 55 - Danielle Crescent,LS14 4BQ,Andrewsborough,UK

To:

sample.pdf

About

Quick script to create simple PDF with addresses to print on label sheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages