I have a Powerbuilder function called "uf_excel_datawindow" which takes a pb datawindow and saves it as an excel file.
In the function, I use the amyuni control. First I create the Powerprinter object, then I init the printer, then I run a few of the amyuni commands (setresolution, setconfig, etc.) and then I run PDF2EXCEL. After running pdf2excel, the amyuni object is destroyed and the printer disappears.
If I run it once, I get an excel file - NO PROBLEM. The first run is fine.
If I run it again, I get an error calling pdf2excel.
Weird thing is that I don't get an error when I call setresolution or setconfig or whatever.
Any ideas?
Swati Agterberg