Skip to content

fredeaker/pyfpdf-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyfpdf-grid

I created this Python script to generate a grid with upper-left coordinates to support another project related to laying out components in a PDF with PyFPDF.

Description

Creates a grid with upper-left coordinates for the purpose of laying out components with PyPDF in a seperate script.

Usage

No command-line arguments or input files have been implemented yet. However you, can modify the value of gridsize to set the size of the grid. For example:

gridsize = int(18) = 0.25 inches (18 pt)

gridsize = int(36) = 0.50 inches (72 pt)

Dependencies

Requires PyFPDF (https://pypi.org/project/fpdf/)

Outputs

grid.pdf an 8.5 x 11 PDF for printing. When printing, do not choose options such as 'fit to paper' otherwise the layout will be off.

About

Grid paper creator with PyFPDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages