Hi
Iam using the following code to print the report.
StiReport report = new StiReport();
report.Load(Server.MapPath("Report.mrt"));
report.Print(false);
It is not working in client PC but it is working in my PC.
What are the prerequistes for deploying the stimulsoft.
I have added the following references Stimulsoft.Base.dll, Stimulsoft.Report.dll , Stimulsoft.Report.Web.dll , Stimulsoft.Report.WebDesign.dll to the BIN folder.
I have not made any changes in the web.config.
Please provide the sample code for deploying the stimulsoft dlls.
I do not want to use stimulsoft report viewer for printing the report.
Kindly help me,this is very critical and urgent.
Thanks,
Abdul Aleem.
report.Print() problem
-
- Posts: 37
- Joined: Tue Sep 15, 2009 9:42 am
- Location: jeddah
report.Print() problem
Hello,
Please check the following topic in our knowledgebase:
http://stimulsoft.helpserve.com/index.p ... icleid=310
Please check the following topic in our knowledgebase:
http://stimulsoft.helpserve.com/index.p ... icleid=310
Thank you.It is impossible to print a report without a WebViewer on a page.
If you call the report.Print() method, then printing will be done on a printer that is connected to the server.
Printing to the client is possible only using the WebViewer.
You can implement it the following way: you need to put the WebViewer with the width and height of 1px on a page, and use its PrintToDirect(), PrintToPdf(), PrintToPopupWindow() methods.
-
- Posts: 37
- Joined: Tue Sep 15, 2009 9:42 am
- Location: jeddah
report.Print() problem
Hello,
When I try to print using PrintToDirect(), PrintToPopupWindow() of WebViewer the print is not proper as designed in the report.
PrintToPdf() method prints properly but it is insecure since I do not want the user to download the report.
when the PrintToPdf() is called the report opens in acrobat reader through which user can easily save the report.
Is there any possiblity to print using PrintToPdf() without allowing the user to save the report in pdf format.
This is very urgent and critical.
Thanks,
Abdul Aleem.
When I try to print using PrintToDirect(), PrintToPopupWindow() of WebViewer the print is not proper as designed in the report.
PrintToPdf() method prints properly but it is insecure since I do not want the user to download the report.
when the PrintToPdf() is called the report opens in acrobat reader through which user can easily save the report.
Is there any possiblity to print using PrintToPdf() without allowing the user to save the report in pdf format.
This is very urgent and critical.
Thanks,
Abdul Aleem.
report.Print() problem
Hello,
When I print a report using the Web Viewer, the size of the printed page is not the same as the size of the page in a report. How do I fix this?
Thank you.
Please try this solution:When I try to print using PrintToDirect(), PrintToPopupWindow() of WebViewer the print is not proper as designed in the report.
When I print a report using the Web Viewer, the size of the printed page is not the same as the size of the page in a report. How do I fix this?
Unfortunately, Adobe Acrobat Reader has no way to hide the save file option.Is there any possiblity to print using PrintToPdf() without allowing the user to save the report in pdf format.
Thank you.