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

Help with Report Builder

edited April 2003 in General
Hi, I'm using D6 and Report Builder, and I want to open a dialog for the
user just setup some printer options.

Does Report Builder have one dialog just to setup printer properties?
I tried also to configure the printer options using the TPrinterSetupDialog,
but I couldn't find out how to get the configuration and then setup the
Report Builder.


Thanks, Bruno M. Long

Comments

  • edited April 2003
    Hi Bruno,

    use 'TppReport.PrinterSetup' to setup printer properties.
    Property 'TppReport.ShowPrintDialog' handles the showing of the dialog.

    HTH,
    CHris Ueberall;
  • edited April 2003
    Hi, CHris Ueberall

    This worked, but when I click the OK Button, it send the report do the
    printer, i'd like to know if Report Builder has a Dialog just to configure
    the Printer Options, before having some data on the report.


    Thanks, for your Atention.


  • edited April 2003
    Bruno,

    I would call the standard printer dialog and assign the properties to 'PrinterSetup'.
    The link below shows how to access the DEVMODE structure.

    http://www.digital-metaphors.com/tips/SavePrinterDevMode.zip

    regards,
    Chris Ueberall;
  • edited April 2003
    Thank's a lot.

This discussion has been closed.