I'm overriding the Internet Explorer 5.5 Print Template using a call to lOleCommandTarget:-
lpOleCommandTarget->Exec(NULL, OLECMDID_PRINTPREVIEW, OLECMDEXECOPT_PROMPTUSER, &vTemplatePath, NULL);
where the path to the print template is held in the VARIANT vTemplatePath. This seems to work okay on my NT4 platform, but not on Win98 or any of the others.
I've a suspicion that this functionality is only supported on NT, but the Microsoft docs around this area are ambiguous when it comes to compatibility. Thing is, I need this to work on as many platforms as possible as it's my 'last ditch' attempt at printing html headers on all pages printed from a browser control.
Can anyone shed some light on this?
Thanks,
Tim
lpOleCommandTarget->Exec(NULL, OLECMDID_PRINTPREVIEW, OLECMDEXECOPT_PROMPTUSER, &vTemplatePath, NULL);
where the path to the print template is held in the VARIANT vTemplatePath. This seems to work okay on my NT4 platform, but not on Win98 or any of the others.
I've a suspicion that this functionality is only supported on NT, but the Microsoft docs around this area are ambiguous when it comes to compatibility. Thing is, I need this to work on as many platforms as possible as it's my 'last ditch' attempt at printing html headers on all pages printed from a browser control.
Can anyone shed some light on this?
Thanks,
Tim