I have code in Power Builder 11.5 .
I have code for printing image as
ole_print.object.hDib = ole_1.object.hDib
ole_print.object.StartPrintDoc
a = ole_print.object.ScaleWidth - 1 - ole_print.object.LMargin
b = ole_print.object.ScaleHeight - 1 - ole_print.object.TMargin - ole_print.object.BMargin
ole_print.object.PrintDIB(ole_print.object.LMargin, ole_print.object.TMargin, a, b, 0, 0, 0, 0, True)
ole_print.object.EndPrintDoc
I am geet ing error 'Error accessing external object property endprintdoc at line 39 in timer'
any solution????
I have code for printing image as
ole_print.object.hDib = ole_1.object.hDib
ole_print.object.StartPrintDoc
a = ole_print.object.ScaleWidth - 1 - ole_print.object.LMargin
b = ole_print.object.ScaleHeight - 1 - ole_print.object.TMargin - ole_print.object.BMargin
ole_print.object.PrintDIB(ole_print.object.LMargin, ole_print.object.TMargin, a, b, 0, 0, 0, 0, True)
ole_print.object.EndPrintDoc
I am geet ing error 'Error accessing external object property endprintdoc at line 39 in timer'
any solution????