Step 5 - Printing

Printing works pretty much like loading a file: We first open a Common Dialog box (this time with objComDlg.ShowPrint instead of objComDlg.ShowOpen), and then pass the selected settings on to Text Control's PrintDoc method.

The code shown here is contained in Step5.htm in the IE\HTML sample source directory.