Convert JPG to PDF from the command line
Posted by Craig Lebakken on 27 October 2007 03:02 AM
Is there a way convert a JPEG to PDF using Win2PDF and the Windows "Picture and Fax" viewer?
The command line to print from the Windows "Picture and Fax" viewer to Win2PDF is:
rundll32.exe C:\WINDOWS\System32\shimgvw.dll, ImageView_PrintTo "%1" Win2PDF
where %1 is the full path to the JPEG file. This command also assumes that the Windows system32 folder is in c:\windows\system32.