Click here to Skip to main content
15,885,164 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Durring text receipt print sometimes occurred an exxeption but data is saved.
Exception message: "5A Generic error occurred in GDI+"

can you please help me anyone?
Posted
Comments
OriginalGriff 1-Jun-10 7:32am    
Was there any inner exception detail?
Donsw 2-Jun-10 22:48pm    
Reason for my vote of 2
need more info to get a clear answer

1 solution

Can you provide the lines of code where you get this error? Someone may be able to help you then.

Based on what you have posted here, all that can be suggested is that you could try searching on the internet for the error "5A Generic error occurred in GDI+". This might give you something.
 
Share this answer
 
Comments
mithun82 6-Jun-10 4:58am    
LINE of code
ev.Graphics.DrawString(line, printFont, myBrush, leftMargin, yPosition, New StringFormat())
Here ev = System.Drawing.Printing.PrintPageEventArgs

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900