Page margins
Hello. I use fast-report 3.18. I created a report with 2 cm margins. When I print this report on Windows 2000 it is Ok. But when I print the same report on Windows 98 and the same printer, the report margins printed are incorrect.
Why it happens?
How can I fix it?
Thanks.
Why it happens?
How can I fix it?
Thanks.
Comments
For printing tasks do not mix Win9x and W2k, XP, NT machines.
FR3 dot-matrix reports do not show this problem.
Peter
Technisoft
I've been trying to change tha page margins during printing based on page number, even/odd.
This is my Pascal Code:
procedure PageFooter1OnBeforePrint(Sender: TfrxComponent);
begin
if SysMemo2.Visible then begin
inc(page);
SysMemo2.Memo.Text := IntToStr(page);
If (Frac(page/2)) = 0.5 then begin
Page1.RightMargin := 2000;
Page1.LeftMargin := 1000;
end else begin
Page1.RightMargin := 1000;
Page1.LeftMargin := 2000;
end;
end;
end;
But it doesn't work. If I print a margin in a Showmessage() it states that the current value is the one last entered from then procedure above but the page margins stay the same in the entire preview printout..
I'm using FR 3.22
/Jonas