C
cunbh
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure EjectPage;
var
F:TextFile;
begin
AssignFile(F, 'LPT1');
Rewrite(F);
Writeln(F,chr(12);
CloseFile(F);
end;
procedure Txfz.Button1Click(Sender: TObject);
begin
QuickRpt1.Print;
EjectPaper ;
end;
运行后出现 'File access denied ' 字样错误,不知何故?怎样解决?
var
F:TextFile;
begin
AssignFile(F, 'LPT1');
Rewrite(F);
Writeln(F,chr(12);
CloseFile(F);
end;
procedure Txfz.Button1Click(Sender: TObject);
begin
QuickRpt1.Print;
EjectPaper ;
end;
运行后出现 'File access denied ' 字样错误,不知何故?怎样解决?