1. Stefan Weding
  2. PowerBuilder
  3. Tuesday, 13 February 2024 15:50 PM UTC

Hi everyone,

I am currently using PowerBuilder 2021 (Build 1509) and we want to get rid of Ghostscript proceeding and force the use of NativePDF functions.

Is there a way to print two datawindow pages on one PDF page using NativePDF (or PDFBuilder in future version), meaning the emulation of "pages per sheet" function on a usual printer?

I did not find any obvious functions or properties to achieve this. If there is a way to do it, could you please give me a hint how it works? 

Thanks and best regards,

Stefan

Stefan Weding Accepted Answer Pending Moderation
  1. Wednesday, 14 February 2024 10:12 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

thanks for your reply! That would mean creating a new datawindow and including the same source data window twice in that new one, and then try to control what is printed where (something like "odd pages in the upper nested dw, even pages in the lower nested dw").

Is that the direction you thought of?

I would give it a try and check if this can produce the result I'm thinking of.

Thanks and Regards,

Stefan

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 14 February 2024 16:02 PM UTC
Yes, exactly. Then control the child DWO's in the Parent DWO by using expressions to Hide / Show as required. Food for thought. ;-)
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 13 February 2024 15:58 PM UTC
  2. PowerBuilder
  3. # 2

Hi Stefan;

  Have you thought about using either a Nested or Composite DWO to achieve this effect first?

  Then once rendering OK that way for printing (2 DW's perpage), then a NativePDF solution should be straight forward as the next step.

Food for thought.  HTH

Regards ... Chris

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.