Print Preview with custom headers/footers
From: Ram Shriram (rawdata_at_nospam.com)
Date: 03/18/04
- Next message: Roger Shrubber: "Re: Knowing when a frame/IWebBrowser2 is destroyed?"
- Previous message: Troy Simpson: "Re: Disable Javascript"
- Next in thread: Igor Tandetnik: "Re: Print Preview with custom headers/footers"
- Reply: Igor Tandetnik: "Re: Print Preview with custom headers/footers"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Roger Shrubber: "Re: Knowing when a frame/IWebBrowser2 is destroyed?"
- Previous message: Troy Simpson: "Re: Disable Javascript"
- Next in thread: Igor Tandetnik: "Re: Print Preview with custom headers/footers"
- Reply: Igor Tandetnik: "Re: Print Preview with custom headers/footers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|