Command line photo printing in Windows 7
photo, printing, windows-7
Solution
Maybe reformatting the command and adding some absolute paths would help? The following worked for me:
rundll32 C:\WINDOWS\system32\shimgvw.dll,ImageView_PrintTo "c:\mydir\my.bmp" "Fictional HP Printer"
Problem
I need to print a photo (.jpg) from the command line in Windows 7. I have tried using lpr to no success, and found methods for Windows XP like the following: ``` rundll32 shimgvw.dll ImageView_PrintTo /pt myPhoto.jpg "myPrinter" ``` This doesn't work (not surprising), and my hours of Googling has turned up nothing else. I'm trying to find a stock way to do this on any Windows 7 machine without needing to install or set anything up. Does there exist such a command?