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

digitalmetaphors

About

Username
digitalmetaphors
Joined
Visits
51
Last Active
Roles
Administrator

Comments

  • If it prints ok from Word, it means that the font is installed and it is
    there to be used for printing. I also have the Letter Gothic font installed
    as a printer font from an HP Laserjet 5 printer as my default printer. I see
    the Lett…
  • Is the font installed for that printer? Can you print some test text using
    Delphi's TPrinter object using the Letter Gothic font?


    uses
    Printers;

    procedure TForm1.Button1Click(Sender: TObject);
    begin
  • You can download a trial edition of RB 7 if you want to see demo #155 and
    how it works. Alternatively, you could load the archives from the database
    and stream them back into a file and use the file based ArchiveReader, if
    your compan…
  • We don't have a DBArchiveDevice yet. However, there is a DBArchiveReader
    component in RB 7. Run the main reports demo #155 for an example of
    transferring your current archive files to a simple paradox database and
    then use the DBArch…
  • Yes, set Subreport.ParentPrinterSetup to false. Then use the printer setup
    of the subreport to configure the printer that the subreport should print
    to.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Yes, that is what will happen. What you need to do is conditionally register
    and unregister the plugin for each report. Move the registration call from
    your initialization section of your plugin to a new place. Do you know the
    name of…
  • Yes, we did change the architecture and need to update the Developer's
    Guide. However, the old approach still works where you can replace the
    preview form. Take a look in the installed
    RBuilder\Tutorials\Complete\II.Applications\01.Re…
  • Please do not crosspost.

    This is being handled via the Devices newsgroup.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • Typecast the Printer property of the print dialog as a TppPrinter object.
    Then you can access the configured printer object. Look in ppProd.pas for an
    example of how we use the print dialog after the dialog has been shown.
    Start in th…
  • Send an email to support@digital-metaphors.com for a patch to correct this
    issue. In the future, please do not post attachments to the newsgroup, per
    newsgroup guidelines. Send all attachments to support@digital-metaphors.com

    <…
  • What version of RB are you using? You are using Delphi 4, which means you
    have RB 6.03 or prior. If you aren't running RB 6.03, then download the
    trial of RB 6.03 from our website and see if the problem goes away.


    Cheers,<…
  • Redownload RB 7.02 from our website. We made a fix to the packages today
    that should cure the U730 problem and will allow you to build 3rd party
    packages for RB.


    Cheers,

    Jim Bennett
    Digital Metaphors
    <…
  • We haven't researched it to evaluate the different options to accomplish
    this technically. If you have a suggestion for an approach then feel free to
    send a simple example or your ideas to support@digital-metaphors.com


    Che…
  • Using the Report Server Edition 7.02 and the new Custom Parameters feature,
    it should be possible to create a drill down behavior where the client
    report can send parameters back to the server so that the report on the
    server can rege…
  • We are not aware of a PCL device. If you are very familiar with the PCL
    format, then you could create your own report device class. Our device
    architecture is open. Please take a look at the text file device in the
    RBuilder\Source\ppF…
  • Set the region's KeepTogether property to true. This way if the richtext
    can't fit on the page, but the labels do fit, then the region will move to
    position that all of the labels and richtext generate onto the next page.
    They will ap…
  • Once the report is output to a PDFfile, then leverage Delphi technology to
    send the email. Take a look at the Indy components. If you don't have Indy,
    then surf Torry's Delphi pages for an alternative 3rd party component.


  • Thanks for pointing this out, perhaps other customers can use this technique
    to get it working.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • The Infopower control is a TCustomRichEdit descendent so there isn't much
    code to get that working. The only other code which is a wrapper for a non
    TCustomRichEdit descendent is the WPTools rich text wrapper for RB. The
    WPTools wrapp…
  • Now try streaming the rich text from the TRichEdit to a TppRichText to see
    if that works (without embedded images of course). I posted this article in
    my first response on this thread. "Tech Tip: Copy RTF data from TRichEd to
    TppRichT…
  • The first thing to attempt to get working is to try to use a Delphi
    TRichEdit on a form to display rtf that is created with a TrxRichEdit. If it
    doesn't work in a simple form based test for your rtf, then you'll have to
    create a wrapp…
  • Yes, any replacement needs to be a TCustomRichEdit descendent. You will have
    to write an adapter class to get the TRx rich text to be used in RB, which
    expects a TCustomRichEdit interface. RB tries to use the latter version of
    the Ric…
  • If you have an rtf file, then make a call to load the rtf from file from our
    component. Otherwise, if it is a runtime rtf from a control, then sream the
    rich text to our TppRichText control. Here is an example of doing this with
    a TR…
  • You're right, each printer has a different unprintable area (actual
    margins). There is no built-in method to scale the report, though it is
    possible to scale the output. You can scale the draw commands on the page on
    the output side. …
  • Yes, it should be compatible, especially if each version of Delphi has the
    same version of RB installed. It sounds as if the archive is corrupt. Can
    you open the archive in RB 7.02 inthe version of Delphi it was created with?
    Can you …
  • Unregister the devices before the print dialog is shown. This removes the
    archive device for example. The other device classes are TppTextFileDevice
    and TppReportTextFileDevice.

    uses
    ppDevice, ppFilDev;

    procedu…
  • Is this for a receipt printer? Check out this demo which creates a single
    page report by calculating the height of the report in memory before it is
    printed.

    in Problem with printing on Endless Paper Comment by digitalmetaphors April 2003
  • Options:

    1. You should use a TppLine and use its Shift* and Stretch* properties to
    have it draw correctly. Does it not work for your case?

    2. Place them all in a region. The region will draw a line around them and
    can…
  • RB doesn't support a form feed explicitly, because the report engine needs
    to know that it shouldn't print anymore on the current page. If you want to
    end the page as the report is generating, then use a group in the report and
    code t…
  • In this case, it is up to the printer driver to determine if the text should
    or should not render when it detects that a shape more to the front in the
    ZOrder, overwriting it. You'll have to use code, either RAP or Delphi code
    to man…