Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Direktdruck mit Rave-Report (https://www.delphipraxis.net/56508-direktdruck-mit-rave-report.html)

ickehausen 7. Nov 2005 07:30

Datenbank: Interbase • Version: 6.0 • Zugriff über: IBX

Direktdruck mit Rave-Report
 
Hallo zusammen,

ich habe leider nichts gefunden, wie ich mit Delphi 7 einen Rave5-Report sofort ausdrucken kann. Mir wird immer das Auswahlfenster gezeigt, wo ich die Entscheidung treffen muß, ob Vorschau, Datei oder Druck!!!
Z. Zt. rufe ich in Delphi den Report so auf:

DataModule2.RvProject1.ExecuteReport('Report1');

Muß ich die Einstellung im Report oder in Delphi vornehmen?!

Über einen Tipp wäre ich sehr dankbar.

merlin17 7. Nov 2005 08:23

Re: Direktdruck mit Rave-Report
 
With the RAVE-IDE you can set your desires with Edit-> Options-> Preferences menu option. Then
on the "Preferences" dialog - select the "Printing" option on the left side. Set the "Output Options"
and the "Print Definition" sections to your output requirements.

For your application's, you must set the RvProject component engine property to a RvSystem
component. If you do not already have a RvSystem available, then drop one on the same form as
your RvProject. Once you have set the engine property, then go to the RvSystem-component and
you have a lot of properties that you can set, as needed. Some of the more popular ones are:
To disable the Output Dialog from showing:
Delphi-Quellcode:
RvSystem1.SystemSetups.ssAllowSetup := False;
To change the default destination of the output (File, Preview or Printer):
Delphi-Quellcode:
RvSystem1.DefaultDest := rdPrinter;
(sets default as printer)
To set the Preview Windows for maximized size
Delphi-Quellcode:
RvSystem1.SystemPreview.FormState := wsMaximized

:-) thomas, TeamNevrona

ickehausen 7. Nov 2005 09:34

Re: Direktdruck mit Rave-Report
 
Vielen Dank Thomas,

Du hast mein Problem gelöst.

Gruß Frank :hello: :hi:


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:32 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz