fbpx
Welcome, Guest
Username: Password: Remember me
This forum is the place to discuss issues related to ReportPro, Xs2Ado, Vo2Ado, bBrowser and other 3rd party products
  • Page:
  • 1

TOPIC:

ReportPro3 PDF Export 04 May 2021 10:27 #18293

  • HeikoP's Avatar

  • HeikoP

  • Topic Author


  • Posts: 35
  • Hello,

    we found out, that exporting in a PDF creates a different size of the report compared to the result from an external PDF printer driver like Microsoft PDf or PDF24. It seems that the height is the same, but the width is a little smaller and the offset is moved to the left.

    So if you would reprint the document from a saved pdf, it shows a different result than that what is printed directly to the printer. Does anonybody have similar problems or knows how to fix it?

    TIA

    Heiko

    Please Log in or Create an account to join the conversation.

    ReportPro3 PDF Export 04 May 2021 12:41 #18295

  • ic2's Avatar

  • ic2


  • Posts: 937
  • Hello Heiko,

    I wondered if the PDF's from Microsoft PDF and PDF24 are exactly the same?

    What I remember from earlier PDF "sessions" is that every PDF creator shows some differences, also in how it looks.

    Dick

    Please Log in or Create an account to join the conversation.

    ReportPro3 PDF Export 04 May 2021 15:14 #18301

  • robert's Avatar

  • robert


  • Posts: 2174
  • Heiko,
    RP3 uses WPDF for PDF output. This code was created by Filip Fransen.
    The page size is passed as an integer.
    I suspect the different page size is the result of incorrect rounding.
    Maybe we need to change the resolution ?

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    ReportPro3 PDF Export 04 May 2021 15:56 #18304

  • HeikoP's Avatar

  • HeikoP

  • Topic Author


  • Posts: 35
  • Hello Dick,

    Microsoft PDF and PDF24 both looks good. There are no visible differences in the reports i have testet. Binary they are of course not the same.

    Heiko

    Please Log in or Create an account to join the conversation.

    ReportPro3 PDF Export 04 May 2021 16:00 #18305

  • HeikoP's Avatar

  • HeikoP

  • Topic Author


  • Posts: 35
  • Robert,

    that could be.

    If also found this line of code:
    DEFINE WPPDF_NoOffsetEMF := 32 // Activates an experimental switch which can help to remove unwanted X a,d Y offsets
    I will try this setting (as an integer 1) as an initialize. And report what happens.

    Heiko

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1