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

Print to file - dbCheckBox prints uncorrectly

edited September 2002 in Devices
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.

Comments

  • edited September 2002
    When you print to a text file, this isn't supported. The check box is a
    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

This discussion has been closed.