Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

web printing

edited August 2005 in General
I am using Delphi 6 and RB 9.02 Enterprise Edition

I have an CGI application which returns pdf stream of report to browser and
report is showen on web browser.

I have an problem with
Internal Application Error
Canvas does not allow drawing
and I solved it when I removed IUSR_ from "Log on as a batch job" in Local
Security Policy. That was on IIS 5.1

Now I moved my application to IIS6. And if I waint that app works I have to
install printer for IUSR_comp and share it. Why I have to do this and is
there any other way to make my app. work?

Comments

  • edited August 2005

    ReportBuilder uses the printer device context to perform calculations
    required for report generation.

    Internally ReportBuilder can create a virtual "Screen" printer that can be
    used instead of a printer driver. Our goal with the Screen printer is to
    enable reports to generate on a system that has no drivers installed. For RB
    9.02 we included some additional fixes for issues that were reported with
    this case. However, perhaps there are still a few places in the code that
    are requiring the printer context.

    Check the Help | About box and make sure that you are using RB 9.02. Try
    some simple tests. Test a report that contains only a single label - does
    that work properly? Configure the report.PrinterSetup.PrinterName to be
    Screen.


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2005
    I set PrinterName to Screen and there is no difference.

    If report contains
    -only ppShape it is showen correctly.
    -only ppImage with strech property to false ther is no errors.
    -only ppImage with strech property set to true and I shrink the image I get:
    Internal Application Error -> Access violation at address 0091904F. Write of
    address 0F922153
    If image property is set to true and I expand the image there is no errors.

    If report contains
    - only pplabel or ppDBText I get: Canvas does not allow drawing.
    - only ppMemo al works fine.
    -only ppRichText the report is showen correctly but te fon quality is poor.

    If report contains:
    - only ppDBText I get: Canvas does not allow drawing.
    - only ppDBMemo no errors.
    - only ppDBRichText no errors but font quality is poor.
    - only ppDBCalc i get: Canvas does not allow drawing.

    If report contains ppMemo or ppRichText or DBText or ppDBMemo and all other
    report elements (shape, label,...) the report is showen correctly.

    Now I am confused.?!??

  • edited August 2005
    Hello,

    There is a patch available that will fix the image issue. Please send an
    email to support@digital-metaphors.com requesting it and well get it to you
    asap. As far as the "Canvas does not allow drawing" error, I am unable to
    recreate that on my machine (even when removing all printers from it).
    Please be sure you have the latest version of ReportBuilder (9.02)
    installed.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.