Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to Print to File without user intervention.
Original KB number: 2528405
Summary
When choosing the option to Print to File from an application, the user is prompted with a dialog to choose the location and name of the file to be saved. If it is desired to automate the print to file
process in such a way as to save the file without user interaction, follow below steps.
More information
Here are the steps to achieve it:
- Go to Devices and Printers.
- Click on Add Printers.
- Click on Add a local or network printer as an administrator.
- Click on Add a local printer.
- Click on Create a new port: Local Port.
- You will get a Port Name Box - Type in Path and the file name. for example, "C:\Temp\PrintJob.txt".
- Select the Manufacturer - Generic.
- Select Printers - Generic / Text Only.
- Select - Use the driver that is currently installed (recommended).
- Type a name for the printer.
- Share the Printer if needed.
- Finish.
After these steps, any print jobs sent to this printer will automatically be saved to the location specified as the port.