Re: Print Preview with custom headers/footers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 03/18/04


Date: Thu, 18 Mar 2004 10:48:04 -0500


"Ram Shriram" <rawdata@nospam.com> wrote in message
news:un8Z$sJDEHA.2052@TK2MSFTNGP11.phx.gbl
> I am using KB 267240 (HOWTO: Print Custom Headers and Footers for a
> WebBrowser Control) to print custom headers and footers.
>
> How can I show a print preview with those custom headers and footers.
> I seem to be getting the default IE headers and footers on using the
> following: pWb->ExecWB(OLECMDID_PRINTPREVIEW,
> OLECMDEXECOPT_PROMPTUSER, &vArg, NULL);
>
> where vArg is the variant containing the header/footer information as
> described in the KB article.

Read about Print Templates.

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Relevant Pages

  • Re: cleaning custome header / custom footer drop down list
    ... You can remove the items from Custom Headers and Footers by just deleting ... You cannot remove the default Headers and Footers. ... Gord Dibben Excel MVP ...
    (microsoft.public.excel.printing)
  • Re: Vertical Line in Footer
    ... I'm building a doc template and am working on custom headers and footers - and I need to add a vertical line along the left margin. ... If the line is in the document margin, it should stay clear of all text in the normal bodytext layer. ...
    (microsoft.public.word.docmanagement)
  • ezPDF Question
    ... I am using the ezPDF library to dump the contents of a table into a PDF ... but I created custom headers and footers that ... automatically set the table to paginate upon reaching a certain size ...
    (comp.lang.php)
  • Re: Print Preview with custom headers/footers
    ... >> WebBrowser Control) to print custom headers and footers. ... >> How can I show a print preview with those custom headers and footers. ... > "For every complex problem, there is a solution that is simple, neat, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Print Preview with custom headers/footers
    ... WebBrowser Control) to print custom headers and footers. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)