>>This (using ShellExecute) will work as long as there is an entry in the Registry for printing jpg's. This would be registered by a specific application for supporting this command. So if it is to be used by an unknown PC setup, then this solution may not work.
>
>Agree, but I doubt that there is any OS that can't print JPG, even Win98 prints JPGs with Paint :o)
On my PC this just opens Windows and Picture Fax Viewer. Anatoliy's solution works fine (without setting IE visible). I just need to turn off Page Headers and footers.
If it's not broken, fix it until it is.
My Blog