Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ Installing
To enable PDF output, install with the PDF extra (installs ReportLab):

pip install 'screenplain[PDF]'


Using
=====

Screenplain defaults to using US Letter paper for PDF output. To set a different
paper size, you can adjust the value of `page_size` in `screenplain/export/pdf.py`

ReportLab supports many common paper sizes in its [pagesizes module](https://pyng.tech/docs/reportlab/lib/pagesizes.m.html).
For example, to use A4 paper set the value of `page_size` like this:

page_size=pagesizes.A4,


Credits
=======
Expand Down