Solved

getting printers name with ASP.net & crystal reports

Posted on 2007-03-19
7
704 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 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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