AutoIt project for a PDF-to-printer application for Windows
This application is described in detail here:
https://mendelson.org/pdftoprinter.html
This respository includes the files needed for compiling and running the application. They should be copied to the same folder that contains the au3 file.
Malware detection: Some anti-malware programs will report that my installer contains malware; this happens because the AutoIt scripting language has been used to create malware and anti-malware programs block anything created in AutoIt. If you don't trust my software, don't use my software! Find something else instead. (Or compile it yourself from the code in this repository.)
You may not need this program at all. Powershell can print PDF files from the command line. For example, to print to a specific printer, use:
Start-Process -FilePath "path\to\file" -Verb PrintTo -ArgumentList "Name of Printer" -PassThru | %{sleep 10;$_} | kill
To print to the default printer:
Start-Process -FilePath "path\to\file" -Verb Print -PassThru | %{sleep 10;$_} | kill