Skip to content

Saving as non incremental PDF, with the same name #1851

Answered by JorjMcKie
ovidioruzzier asked this question in Q&A
Discussion options

You must be logged in to vote

I understand your goal, and it is achievable in the way I described:

  1. create a new document
  2. make addition of pages, changes of all sorts etc. - also by passing arounbd the document object to other modules.
  3. Once you are done and want to save that new document, do doc2.save("myPreciousPDF_modified.pdf", <any options>). Do not ever touch doc2.name!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ovidioruzzier
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants