使用powerbuilder 10.5 / Ghostscript打印PDF

时间:2013-10-26 08:46:59

标签: ghostscript powerbuilder

任何人都可以告诉我如何使用ghostscript使用powerbuilder 10.5打印文件

我需要添加哪些文件。我需要使用什么版本的ghostscript。 vista / xp / win 7的不同版本。

1 个答案:

答案 0 :(得分:0)

假设您正在寻找的是通过datawindow的SaveAs命令打印到PDF ...

ll_rc = dw_report.saveas(ls_filename, PDF!, false)

...您需要在两个位置安装(可用)Ghostscript:

  • C:\ Program Files(x86)\ Sybase \ gs
  • C:\ Program Files(x86)\ Sybase \ Shared \ PowerBuilder \ gs

第二个文件夹用于PowerBuilder IDE。

我正在使用Ghostscript版本8.7.1。它在Win XP和Win 7环境中与PowerBuilder 11/12 / 12.5一起使用时效果很好。 不确定PB10.5和更新的GS版本。较旧的Ghostscripts可以在这里找到:

http://downloads.ghostscript.com/public/

希望这有帮助。

相关问题