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

Help required

$
0
0

Hi ,

 

Could anyone please help on the below issue.

 

ole_1.insertfile("C:\test\CopyFile\IL 01 46 09 07.doc")

ole_1.activate(offsite!)

ole_1.Object.Application.Visible =false

ole_1.Object.Application.ActivePrinter = "Adobe PDF"

ole_1.Object.Application.ActiveDocument.PrintOut()

 

Above code converts word to pdf using acrobat 11 pro and connects to Adobe PDF printer.

 

Without specifying the destination file name(.pdf) , by default it is creating pdf file like (eg: Document_ole_1.pdf)

 

How to rename this pdf file name programatically ?

 

How to pass the pdf file name in above code?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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