Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Report From ASP Using cpeaut32.dll

Status
Not open for further replies.

Pandu

Programmer
Nov 30, 2000
3
EU
I am not able to print crystal reports from ASP using the following code(The same works in VB).Can you help me.
<%
Dim objapp
Dim objrep
Dim objprintinfo
Set objapp = CreateObject(&quot;crystal.crpe.application&quot;)
Set objrep =objapp.openreport(&quot;C:\Program Files\Seagate Software\Crystal Reports\rt01.rpt&quot;)
Set objprintinfo=objrep.printerinfo
response.write &quot;Port&quot; & objprintinfo.portname
response.write &quot;Driver Name&quot; & objprintinfo.drivername
response.write &quot;PrinterName&quot; & objprintinfo.printername
response.write &quot;okay&quot;
objrep.printout False, , , 1,1
%>
 
Pandu,

I am trying to use Crystal reports from ASP pages. I have installed ActiveXView from Seagate crystal reports.

However, in the ActiveXViewer.cab file has sviewhlp.dll.file which I guess is nothing but a help file for crviewer.dll . How to invoke this help file and see the help. Could you kindly let me know .

Thank you
vyas
 
Thnx a lot
This code has helped me to some extend
i used it to disable parameter prompting in vb

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top