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

Unable to print a pdf file from powerbuilder

$
0
0

Hello All,

 

I am trying to print a pdf file from the powerbuilder application.

 

I have created a global external function

FUNCTION long ShellExecute(long hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, integer nShowCmd ) LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteW"

 

calling this function in powerbuilder

shellexecute(handle(this) , "print","test.pdf", ls_null, ls_null, 1)

 

Any idea , Please share.


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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