Overview
This workload automates the process of printing a document to PDF.
Summary
The workload performs the following actions:
- Opens a defined document in an application via the command line.
- Sends the specified keyboard shortcut to open the Print dialog.
- Selects the "Microsoft Print to PDF" printer (this can be customized to a different printer).
- Types the specified output path.
- Saves the file.
- Opens and closes the resulting file in a PDF reader application, using the command line to open it in the default PDF reader.
Disclaimer
This workload is provided as-is and may require additional configuration and customization to function properly in each unique environment. For further customization through Professional Services, please consult with the Support and Services team. For more self-help information on workload crafting and implementation, refer to the Application Customization section.
For more details, see the top of the attached .cs file.
- pdfPrinting_v1.1.cs10 KB