Print to file - dbCheckBox prints uncorrectly
I am using Delphi6, RB7 and ExtraDevices. When I run reports the priview
looks ok, and so does the printout.
But when I print to file the dbCheckBox gets messed up. The result is a kind
of cryptical sign instead of the checkbox itself.
This happens only when I print to file, no matter what kind of file I am
printing to, f.i. both the standard "TextFileWithReportLayout" and PDF-file
from ExtraDevices.
Please help!
Kind regards
TorB.
looks ok, and so does the printout.
But when I print to file the dbCheckBox gets messed up. The result is a kind
of cryptical sign instead of the checkbox itself.
This happens only when I print to file, no matter what kind of file I am
printing to, f.i. both the standard "TextFileWithReportLayout" and PDF-file
from ExtraDevices.
Please help!
Kind regards
TorB.
This discussion has been closed.
Comments
wingdings font. What you can do is create a dbText in the same position of
the checkbox in the layout. When you are printing to the screen or printer
(check Report.Printdialog.Devicetype before printing), you can set the
checkbox to be visible, otherwise, set it to not be visible and use a dbText
to show a boolean text value, such as 1 and 0 or the character X and empty
character. This should give you better results when printing to the text
file.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com