Help about printing and presenting a page (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


DSA -> Help about printing and presenting a page (3/15/2001 20:37:00)

I know how to print a page and I would like to have the number of each page and title .....




Elecia -> RE: Help about printing and presenting a page (3/15/2001 20:19:00)

Well if you don't have the title and page number displayed all the time...You can make them visible in the window.onbeforeprint event and get rid of them in the window.onafterprint event.
EE




DSA -> RE: Help about printing and presenting a page (3/15/2001 20:45:00)

I'm not sure to understand, when you write "onbeforeprint event".. is it in your HTML page or in your webbrowser's options?




Elecia -> RE: Help about printing and presenting a page (3/15/2001 20:04:00)

In your asp page (if it's html you will need to change it to asp) you would enter code similar to this.........

<SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>
<!--

Sub window_onbeforeprint
document.writeln("This is the title of my page")
End Sub

-->
</SCRIPT>

EE





DSA -> RE: Help about printing and presenting a page (3/15/2001 20:15:00)

OK thank you,
Any tips for the number of the pages?

See you!





Elecia -> RE: Help about printing and presenting a page (3/15/2001 20:38:00)

If the page they are printing exceeds a single sheet of paper I've always found that the browser numbers the pages automatically.
Try it yourself and see. The page numbers appear in the upper right corner of mine.
E




DSA -> RE: Help about printing and presenting a page (3/15/2001 20:32:00)

Yes, I know how it works, it is in our web browser. In the menu 'Page Setup' (before printing) you have something like this "&b&b&d", but it depends on the setup of your browser. Mine was not configured, this is why I would like to include this stuff in my own page.
(I hope you undertand what I explain, i'm french so my english is not very great.




Elecia -> RE: Help about printing and presenting a page (3/16/2001 20:02:00)

I do understand what you want to do but...Sorry I honestly don't know how you would do that. Maybe somebody else reading this thread might have some ideas for you.
EE

[This message has been edited by Elecia (edited 03-16-2001).]





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125