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

To Nico Cizik

edited January 2004 in General
Hi,

Sorry for my insistence, you can read my last message, when I print my
report (PaperWidth=8.5" and PaperHeight=7") the Report Builder extracts the
size that this stored in the custom paper of the printer.

The paper size Stored is (PaperWidth=5.10" and PaperHeight=11")

My Solution is:

Event OnBeforePrint from my report:

procedure TForm1.ppReportBeforePrint(Sender: TObject);
begin
(Sender As TppReport).PrinterSetup.PaperWidth:=8.5;
(Sender As TppReport).PrinterSetup.PaperHeight:=7;
end;

My Question is why RB don't change this size...

Thanxs.
please answer me

Comments

  • edited January 2004
    Hi Daniel,

    Where are you setting the initial paper size? If you print to a different
    printer does it still try to print the wrong size? This may be a special
    case for this printer. If you look at the printer settings from the report
    print dialog are the settings changed in there?

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    Where are you setting the initial paper size?
    With Report Builder Designer

    print the wrong size?
    8.5" x 7"


    If you look at the printer settings from the report print dialog are the
    settings changed in there?
    the printer don't have size in "Custom Paper"


  • edited January 2004
    Daniel,

    I am still unclear where the printer is getting the values 5.1 x 11 for the
    Custom Papersize. Is this paper size defined by the printer as the default
    custom paper size? If this is the case and ReportBuilder is not overriding
    these default settings, it may be a printer issue. Try printing to a
    different printer and see if you get the same results.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    > Is this paper size defined by the printer as the default custom paper
    size?
    No

    I have other report with this values (5.1 x 11)




  • edited January 2004
    Daniel,

    Now I'm very confused.... Please explain to me in detail exactly how your
    application is supposed to work from start to finish, including the problem
    area. Thanks.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.