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

print immediately without the dialogue box of printer choosing?

edited February 2004 in General
hi
I set the property of ppReport1.DeviceType to 'Printer'
How can I print immediately without the dialogue box of printer choosing.
Thanks

Comments

  • edited February 2004
    Hello,

    Try setting the Report.ShowPrintDialog property to False. This is a
    published property so it is available in the Delphi Object Inspector.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2004
    Hello,

    I still have printer dialog show, why?

    thx.

  • edited February 2004
    Iwan,

    This is not a known issue with ReportBuilder. Which version of
    ReportBuilder are you using? You might try to add a stop in your code
    somewhere and check the value of Report.ShowPrintDialog to be sure it is in
    fact set to False.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2004
    Hi Iwan,

    Another thought... are you by chance loading a template when you try to
    print your report? If so, this property could be getting erased by the
    template setting. You can fix this issue by either loading the template at
    runtime and re-saving it with this property changed or changing it using the
    OnLoadEnd event of the template.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2004
    that's right! thx .

This discussion has been closed.