Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Right-click print an .html file.

Status
Not open for further replies.

mikecole100

Programmer
Sep 10, 2001
1
US
I need to do this without a print dialog appearing! -- I want to just send immediately to the default printer.

Using windows explorer/file types/html/advanced/print:
I have this string set to print the html file in question-
"C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1

It always produces a print-dialog. How can I suppress this dialog?

Thanks
Mike
 
Try changing it to:

HKEY_LOCAL_MACHINE\Software\CLASSES\htmlfile\shell\Print\command

rundll32.exe C:\WINDOWS\SYSTEM\MSHTML.DLL,PrintHTML "%1"

Have you tried creating a shortcut to your printer in the Send To folder?

reghakr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top