Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: tricky question (was : IE watermark)


Message #1 by "Hung Le-Viet" <hung@b...> on Fri, 9 Aug 2002 10:38:14
You will need to add the full URL of the dialog page to the demo page and 
put the compiled control into a folder on the server and point the codebase 
attribute of object tag to this folder. It is not marked safe for scripting 
so you will probably have to lower security for the relevant zone to test 
it.
Joe



>From: "Hung Le-Viet" <hung@b...>
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] Re: tricky question (was : IE watermark)
>Date: Fri, 9 Aug 2002 10:38:14
>
>Hi,
>
>Joe,
>
>i am trying to implement that feature for an intranet application. Could
>you also please send me the file , please.
>
>Thnx
>
>Hung
>
> > 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
> > > > _________________________________
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


  Return to Index