cancel
Showing results for 
Search instead for 
Did you mean: 

No Printer Installed error

former_member936404
Discoverer
0 Kudos

I am using crystal 13.0.0.99 run time for printing reports in a daily running job in 64 bit machine. I am getting the below error when running the application for the first time. But if I restart the job immedialtely, It got success. The printer name is saved in the report template and also the printer is installed in the machine. Same kind of reports using the same printer succesfully running in 32 bit machine.

Error Info:-

No printers are installed. at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)

at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings pageSettings)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.CopyTo(PrinterSettings printer, PageSettings page)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)

Cam some one help me to identify the root cause of this issue?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

That error is a Windows error, you may want to ask them for help.

You are using the original release of CR for VS, we are no up to SP 24, go here and download the latest and then test again.

Lots of updates since the original release.

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Please read all of the info for SP 21, very important update to the dependencies.

There is also a printer test app for testing reports with saved data on that page.

Don

DellSC
Active Contributor
0 Kudos

Are you explicitly setting the printer in your code or are you just working from the defaults?

Also, please go to Control Panel >> Programs and Features and let use know which SP of the runtime you have installed.

-Dell