Access 'Error accessing external object property endprintdoc

Joined
Aug 30, 2012
Messages
1
Reaction score
0
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????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top