Hi Joe,
I'm interested to your activex, can you send it to me? It will save me
a lot of try/mistakes.
Martin
> I wrote a small ActiveX in VB6 that takes a custom print template, it's
a
> bit rough and ready but works. I know Microsoft say don't do this but as
you
> I'm on an intranet so the security risk is lessened.
> You can have the code if you wish, I'll need to zip it up and send it to
> your email address.
>
> Joe
>
>
> >From: "Bocai Mihai Cristian" <mihai.bocai@r...>
> >Reply-To: "javascript" <javascript@p...>
> >To: "javascript" <javascript@p...>
> >Subject: [javascript] tricky question (was : IE watermark)
> >Date: Wed, 13 Feb 2002 21:39:47 +0200
> >
> >thank u for your response, was great!
> >
> >Now I've extended the problem and my question/scenario is:
> >I have a page in the browser (this page created dinamically using
ASP !!!).
> >I want to print this page, but I also want that the output to
be "paged";
> >basically I want to use some "page break things ?!?!", and to determine
> >where is the begining of a new page etc.
> >I've found on ms site this:
> >http://msdn.microsoft.com/library/default.asp?
url=/workshop/browser/hosting/
> >printpreview/reference/reference.asp
> >so we can define a "print template" (including header/footer) and load
the
> >html pages in that template, and everything is perfect...but the only
way
> >to
> >achieve that is by using C++ to reuse the browser control, and build an
> >application to treat this behaviour. Microsoft provides such a sample
> >application:
>
>http://msdn.microsoft.com/downloads/samples/internet/browser/PrintTemplate
s/
> >ReleaseMinDependency/printtemplates.exe
> >
> >Is there any one who tried to customize this application?
> >The scenario is: on the html page (dynamically created !!!) I have a
print
> >button which will invoke an exe (this sample application or something)
with
> >my own print template html page, and send my content to the printer in a
> >"friendly format".
> >How can I "route" my html/asp content to this exe?
> >
> >Any help will be appreciated!
> >----------
> >PS: another way of adding a header/footer is by using Print Preview in
> >IE ->Page Setup and for example add "&b&bSome nice text" in Header input
> >box.....but I don't think that we can customize the appereance of the
text,
> >eg: font-family=verdana or something.
> >
> >TIA
> >
> >"elin tjerngren. artopod" <elin@a...> wrote in message
> >news:145746@j...
> > >
> > > Hi,
> > >
> > > > How can I add a "text-watermark" to all the pages when printing
from
> >the
> > > > browser (IE 5.5) ? Is this posible?
> > >
> > > It has nothing to do with javascript - but you can use CSS. Make a
layer
> > > that is placed behind the content with your text or image and make it
> > > available (visible) only for printing purposes. I found this link:
> > > http://www.webreview.com/style/2000/01_07_00.shtml
> > > (One watermark per page should prove more difficult I guess)
> > >
> > > Regards,
> > > _________________________________
> > >
> > > elin tjerngren
> > > artopod
> > >
> > >
> > > http://www.artopod.com/
> > >
> > > tel +xx xxx xx xx xx
> > > _________________________________
> > >
> > >
> >
> >
> >
> >---
> >Change your mail options at http://p2p.wrox.com/manager.asp or
> >to unsubscribe send a blank email to $subst('Email.Unsub').
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>