skambala
|
Barcode printing is failing intermittently with System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.error in windows 7
An attempt to print the barcode label is failing intermittently with the below error. Our code is developed using C#, Visual Studio 2010, and .Net framework is 4.0
IDAutomation version is 1.6.0.6
An error occurred while printing - System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Imaging.Metafile..ctor(IntPtr henhmetafile, Boolean deleteEmf)
at System.Windows.Forms.AxHost.GetPictureFromParams(Object pict, IntPtr handle, Int32 type, IntPtr paletteHandle, Int32 width, Int32 height)
at System.Windows.Forms.AxHost.GetPictureFromIPicture(Object picture)
at AMSR3STD0BarCodePrint.AMSR3BarCodePrint.Document_LayingTheStuffOut(Int32 int_CurrX, Int32 int_CurrY, Int32 int_CurrRow, DataRow[]& drows_Temp, String[] strarr_DummyText, PrintPageEventArgs& ev)
at AMSR3STD0BarCodePrint.AMSR3BarCodePrint.Document_PrintPage(Object sender, PrintPageEventArgs ev)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at AMSR3STD0BarCodePrint.AMSR3BarCodePrint.PrintBarCode(Int32 int_BarCodeId, ADMData obj_Parms, Int16 short_NumToPrint)
Operating System:
Windows 7
Application:
.Net 4.0 Visual C#
03-25-13 11.6 year(s) ago
Report Abuse
|