Hello, I have a problem with the PrintAsPDF function of the WebBrowser object in version 2022.
I am passing it a url where a PDF is hosted and then making the PrintAsPDF and saving it in a
local directory, but as long as the format of the hosted file is .PDF, I have a pop-up window
where it tells me to choose the printer and the directory, but that it should directly save
the file in the path that I am passing to the function. This problem started in the version
of power builder 2022, previously it worked OK. Someone help me please.
Thank you!
The code is something like this, quite simple:
wb_docs_adj.navigate(as_url)-- valid URL
ls_pdfpath = (ls_path) --valid path
li_rtn = wb_docs_adj.PrintAsPDF(ls_pdfpath)
this is the pop-up