Set page size to A4 and add margins #3436
Answered
by
JorjMcKie
bwiti-me
asked this question in
Looking for help
-
I'm using the script 'convert.py' that I found on this site to convert files to pdf. It works out of the box, but I'd like to enahance it with two functionalities:
I hope this is clear and appreciate any help provided. bwiti-me |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
May 3, 2024
Replies: 1 comment 1 reply
-
You can layout a reflowable document with the desired page format - either already at open or later via |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bwiti-me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can layout a reflowable document with the desired page format - either already at open or later via
doc.layout(width=595, height=842)
.Several filetypes are reflowable, among them EPUB.