Printer effecting dynamically sized control
Hi,
With RB 10.4 and Delphi 7 we have found some printers seem to cause the
canvas area of a DBText control (for example) to not scale properly when
dynamically sized. Text is truncated or not visible but the control always
sizes correctly. If I change the font one size smaller, everything looks
good.
Example:
If the report data is too long for the display (column) we set the
wordwrap property to true and increase the height of display object and band
until the data is completely visible. With some printers (HP 2000C for
example) the text of the data is only partly visible in the first row of a
two row sized control (verified by setting the control's color property).
Any ideas?
Thanks,
Jim
With RB 10.4 and Delphi 7 we have found some printers seem to cause the
canvas area of a DBText control (for example) to not scale properly when
dynamically sized. Text is truncated or not visible but the control always
sizes correctly. If I change the font one size smaller, everything looks
good.
Example:
If the report data is too long for the display (column) we set the
wordwrap property to true and increase the height of display object and band
until the data is completely visible. With some printers (HP 2000C for
example) the text of the data is only partly visible in the first row of a
two row sized control (verified by setting the control's color property).
Any ideas?
Thanks,
Jim
This discussion has been closed.
Comments
We have not seen this behavior before. ReportBuilder does not communicate
with the printer directly. It uses standard Windows API commands which are
interpreted by the printer driver which then prints the report. It is up to
the printer driver to properly execute these API commands. The fact that
this only happens on some printers leads me to believe that this is a
printer driver issue.
1. Be sure you are using the latest version of the printer driver for the
printer you are using.
2. Try changing the width of the control(s) in question or perhaps try
using a DBMemo rather than a DBText.
3. As always, update your version of ReportBuilder to the latest release
(10.07).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com