Hi,
For Win10 system does not have this function or settings to do that.
If you have add the Microsoft Print to PDF and set as default to open. As far as I know, you need to use some third party software or Script(C#/VB) to attain this purpose. As you mentioned file location or the file name Parameters should be added in third party software or Script.
Some information below may be helpful.
https://stackoverflow.com/questions/31896952/how-to-programmatically-print-to-pdf-file-without-prompting-for-filename-in-c-sh
https://github.com/sumatrapdfreader/sumatrapdf/issues/1623
Meanwhile, To help you better, I suggest that you could post this issue to github or VB forum. It will be more professional on code issue:
https://github.com/microsoft
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl
Microsoft Print to PDF

Vitor Pt
1
Reputation point
Hello, is it possible to print any document to Microsoft Print to PDF Printer and give some Parameters to save the printed file in a custom Location and with a custom file Name automatically? Parameters Like: - PDF name ( and path ) - Open Outlook with attached PDF file This is very very important
3 answers
Sort by: Most helpful
-
Carl Fan 6,801 Reputation points
2021-02-22T07:10:45.883+00:00 -
Amin Dodin 1 Reputation point
2021-02-22T16:55:10.267+00:00 I know of 2 products that might be useful to you (Disclaimer: I work for their vendor):
- The LEADTOOLS ePrint printer driver can be configured (without having to write code) to save the printout with the same name as the print job title. For example, if the print job title was something like
January_Accounting_Report
, the output PDF can be made to automatically save asJanuary_Accounting_Report.pdf
. There’s also an option to use the default email client (such as Outlook) to automatically email the resulting printout file. - If more advanced control is required, the LEADTOOLS Virtual Printer SDK integrates capturing print jobs with a set of powerful imaging APIs.
If you would like to try one of the 2 products, they have free evaluation editions on the 2 websites I mentioned above.
- The LEADTOOLS ePrint printer driver can be configured (without having to write code) to save the printout with the same name as the print job title. For example, if the print job title was something like
-
Dieter Riekert 1 Reputation point
2022-12-31T14:20:03.02+00:00 I can offer more solutions...
- Use PrintMulti (printmulti) which is free for client operating systems
- Print to a fix file and copy the file to the desired position after printing. To print to a fix file add a "Local Port" with a file name like "c:\temp\output.pdf".
- If you print using code you can directly set the output file. That works well with "Microsoft Print To PDF" printers.
- Use a PDF printer like PDFCreator which allows to automate the name of the output file.