 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bruce McIver Guest
|
Posted: Mon Mar 01, 2004 5:08 pm Post subject: RAVE - avoiding Output Options Box |
|
|
Hi,
I've just started using Rave (Version 5.0) in Delphi 7 and I'm having
difficulty doing something which I'd have expected to be pretty simple.
When I execute my report with:
RaveReport1.Execute
....the 'Output Options' dialog box appears. This offers me the choice of
'Printer', 'Preview' or 'File'. Does anyone know how to avoid displaying
this dialog box and having your report sent directly to the printer.
Any help with this would be much appreciated.
Also, if I am able to do this, in doing so I will have deprives the user of
the "Set Up" option which comes within the Output Options Dialog box. Would
there be an alternative way of allowing the user to provide details of the
printer that they wish to use in printing the Rave report?
Thanks in advance
Bruce
|
|
| Back to top |
|
 |
thomas pf Guest
|
Posted: Mon Mar 01, 2004 8:05 pm Post subject: Re: RAVE - avoiding Output Options Box |
|
|
Bruce,
insert a RvSystem-component, define the engine in the RvProject1 :=
RvSystem1 and
set
DefaultDest := rdPreview (or rdPrinter for printing direct)
RvSystem1.SystemSetups.ssAllowSetup := False;
insert RpDevice in the uses and look into RPDev. (code completion should
show you
all the options)
:-) thomas
"Bruce McIver" <b.mciver (AT) marlab (DOT) ac.uk> schrieb im Newsbeitrag
news:40436dcb (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
I've just started using Rave (Version 5.0) in Delphi 7 and I'm having
difficulty doing something which I'd have expected to be pretty simple.
When I execute my report with:
RaveReport1.Execute
...the 'Output Options' dialog box appears. This offers me the choice of
'Printer', 'Preview' or 'File'. Does anyone know how to avoid displaying
this dialog box and having your report sent directly to the printer.
Any help with this would be much appreciated.
Also, if I am able to do this, in doing so I will have deprives the user
of
the "Set Up" option which comes within the Output Options Dialog box.
Would
there be an alternative way of allowing the user to provide details of the
printer that they wish to use in printing the Rave report?
Thanks in advance
Bruce
|
|
|
| Back to top |
|
 |
Bruce McIver Guest
|
Posted: Tue Mar 02, 2004 11:04 am Post subject: Re: RAVE - avoiding Output Options Box |
|
|
Thanks for that Thomas! Working fine now.
Bruce
"thomas pf" <thomas (AT) spam-mail (DOT) com> wrote
| Quote: | Bruce,
insert a RvSystem-component, define the engine in the RvProject1 :=
RvSystem1 and
set
DefaultDest := rdPreview (or rdPrinter for printing direct)
RvSystem1.SystemSetups.ssAllowSetup := False;
insert RpDevice in the uses and look into RPDev. (code completion should
show you
all the options)
:-) thomas
"Bruce McIver" <b.mciver (AT) marlab (DOT) ac.uk> schrieb im Newsbeitrag
news:40436dcb (AT) newsgroups (DOT) borland.com...
Hi,
I've just started using Rave (Version 5.0) in Delphi 7 and I'm having
difficulty doing something which I'd have expected to be pretty simple.
When I execute my report with:
RaveReport1.Execute
...the 'Output Options' dialog box appears. This offers me the choice
of
'Printer', 'Preview' or 'File'. Does anyone know how to avoid
displaying
this dialog box and having your report sent directly to the printer.
Any help with this would be much appreciated.
Also, if I am able to do this, in doing so I will have deprives the user
of
the "Set Up" option which comes within the Output Options Dialog box.
Would
there be an alternative way of allowing the user to provide details of
the
printer that they wish to use in printing the Rave report?
Thanks in advance
Bruce
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|