Solved

getting printers name with ASP.net & crystal reports

Posted on 2007-03-19
7
702 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calling web service and its methods dynamically 2 61
ASP.net VB.net Highlight html text in yellow in body of email 5 24
IIS redirect 1 71
Problem to refer to value 8 51
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.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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…

825 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