Board index » delphi » Rave Reports-SelectPrinter
Wim
Delphi Developer |
Rave Reports-SelectPrinter2006-09-07 10:48:43 PM delphi283 Hi, I created some kind of automated printing using Rave Reports. I have the code like this: procedure tForm1.Button1(Sender: TObject); begin RvSystem1.execute; end; procedure tForm1.RvSystem1Print(Sender: TObject); begin with RvSystem1.Basereport do begin // Here comes the code for printing end; end; This works perfect with the default printer, but I like to select the printer automatically, because I want so sent one copy to the default printer and a second copy to another printer in the network. I already tried to use Basereport.Selectprinter(*printer*). But, depending on where I put it, it didn't do anything or it created the error "Report already printing". Does anyone know a simple solution for this? Thx Wim |