Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print/save on pdf
#1
hi. i'm rookie in python programming and, yes, i'm pretty rough in code writing (in english writing also).
so: i need to modify a large number of pdf documents and - this is the issue - i need to 'protect' the documents from editing the documents with sw such adobe and i cannot use password.
for the first aim i wrote a routine that enumerates pages whit pymupdf library.
for the second one, i manually avoided the problem by printing each document on pdf-printer with the 'print document and marking' options abled (in this way, even if some people open the pdf documenti in editing mode the text added by the routine doesn't appear marked with the text box) .

now i'd like to automate the procedure by some print method (or function) or other pdf saving options.
these are the steps:
1.- open pdf file
2.- add text
3. print/save (in a mode that sw i.e. adobe cannot easily allow editing)
for the first two point i reached the goal, but the third one....
thankyou all for help!
Reply
#2
What is sw?
« We can solve any problem by introducing an extra level of indirection »
Reply
#3
(Nov-08-2024, 01:50 PM)Gribouillis Wrote: What is sw?

Software, sorry
Reply
#4
(Nov-08-2024, 12:12 PM)starwhale Wrote: by printing each document on pdf-printer with the 'print document and marking' options abled
How do you do that? Can't you do the same with a command line in a terminal?
« We can solve any problem by introducing an extra level of indirection »
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to save to multiple locations during save cubangt 1 1,253 Oct-23-2023, 10:16 PM
Last Post: deanhystad
Sad Want to Save Print output in csv file Rasedul 5 15,264 Jan-11-2022, 07:04 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020