Create context menu to print as image pdf

Download SumatraPDF.exe from
http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer.html

In directory where SumatraPDF.exe is having a good time create batch files:
install-print-as-image-menu.cmd:
reg add "HKCU\Software\Classes\*\shell\Print as Image\command" /ve /t REG_SZ /d "\"%~dp0SumatraPDF.exe\" \"%%1\" -print-to-default -print-settings \"compat\"" /f
Remove this customization
uninstall-print-as-image-menu.cmd
reg delete "HKCU\Software\Classes\*\shell\Print as Image" /f

No comments: