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

Margin Problem

edited July 2003 in General
I seem to have the same problem that a lot of others in this forum have,
namely how to get a report to print to the bottom of a page. I have reports
that print a colored border 1/2 inch inside of each margin, all is well on
laser printers but on the several inkjets (HP and Epson) that I have tested
the bottom 5/8 inch will not print. I also have this problem when I print
postcards in landscape mode, then the right side of the cards (bottom
margin) will not print. I have tried all the suggested remedies put forth in
this forum but nothing works. Why can't we have uniform printing across all
print platforms?

Bob Parrish

Comments

  • edited July 2003
    Hi Bob,

    ReportBuilder uses the printer specific drivers to make report measurements
    and define each printer's unprintable area. Since each printer is
    mechanically different (ie. print resolution, unprintable area, etc), it
    would be impossible to have uniform printing for every printer. The reason
    you are unable to print within the bottom 5/8 inch is that this area lies
    inside the unprintable area for the printer you are using. You will
    probably find that you are unable to print inside this area using other
    programs such as MS Word or Publisher as well.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2003
    Nico,

    You are correct, however Word and Publisher both warn you that the margins
    are set outside the printable area before printing. Is that printdriver
    information available before printing. Also I have another question, how can
    the user save the report to an rtm file so that it is transportable for him.
    There is no savetofile/loadtofile method as far as I know. Thanks.


    --
    Bob Parrish

  • edited July 2003
    Hi Bob,

    At runtime you can use the following code to save a template to file:

    Report.Template.FileName := 'C:\MyReport.rtm';
    Report.Template.SaveToFile;

    And this code to load the template from file:

    Report.Template.FileName := 'C:\MyReport.rtm';
    Report.Template.LoadFromFile;

    Check out the ReportBuilder help for TppTemplate for more information on
    these properties and methods. Most of the Template properties can be
    accessed from the Object Inspector as well.

    It is also possible to save an rtm file directly from the Report Designer by
    selecting the File | Save As menu option.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2003
    Thanks Nico, that's what I needed.

    Bob
This discussion has been closed.