Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: can i print 4 pages


Message #1 by "taherm@f... on Thu, 28 Mar 2002 16:43:28
hi
scenario:

i have 4 html pages

ie 1.htm,2.htm,3.htm and 4.htm

i have print button on 1.htm ..on clicking theprint button on 1.htm i wnat 
1.htm,2.htm,3.htm and 4.htm to be printed.. can this be done...

please help me

thansk
Message #2 by "Drew, Ron" <RDrew@B...> on Thu, 28 Mar 2002 13:55:11 -0500
Not to my knowledge...but maybe if all of the windows are open 1-4 you
can write a javascript to do it by using the opener.document method and
just next the prints...below is an example of printing just one
page...have not tried the opener....

<SCRIPT LANGUAGE=3D"JavaScript">
<!-- Begin
if (window.print) {
document.write('<form>Press to '
+ '<input type=3Dbutton name=3Dprint value=3D"Print" '
+ 'onClick=3D"javascript:window.print()"> this page!</form>');
}
// End -->
</SCRIPT>

-----Original Message-----
From: taherm@f...
[mailto:taherm@f...]
Sent: Thursday, March 28, 2002 11:43 AM
To: ASP Web HowTo
Subject: [asp_web_howto] can i print 4 pages


hi
scenario:

i have 4 html pages

ie 1.htm,2.htm,3.htm and 4.htm

i have print button on 1.htm ..on clicking theprint button on 1.htm i
wnat
1.htm,2.htm,3.htm and 4.htm to be printed.. can this be done...

please help me

thansk

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20

  Return to Index