Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

How to setup printer for oleobject?

$
0
0

I use ole object in pb 11.5 like:

 

OLEObject myoleobject

myoleobject = CREATE OLEObject

result = myoleobject.ConnectToNewObject( "word.application")

......

myoleobject.ActiveDocument.PrintOut

 

I have setup default printer on Windows XP, but the printing does not go to the default printer.

 

So before printout, I want to setup printer to print the doc. how to setup printer for oleobject?


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>