mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-29 04:42:51 +02:00
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:
parent
aa4c4a8a9e
commit
003a8be7e1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user