Hola:
Con Rave no se pues no lo e usado nunca pero QReport yo lo utilizo de esta forma
Código Delphi
[-]procedure TDlgEdiFacturas.imprimir(Sender: TObject);
var
oldPrinter : TPrinter;
begin
if TablaF.State in [ dsInsert, dsEdit ] then TablaF.Post;
Screen.Cursor := crHourglass;
repFacturaDes := TrepFacturaDes.Create( Self );
try
oldprinter := SetPrinter( TPrinter(repFacturaDes.Printer) );
repFacturaDes.Prepare;
if repFacturaDes.Printer.Printers.IndexOf( V_PRINT_CONFIGURADA ) = -1 then
begin
ShowMessage( V_PRINT_CONFIGURADA );
MessageDlg( 'No encuentro la impresora estandar configurada', mtError, [mbOk], 0 );
SetPrinter( oldPrinter );
exit;
end;
repFacturaDes.PrinterSettings.PrinterIndex := repFacturaDes.Printer.Printers.IndexOf( V_PRINT_CONFIGURADA );
repFacturaDes.Print;
finally
repFacturaDes.Free;
SetPrinter( oldPrinter );
end;
end;
Espero que te sirva.
Saludos