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

Using printer's default paper size

edited April 2004 in General
I have a requirement to use the printer driver's default paper size when
printing to support A4 and letter size.

I have my printer driver (HP8100) configured with A4 as the default paper
size. When I print from Wordpad and look at advanced options for the
printer, A4 is the selected paper size. When I printa report from our
application and look at the advanced options for the printer, letter is the
selected paper size. I am using 7.03 with D6 and Win2k.

What do I need to change so the printer driver's default paper size is
used?

Thanks,

Joanne

Comments

  • edited April 2004
    Hi Joanne,

    By default, ReportBuilder will set the paper size to Letter unless your
    decimal separator in your Windows Regional Settings is something other than
    a point. You will need to manually set the Report.PrinterSetup.PaperName :=
    'A4'; either in code or using the object inspector to get the effect you are
    after.

    --
    Best Regards,

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