LazReport, fix page orientation while direct printing a report designed using virtual printer, issue #25802

git-svn-id: trunk@44360 -
This commit is contained in:
jesus 2014-03-05 20:18:31 +00:00
parent aa4c4a8a9e
commit 003a8be7e1

View File

@ -10356,6 +10356,8 @@ begin
DebugLnEnter('TfrReport.DoPrintReport: INIT ',[]);
DebugPrnInfo('=== INIT');
{$endif}
if Prn.UseVirtualPrinter then
ChangePrinter(Prn.PrinterIndex, Printer.PrinterIndex);
Prn.Printer := Printer;
pgList := TStringList.Create;