command line tool for print picture? command line tool for print picture? windows windows

command line tool for print picture?


I finally found out!

use windows image and fax viewer.

rundll32    shimgvw.dll    ImageView_PrintTo /pt   xxx.png   "printer name"


IrfanView is able to do this. Here's a list of command line options for this application.

The following should work:

i_view32 xxx.png /print

If you want to print to a printer other than the default printer, specify the printer name:

i_view32 xxx.png /print="PrinterName"


This link had a simpler solution:

mspaint /pt [image filename]