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

ppRichText Component doesn't export

edited August 2001 in General
In previous posting I've demonstrated problems with the ppRichText component
and with the help of Jim Bennett and others I've worked through them.

But the problems have not gone away. When I set the
DeviceType for the Report to dtReportTextFile the contents of the RichText
component doesn't export!!!!!.

Comments

  • edited August 2001
    It isn't currently supported when printing to a text file device. We've
    added support for memos, but not rich text, yet. It is on the todo list.
    You'll need to copy your report and create one which is specifically
    designed to print to the text device. Instead of using a richtext control,
    use a memo. One customer has reported:

    Set TppReport.PrinterSetup.PrinterName to "Screen". At that point you can
    choose the "Courier" screen font (you may have to exit Delphi and get back
    in before it shows up). Set all of your text to Courier (screen font) 12
    point and everything seems to work just peachy, at least from what I've been
    able to tell.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    My "workaround" was to add a ppMemo component to the report. When the user
    elects to print, the ppRichText is made visible. When the user electds to
    export, the ppMemo is made visible.


This discussion has been closed.