I need to create a process that automatically prints documents. The printer name and file will come from a Database query. I just need help with printer activities.
The process basically loops through a datatable and prints each PDF file to the appropriate printer.
Can someone recommend printer activities? I was thinking about using Printer Activities by RPAby.pw but i’m not sure how to install it. I don’t see them in Manage packages
$printerName = "\\ServerName\PrinterName" # Use the full printer name as it appears in your system
$filePath = "C:\path\to\your\document.pdf" # The full path to the document you want to print
Start-Process -FilePath $filePath -Verb Print
@timothy.mullady
first try use this script directly in powershell with your printer name and document name.
I tested it on shared printer on print server and it worked.