Im trying to print an existing .pdf to a new .pdf File using the nowadays Windows 10 inbuilt Print-to-PDF printer (or anything else that works).
Ive been searching for 2 days now but i cant find anything that works for my case, only solutions for either printing to .pdf or printing a .pdf.
I need to be able to specify the printer, an input and an output filename/path and have no required user interaction.
Surprised its this difficult to automate what would be roughly 8 manual clicks... Anyone got any ideas? Seems like a commenter in this thread was asking the same but never got an answer How to programmatically print to PDF file without prompting for filename in C# using the Microsoft Print To PDF printer that comes with Windows 10