Print Preview with custom headers/footers

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ram Shriram (rawdata_at_nospam.com)
Date: 03/18/04


Date: Wed, 17 Mar 2004 19:43:19 -0800

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.

Thanks,

RS



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)
  • Re: Print Preview with custom headers/footers
    ... "Ram Shriram" wrote in message ... > WebBrowser Control) to print custom headers and footers. ... > How can I show a print preview with those custom headers and footers. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)