Paper Source Selection
Hello everybody,
i use the Fastreporter in Delphi 7.
bevor printing i will set the paper source for the printer.
how can i do that?
example:
(the name of the right property i need. Like the following :frReport1.pageoption.papersource:='schacht1')
best regards
Carsten
i use the Fastreporter in Delphi 7.
bevor printing i will set the paper source for the printer.
how can i do that?
example:
(the name of the right property i need. Like the following :frReport1.pageoption.papersource:='schacht1')
best regards
Carsten
Comments
modify the design page properties after loading the report
procedure TForm1.Button1Click(Sender: TObject);
var
page:tfrpage;
v,v2:tfrview;
b:tfrbandview;
ab:tfrband;
obindex,pgindex:integer;
teststr:string;
begin
frreport1.clear;
frreport1.loadfromfile(wpath+'1.frf'); //load report sub your own name here
for pgindex := 0 to frreport1.Pages.count-1 do //iterate through pages
begin
page := frreport1.Pages[pgindex];//retreive page
if page.Prop= ptreport then // if not dialog
begin
//PAGE.Prop:= TRUE;
page.pgSize := integer value
regards
best regards
Carsten