Powerbuilder allow developer to code in the application for datawindow export/save to PDF file by using "Sybase Datawindow PS", PrimoPDF (Third Party Tool) and ActiveX.
Today, I just to explain how to install the Syabse DataWindow PS for save Datawindow into PDF file.
You can install the Sybase Datawindow PS as printer at Windows XP machine through the command below:-
Change into the Sybase\Shared\PowerBuilder\drivers directory:
rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
/q is quite mode. Of you plan to see what does this commandline do. Remove the /q in this command.
However, this command line was not working for Windows Vista machine. So, you can use the command below to install it.
rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ghostpdf.inf /b "Sybase DataWindow PS" /m "Ghostscript PDF" /r "FILE:"
没有评论:
发表评论