Board index » delphi » TWebBrowser print but without Page x of x etc

TWebBrowser print but without Page x of x etc

Hi All,

I'm looking to use a TWebBrowser as a print engine for a bunch of
dynamically generated documents (from an intranet server).

When TWebBrowser print (and IE) it put the document title in the upper left
of the page, and a 'page x of x' in the upper right, as well as stuff at the
base.

Any one know how to stop it doing that ??

Greg.

 

Re:TWebBrowser print but without Page x of x etc


Errr .... is it not possible ??  The silence .... I can't bear it !!!
Arrrgghhh !

Quote
"Greg McCreath" <gmccre...@unicorninterglobal.com> wrote in message

news:3b150afc$2_1@dnews...
Quote
> Hi All,

> I'm looking to use a TWebBrowser as a print engine for a bunch of
> dynamically generated documents (from an intranet server).

> When TWebBrowser print (and IE) it put the document title in the upper
left
> of the page, and a 'page x of x' in the upper right, as well as stuff at
the
> base.

> Any one know how to stop it doing that ??

> Greg.

Re:TWebBrowser print but without Page x of x etc


Try asking on the MS forums.

--
have fun
Binh Ly
www.techvanguards.com

Quote
"Greg McCreath" <g...@oqoqo.com> wrote in message news:3b168f4a_1@dnews...

> Errr .... is it not possible ??  The silence .... I can't bear it !!!
> Arrrgghhh !

Re:TWebBrowser print but without Page x of x etc


Use Registry Key - HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\PageSetup
Empty the values of "header" and "footer"
Don't forget to save the previous values and restore them after printing.

--
Igor Tsvetkov
HPS Advanced Data Systems
ISRAEL

Quote
"Greg McCreath" <g...@oqoqo.com> wrote in message news:3b168f4a_1@dnews...

> Errr .... is it not possible ??  The silence .... I can't bear it !!!
> Arrrgghhh !

> "Greg McCreath" <gmccre...@unicorninterglobal.com> wrote in message
> news:3b150afc$2_1@dnews...
> > Hi All,

> > I'm looking to use a TWebBrowser as a print engine for a bunch of
> > dynamically generated documents (from an intranet server).

> > When TWebBrowser print (and IE) it put the document title in the upper
> left
> > of the page, and a 'page x of x' in the upper right, as well as stuff at
> the
> > base.

> > Any one know how to stop it doing that ??

> > Greg.

Re:TWebBrowser print but without Page x of x etc


Fantastic !

Thanks Igor. You're a genius.  One virtual beer to you !

Thanks again.

Greg.

Quote
"Igor Tsvetkov" <hps...@inter.net.il> wrote in message

news:3b19dcf9_2@dnews...
Quote
> Use Registry Key - HKEY_CURRENT_USER\Software\Microsoft\Internet
> Explorer\PageSetup
> Empty the values of "header" and "footer"
> Don't forget to save the previous values and restore them after printing.

> --
> Igor Tsvetkov
> HPS Advanced Data Systems
> ISRAEL

> "Greg McCreath" <g...@oqoqo.com> wrote in message news:3b168f4a_1@dnews...

> > Errr .... is it not possible ??  The silence .... I can't bear it !!!
> > Arrrgghhh !

> > "Greg McCreath" <gmccre...@unicorninterglobal.com> wrote in message
> > news:3b150afc$2_1@dnews...
> > > Hi All,

> > > I'm looking to use a TWebBrowser as a print engine for a bunch of
> > > dynamically generated documents (from an intranet server).

> > > When TWebBrowser print (and IE) it put the document title in the upper
> > left
> > > of the page, and a 'page x of x' in the upper right, as well as stuff
at
> > the
> > > base.

> > > Any one know how to stop it doing that ??

> > > Greg.

Other Threads