Solved

getting printers name with ASP.net & crystal reports

Posted on 2007-03-19
7
700 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
  • 4
  • 3
7 Comments
 
LVL 100

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 100

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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 100

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 100

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
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.…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now