I'm using PowerBuilder 12.5 nd installed ghostscript 9.19 version then I configured Sybase DataWindow PS printer using ghostscript driver.
- I checked the registry it was pointing to the ghostscript DLL,bin and lib folders.
- In datawindow painter window selected the PDF data export type,distill method and check the PostScript custom check box.
- When I click save rows as in painter it is creating the PDF file with rows and also if I use
dw_1.print
the file was created in print manager without any issue. - But problem is when I use
DW_1.saves("custom.pdf",PDF!,true)
it is saving 0 bytes file in the file manger directory. Any suggestions?
I want save the datawindow in PDF format and it should be opened automatically because I don't want to go to print manager to print the file when I use print function.