Long printer name and report builder 7.04 - exception generated.
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.
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.
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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