Over the past week I've been researching how to create PDFs using the saveas function on a datawindow. My system is: Powerbuilder 12.5.2 Windows 7 32-bit
From what I've read, some kind of PDF printer is required to create PDFs (whether its GhostScript, Sybase DataWindow PS, or something else). It's been implied that the fonts of the default printer are used to save a datawindow as a pdf.
Is this true? Moreover, is this documented anywhere?
I've also noticed that whenever the topic of PDFs in powerbuilder comes up, the answer is almost always to install ghostscript. Is there a reason for this?
Ultimately, I'm looking for reasons that I can present to my coworkers as to the pros/cons of using Ghostscript vs. using the Sybase Datawindow PS, and some documentation (preferably sybase) to back it up.
Thanks for your help!
EDIT:
Alright, thanks for the answers guys.
I was able to get Powerbuilder to print to PDF only using the Sybase DataWindow PS printer using the Acrobat distiller, which was installed with my powerbuilder install.
When I sent out the application and the version to deployment machines I exported the printer to that machine, and the PDF files were generated fine.
From your responses, it sounds like ghostscript and adobe distiller are postscript drivers which can be used by the Sybase DataWindow PS printer to create and print pdf files.
I haven't tried GhostScript yet, but I'll see if I can give it a shot a little later.
EDIT 2: I installed GhostScript 9.14 and it worked with my installation. It gave the exact same results as the driver installed via powerbuilder 12.5.2.
Again, Thanks for your help!