Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

PrintToPrinter: A generic error occurred in GDI+ everytime

$
0
0

Hi,

 

We've deployed a windows .net application with Crystal Reports .net 2010, version 13.0.13.1597.

 

The application prints 3 crystal reports. 1 out of the three don't print on specific machines, which are Windows 7, 4GB, X64. There machines are brand new.

 

The error message thrown when trying to print (via the PrintToPrinter Method) is:

 

System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.    

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)   

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)    

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, Single x, Single y, StringFormat format)    

at CrystalDecisions.Shared.PageRender.draw_FieldObjectInstance(FieldObjectInstance fieldObject, Graphics g)

 

 

Please help!!

 

-F


Viewing all articles
Browse latest Browse all 3636

Trending Articles