TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
deepa ashwi
NA
109
602.9k
'no printers installed ' error in my web application
Jul 20 2013 6:19 AM
c# asp.net ---'no printers installed ' error in my web application on clicking print option in crystal report..when running on my server working fine but after publishing to website not functioning in client machine..and no printers are installed in client machine how to code to set a default printer in client machine..
following is my c# code:
protected void print_Click1(object sender, EventArgs e)
{
oReport1.Load(Server.MapPath("~/Report/PaySalaryMonthWise.rpt"));
connection.DoCRLogin(oReport1);
CrystalReportViewer1.ReportSource = oReport1;
CrystalReportViewer1.DataBind();
oReport1.PrintToPrinter(1, false, 0, 0);
}
Reply
Answers (
1
)
how to maintain current session id in chat application
encrypting and decrypting cookies asp.net