New Blog Post: PDF/A and Metadata

Create PDF with bad format on ISAPI

edited May 2016 in General
Hi,
I've reportbuilder enterprise 17.01 I use intraweb and when I create a
pdf file in stand alone application (.EXE) works fine, but the same
application built like isapi it creates a pdf file with bad format.
I've set printername = default and
PDFSettings.EmbedFontOptions.efAllFonts = True
but I've tried with other setting but the result is always the same
I've to install something on the web server?
Can you help me?
Thanks

Comments

  • edited May 2016
    Hi Stefano,

    Two main differences with a web app.

    - typically runs under a different windows user account, so make sure that
    user account has the required rights, drivers, resources

    - web apps are multi-threaded, each request is handled in a thread.

    Here is a simple example that shows how to use RB to generate a PDF in a web
    app.

    www.digital-metaphors.com/tips/WebBroker RBuilder PDF.zip



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2016
    Hi Nard
    after several hour I've found the problem and it is unbelievable
    if I remark
    FormatSettings.TimeSeparator := '.';
    FormatSettings.DecimalSeparator := ',';
    if works fine also in ISAPI
    so thanks for your answer

    Nard Moseley (Digital Metaphors) ha scritto:
  • edited May 2016
    Sorry the two lines are
    // FormatSettings.DecimalSeparator := ',';
    // FormatSettings.ThousandSeparator := '.';
  • edited May 2016
    Hi Stefano,

    When updating FormatSettings, also update RB's ppFormatSettings

    example:

    uses
    ppUtils;

    begin

    FormatSettings.DecimalSeparator := ',';
    FormatSettings.ThousandSeparator := '.';

    ppFormatSettings := FormatSettings;

    // or this..

    // ppFormatSettings.DecimalSeparator := ',';
    // ppFormatSettings.ThousandSeparator := '.';

    end;





    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.