1. Roland Mühlberger
  2. PowerBuilder
  3. Monday, 1 July 2019 09:15 AM UTC

Can anyone give some details about when the missing functionality for setting margins when using NativePdf is being implemented in PB? There are numerous Bug issues about this, and there one can read:

"Currently NativePDF doesn’t support margin function." And then: "We'll transfer it to our product team for consideration."

I would definitely categorize the issue as an error and not as an enhancement. Unfortunately even the page that shows planned enhancements in future PB releases seems to be removed from the Appeon homepage, so there is no way to check...

Can anybody shed some light on this? Thanks.

Mitsunori Ishikawa Accepted Answer Pending Moderation
  1. Thursday, 1 June 2023 03:38 AM UTC
  2. PowerBuilder
  3. # 1

I also ran into the same issue.
Setting the printer for PDF now recognizes the margins as shown below.

PrintSetPrinter("Microsoft Print to PDF")
dw_1.saveAs("test.pdf",PDF!,true)

Thank you

Comment
There are no comments made yet.
Markus Eckert Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 14:58 PM UTC
  2. PowerBuilder
  3. # 2

After a quick test, it seems like PB2019 R2 still hasn't fixed this issue.

Does anyone know if there's some kind of workaround?

As long as the output isn't aligned correctly with the page, NativePDF is completely unusable for us :(

Regards,
Markus

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 29 April 2020 18:59 PM UTC
Hi Markus;

FYI: Same issue as well for the RTE Control in 2019/2019R2

I believe that using DISTILL! instead (aka Ghostscript) will allow margins to work for DWO & RTE => PDF.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Dietmar Fuchs Accepted Answer Pending Moderation
  1. Thursday, 30 January 2020 13:50 PM UTC
  2. PowerBuilder
  3. # 3

Hi,

I also miss the functionality that the Native PDF Export ignores the print margings of the datawindow. So this good new function is not useable for important exports of reports. Will this issue be fixes in one of the next MR's?

 

Thanks

Dietmar

Comment
There are no comments made yet.
John Niespodzianski Accepted Answer Pending Moderation
  1. Friday, 20 September 2019 14:38 PM UTC
  2. PowerBuilder
  3. # 4

It appears we're encountering this same issue.  I went back two years through the Q&A and couldn't find this referenced anywhere else. 

We're using PB 2017 R3, Build 1858.  When using NativePDF the margins are ignored - the PDF data starts at the upper left corner (no top or left margin "white space").

As part of the troubleshooting, we rolled back our PB 2017 runtime to R2.  With the R2 runtime, the margins are honored and the PDF is generated correctly.

We also tried R3 Build 1880 but saw the same behavior as R3 Build 1858.

Before doing a migration to PB 2019 to see if it makes a difference - is this a known bug, and if so does anyone know if it was addressed in 2019?

Thanks,

John

Comment
  1. Chris Pollach @Appeon
  2. Friday, 20 September 2019 16:15 PM UTC
Hi John;

PB209 has not addressed this known issue yet ... fixes listed below, as follows:

PB2019: https://www.appeon.com/support/documents/appeon_online_help/pb2019/release_bulletin_for_pb/bug_fixes.html

PB2019MR: https://file.appeon.com/download/APB/2019/MR/build_2151.00/unix/2019_2151_00_to_2019_1988_00_fixes_en.htm

Seems to be related to ticket numbers #2318 & 2083.

Regards ... Chris

  1. Helpful
There are no comments made yet.
Roland Mühlberger Accepted Answer Pending Moderation
  1. Wednesday, 3 July 2019 06:24 AM UTC
  2. PowerBuilder
  3. # 5

Hi Chris,

yes, the print.margin.x properties of the DataWindow. They are not considered when printing using the nativePdf method.

Regards,

Roland

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 3 July 2019 16:12 PM UTC
Hi Roland;

If you have a small reproducible test case PB App ... I would like to suggest that you open a Support Ticket (https://www.appeon.com/standardsupport) on this issue.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 2 July 2019 16:03 PM UTC
  2. PowerBuilder
  3. # 6

Hi Roland;

  Do you mean the Margin "properties"?

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.