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:
Did you look here?
http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/87e942da-faec-48e1-b339-7ba3da7c9134
The provided rundll32 command line looks slightly different from yours. Alternatively, the page implies that mspaint.exe has a command-line option to print.
Note that I haven't tried any of these, though...