Link to home
Start Free TrialLog in
Avatar of Techno_sol

asked on

getting printers name with & crystal reports

I m using 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  web forms
Avatar of Mike McCracken
Mike McCracken

Was the report built with a default printer defined?

What error are you getting?

Avatar of Techno_sol


report is designed with no printer option
and the error is no default printer

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

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
The report will use the clients default printer if the one the report was built against is not available.

any other option to get the printers ?
any script?
Avatar of Mike McCracken
Mike McCracken

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial