I want to save PDF at specific location without user interaction in Windows.
To achieve this goal I configured local printer port which saves file in Documents folder. I want it to be changed to "C:\CIRFSpooler" so that printed files can be saved in specific folder.
I tried to put directory name in port but shows error.
I followed these steps:
- Press Win + R to bring up the Run dialog, and type Control Printers,
- Add a printer Select The printer is not listed Select the last item:
- Add a local printer… Create a new port.
- Select Local and Name your Port
- Select Microsoft XPS Class Driver Name the printer.
Thanks!