1. mahmoud mahmoud
  2. PowerBuilder
  3. Monday, 14 November 2022 09:25 AM UTC

i want to save datawindow as pdf at program powerd by pb12.6

 
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 14 November 2022 16:02 PM UTC
  2. PowerBuilder
  3. # 1

Hi;

  Simply, just have a look at the SaveAs() command in the PB help. ;-)

Regards ... Chris 

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Monday, 14 November 2022 09:55 AM UTC
  2. PowerBuilder
  3. # 2

Hi.

You can do this by using ghostscript. I don't have a copy of PB 12.6 on this pc, but in help file there must be guidelines on how to do that. The minus of that option is that all settings that you will do on your developer pc to test that functionality should also be done in all clients pc running your application (including ghostscript installation).

Another way would be to use a distiller - printer driver on your pc. Most pc's (windows 10 - 11) do have a printer called "Microsoft Print to PDF". You could use this one or any other of your choice providing similar functionality. If you choose to use another driver then you will need to install it to all clients.

If you upgrade to a most recent version of powerbuilder you will get another option: NativePDF.

Andreas.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.