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

Saving printer settings with Report

edited March 2003 in General
Hello.
I'm using Report Builder 6.02 enterprise with Delphi 5, and I have the next
problem:

I use reports loaded from a database field. When I design the report model,
I specify the paper size and printer settings I want for that report. But
when I print without showing the select printer dialog, the changes I made
to the printer settings get lost and It prints with the default values
(letter paper size, etc). When I print showing the printer dialog, I change
the paper size and other settings, and the report gets printed just the way
I wanted.
What could be the problem? Why is the report not saving the printer settings
with the model in database?
I'm using reports in rtm files too, and I get the same results.
I appretiate very much for your help. Thanks.

Daniel Alvarez
NETLAN S.A.

Comments

  • edited March 2003
    Do you load the template and then change the printer setup? The printer
    setup is streamed as part of the report. When are you setting the printer
    setup? You should set it before you call Report.Print and configure the
    layout so that it fits in the selected paper size you want.

    Do you have Report.SaveAsTemplate set to true? Make sure this is false.

    Can you reproduce the problem in RB 7.01 trial edition using our demo
    reports? If the problem goes away, then you will want to upgrade to RB 7. If
    you can reproduce the problem in RB 7.01, then send us a small example or
    the necessary steps to reproduce the problem support@digital-metaphors.com

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.