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

Print without Print Dialog - seperate Printer dialog.

edited January 2002 in General
Hi there everyone. My Name is Rasheed Abdal-Aziz, and my company is
currently producing a Kiosk style application that embeds Macromedia Flash
in a delphi application. Our Flash-Delphi is working nicely (I am a flash
applications developer myself).

Now we are adding reporting, and I am evaluating DM's RB. I like it so far,
but it must be able to do one thing that I havent quite understood how to
do..

I want a privileged user to have access to "Print Settings" - So they click
a button that shows a printer setup dialog which they can modify, and these
settings need to stick , even after the machine is reset etc.. If I have to,
i can direct them to windows printer settings instead.

I want a nonprivelaged user to never see the Printer dialog. They will be
using the program, reach a point when a report is needed (in this case, a
homework assignment) and the app will show a "Please Wait, printing your
homework" dialog and then trigger RB to print the report with no user
intervention. This is the part I have most trouble with.

If anyone could provide a sample application for this I'd be really
grateful.

Yours,
Rasheed Abdal-Aziz
CEO Hypergeek.

www.hypergeek.com.au

Comments

  • edited January 2002
    Depending on the user type, toggle the Report.ShowPrintDialog property.
    Take a look at the insatalled RBuilder main reports demo #121. It shows a
    custom print dialog which you could use to configure the printer setup,
    rather than trying to use the printer setup dialog for the installed
    printer. When the user enters the configuration, you can save down the
    printer setup to an .ini file or to a database table. Then in the next time
    the user wants a report, then load the report template into the report
    object, and then look assign the Report.PrinterSetup from your user's last
    printer setup configuration.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.