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

Long printer name and report builder 7.04 - exception generated.

edited August 2007 in General
I'm using Delphi 5 and Report Builder 7.04

Is there a planned fix for this problem I've seen discussed elsewhere in the
forum?
("the AV caused by a printer name greater than 80 characters long has been
fixedhe AV caused by a printer name greater than 80 characters long has been
fixed")

I'm assuming 7.04 is the latest version for Delphi 5.

Comments

  • edited August 2007
    Hi,

    For future reference, please use your real name when posting to these
    newsgroups.

    This issue has been fixed for ReportBuilder 10.04 or later.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    Thanks for the swift response.
    Sorry in paranoia about spam I forgot my personal details.

    Am I correct that Delphi 5 is only supported up to 7.04?

    John Chapman


  • edited August 2007
    Hi John,


    No problem, we would just like you to use your real name in the "From" field
    of the post (rather than "tempchapmj"). Other than that, there is no need
    to make your email address available if you are worried about spammers.


    Yes, Delphi 5 was only supported until RB 7.04. You would need to upgrade
    your version of Delphi to use the latest version of ReportBuilder.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    Thanks for the confirmation.

    I've checked on our site and we have 30 printers with long names (most are
    shared printers).

    We also have Version 10.04 of Report Builder
    but we cannot upgrade from Delphi 5 in the near future.

    Is there anyway to change the source code to cope with this problem?

    We might be interested in a chargeable fix if it was less than, say $300.







    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2007
    Hi John,

    Take a look at the variable declairation of the TppPrinterInfo.GetDevNames
    routine inside the ppPrintr.pas file. If you compare the two versions
    (10.04 and 7.04) you will see the change made.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    Changing
    from liBufferSize := 81;
    to
    liBufferSize := 1024;

    Seems to have fixed the problem.

    Thanks Nico.

    That has save us several hours of PC printer work!


    Hi John,
    TppPrinterInfo.GetDevNames
This discussion has been closed.