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

Adobe PDf Reader Print.

$
0
0

Dear All,

 

I use the OLE Adobe PDf Reader object with the loadfile function, which works fine.

However I want to add Print functionality via a button/menu.

 

ole_pdf.print() does not work.

 

I created an api call:

Private Function long ef_Pdf_Print( long hwnd,  string lpOperation,string lpFile, string lpParameters,  string lpDirectory,  integer nShowCmd  ) Library "shell32.dll" alias for "ShellExecuteW"

 

This works,however with the last parameter 0 it still opens Adobe which is not desired.

 

Is there another Print function available which prints the pdf file or ole object direclty?

 

 

Thanks in advance!

 

 

Best Regards,

Patrick posthuma


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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