Solved

getting printers name with ASP.net & crystal reports

Posted on 2007-03-19
7
708 Views
Last Modified: 2010-01-20
HI
I m using ASP.net 1.1 to print crystal report 9 everything is working fine to load but when i do
PrintToPrinter i get error for default printer well i found some solutions to give the printer name/path for the client side printing . what i want to know is there anyway to get the printer list/ name on the clients printer ?
Only in ASP.net  web forms
thanks
0
Comment
Question by:Techno_sol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 18748167
Was the report built with a default printer defined?

What error are you getting?

mlmcc
0
 
LVL 1

Author Comment

by:Techno_sol
ID: 18748394
report is designed with no printer option
and the error is no default printer



0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18748716
You need to design the report with a printer.  If there is no printer whenthe report is designed or you choose the no printer option then you cannot print.

Is there a printer default on your development machine?
If not install the printer you want to use (the priter doesn't have to exist).  Crystal needs the printer driver.

Open the report in the designerUncheck the NO PRINTER option
Select the printer you want to use

mlmcc
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 1

Author Comment

by:Techno_sol
ID: 18751208
I have done all these things but this will get the server printers whereas
i want the Only client printer name that can be passed to the code
Thanks
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 18751900
The report will use the clients default printer if the one the report was built against is not available.

mlmcc
0
 
LVL 1

Author Comment

by:Techno_sol
ID: 18752011
any other option to get the printers ?
any script?
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 250 total points
ID: 18753241
I don't know ASP well enoughto help there.

Have you go tthe reports printing yet?

mlmcc
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question