Using the "Print Document” Action, we can print documents including images.

Although it can handle .pdf files with no issues, there are cases where printing an image file cannot be achieved using that Action.

In those cases, using Windows built in tools, such as MS Paint, we can achieve the same functionality.

First, we would need to create a .bat file. Simply create a new .txt file with the below content and save as Example.bat:

@echo off

title Print Images

mspaint /p "Your_Image_Path"

taskkill /IM "mspaint.exe"

Afterwards, use the “Run Application” Action and run the .bat file you just created.

Another way of printing an image would be to use the “Run DOS Command” Action and run the command below:

rundll32 C:\WINDOWS\system32\shimgvw.dll,ImageView_PrintTo "Your_Image_Path" "Your_Printer_Name"

Note that with the above command we can also specify the desired printer.