Rajeshk_cgm
asked on
Unable to Print Crystal Report Document in Client Browser
Hi.. i m using Crystal Report Document in asp.net ... when i try to to print the Report in Application server it is working perfectly.. But unable to print on executing the same through IIS in any other client machine... Hope u may understand the issue.. pls help me , thanks in advance...
ASKER
no, the client may or may not have the default printer.,
but my problem when the application runs on client machine, the printing option is not working,
but my problem when the application runs on client machine, the printing option is not working,
If there is no default printer specified then you can't print.
How are you running the report?
Is this a single report with the issue or all reports?
How are you trying to print?
mlmcc
How are you running the report?
Is this a single report with the issue or all reports?
How are you trying to print?
mlmcc
ASKER
hi.. mlmcc.,
Please Check it out my Coding., what i didnt wrong.. its working fine in server side, but nothing happens in client side
reptdoc = new ReportDocument();
string strPath = Server.MapPath("~/Reports/ Requisitio nListDetai lsRpt.rpt" );
reptdoc.Load(strPath);
objDAOReqApproval.ActionTy pe = "SEARCH";
objDAOReqApproval.Requisit ion_ID = hdnRequisitionID.Value;
objBLLReqApproval.ViewRequ isitionLis tReport(ob jDAOReqApp roval);
reptdoc.SetDataSource(objD AOReqAppro val.Requis itionData. Tables[0]) ;
crRequisitionListDetailsRe port.Repor tSource = reptdoc;
crRequisitionListDetailsRe port.DataB ind();
reptdoc.PrintToPrinter(1, false, 0, 0);
Please Check it out my Coding., what i didnt wrong.. its working fine in server side, but nothing happens in client side
reptdoc = new ReportDocument();
string strPath = Server.MapPath("~/Reports/
reptdoc.Load(strPath);
objDAOReqApproval.ActionTy
objDAOReqApproval.Requisit
objBLLReqApproval.ViewRequ
reptdoc.SetDataSource(objD
crRequisitionListDetailsRe
crRequisitionListDetailsRe
reptdoc.PrintToPrinter(1, false, 0, 0);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does the server have a default printer?
Are you previewing then printing?
mlmcc