I´m working on a script that will output a filled-out pdf using the pypdf extension. However I´m stuck on how to give the property of how many pages said document will have… any ideas?
writer.update_page_form_field_values(writer.pages, Field)
with open ("M:/#temp/filled-out.pdf", "wb") as out_stream:
writer.write(out_stream)
The document output is showing up in target folder but it´s unopenable, having 0 pages
New contributor
zBsPhantom is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1