Print without Print Dialog - seperate Printer dialog.
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com