C
c3411080
Unregistered / Unconfirmed
GUEST, unregistred user!
我想把“日新泰富购物中心 ”这几个字打印出来的大小为16号该怎样做呢?找遍以前的贴子都找不到答案,请大家帮帮忙。
procedure Tfrmmain.Button1Click(Sender: TObject);
var
F: TextFile;
S: string;
begin
AssignFile(F, 'lpt1');
Rewrite(F);
writeln(F,' 日新泰富购物中心 ');//想把这几个字打印出来大一些,该怎么办呢
writeln(F,'收银机:'+posid+' '+'交易号'+saleid);
writeln(F,'收银员:'+username+' '+datetimetostr(now));
writeln(F,'-----------------------------------------');
writeln(F,'');
writeln(F,'');
writeln(F,'');
CloseFile(F);
end;
procedure Tfrmmain.Button1Click(Sender: TObject);
var
F: TextFile;
S: string;
begin
AssignFile(F, 'lpt1');
Rewrite(F);
writeln(F,' 日新泰富购物中心 ');//想把这几个字打印出来大一些,该怎么办呢
writeln(F,'收银机:'+posid+' '+'交易号'+saleid);
writeln(F,'收银员:'+username+' '+datetimetostr(now));
writeln(F,'-----------------------------------------');
writeln(F,'');
writeln(F,'');
writeln(F,'');
CloseFile(F);
end;