Anyone have experience using the "printto" verb to print a web page? For a .url file type ("internet shortcut"), the printto verb has the following directive:
rundll32.exe C:\WINNT\system32\mshtml.dll,PrintHTML "%1" "%2" "%3" "%4"
If I pass the following to ShellExecuteEx()...
printto "c:\MyPage.url" "\\ksmsps1\LJ5_COPYROOM" "HP LaserJet 5Si/5Si MX PS" "IP_10.10.30.241"
...I still get the Print dialog popping up. I would expect that, if I properly give printto all that it needs (filename, printer, driver, port), then it should silently do its job. I don't want the Print dialog to show, but I can't get it to shut up. The above parameters work just fine for Excel or Acrobat printto verbs, but it doesn't seem to do the trick for URLs. Any ideas?
Thanks,
:-David
rundll32.exe C:\WINNT\system32\mshtml.dll,PrintHTML "%1" "%2" "%3" "%4"
If I pass the following to ShellExecuteEx()...
printto "c:\MyPage.url" "\\ksmsps1\LJ5_COPYROOM" "HP LaserJet 5Si/5Si MX PS" "IP_10.10.30.241"
...I still get the Print dialog popping up. I would expect that, if I properly give printto all that it needs (filename, printer, driver, port), then it should silently do its job. I don't want the Print dialog to show, but I can't get it to shut up. The above parameters work just fine for Excel or Acrobat printto verbs, but it doesn't seem to do the trick for URLs. Any ideas?
Thanks,
:-David