BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RAVE - avoiding Output Options Box

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Bruce McIver
Guest





PostPosted: Mon Mar 01, 2004 5:08 pm    Post subject: RAVE - avoiding Output Options Box Reply with 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
thomas pf
Guest





PostPosted: Mon Mar 01, 2004 8:05 pm    Post subject: Re: RAVE - avoiding Output Options Box Reply with 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...
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





PostPosted: Tue Mar 02, 2004 11:04 am    Post subject: Re: RAVE - avoiding Output Options Box Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.