p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_forms thread: Automatically Print from ASP


Message #1 by dparkins@m... on Fri, 17 May 2002 22:01:48
Can anyone tell me how I could automatically print a crystal report from 
an asp page. I tried the javascript within my asp code below but I'm way 
off base cause it just prints the form on the web page and ignores what I 
have in parens:

{
      print ("example.rpt")
}

Any help is greatly appreciated.

Dave
Message #2 by "Drew, Ron" <RDrew@B...> on Fri, 17 May 2002 17:11:54 -0400
Try
http://support.crystaldecisions.com/fix/topdownloads.asp

-----Original Message-----
From: dparkins@m... [mailto:dparkins@m...]
Sent: Friday, May 17, 2002 6:02 PM
To: ASP Forms
Subject: [asp_forms] Automatically Print from ASP


Can anyone tell me how I could automatically print a crystal report from

an asp page. I tried the javascript within my asp code below but I'm way

off base cause it just prints the form on the web page and ignores what
I
have in parens:

{
      print ("example.rpt")
}

Any help is greatly appreciated.

Dave

---

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
Message #3 by Guy Counahan <gcounahan@m...> on Mon, 20 May 2002 09:17:57 +0100
Add this line to the header of the page in question.

<link rel=alternate media=print href="example.rpt">

All you have to do is call the doc name from a db or query string. Then use
your javascript.

Guy


-----Original Message-----
From: dparkins@m... [mailto:dparkins@m...]
Sent: 17 May 2002 23:02
To: ASP Forms
Subject: [asp_forms] Automatically Print from ASP


Can anyone tell me how I could automatically print a crystal report from 
an asp page. I tried the javascript within my asp code below but I'm way 
off base cause it just prints the form on the web page and ignores what I 
have in parens:

{
      print ("example.rpt")
}

Any help is greatly appreciated.

Dave

---

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

  Return to Index