Create PDF with bad format on ISAPI
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
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
This discussion has been closed.
Comments
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
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:
// FormatSettings.DecimalSeparator := ',';
// FormatSettings.ThousandSeparator := '.';
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