I wrote an aplication that prints html documents. I use standard ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL); function. However I found problems when I decided to use print template in printing or previewing the document. I tried some combinations with 'pvaIn' parameter of ExecWB, but I found nothing.
Thanx for all help