O ow Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-24 #1 比如第一行打印隶书(2号字体)的“请柬”两个字 第二行用宋体(3号字体)打印“欢迎”两个字 应该怎么实现?
Z zhanggm Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-25 #5 用 printer.Canvas.Font.Name:='隶书' printer.Canvas.Font.Size:=2; Printer.Canvas.TextOut(50,50,'请柬'); printer.Canvas.Font.Name:='宋体' printer.Canvas.Font.Size:=3; Printer.Canvas.TextOut(10,150,'欢迎');
用 printer.Canvas.Font.Name:='隶书' printer.Canvas.Font.Size:=2; Printer.Canvas.TextOut(50,50,'请柬'); printer.Canvas.Font.Name:='宋体' printer.Canvas.Font.Size:=3; Printer.Canvas.TextOut(10,150,'欢迎');
T tintin45 Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-01 #6 Printer.begin Doc; Printer.Canvas.Font.Name := '宋体'; Printer.Canvas.Font.Size := 12; Printer.Canvas.Font.Color := clGreen; Printer.Canvas.TextOut(Px, Py, '我'); Printer.EndDoc;
Printer.begin Doc; Printer.Canvas.Font.Name := '宋体'; Printer.Canvas.Font.Size := 12; Printer.Canvas.Font.Color := clGreen; Printer.Canvas.TextOut(Px, Py, '我'); Printer.EndDoc;
W whitehorse Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-01 #7 直接如楼上所示用textout输入到打印机就可以了,灵活多样 也可以用QReport,定义QRlabel的属性
P ppp Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-02 #8 nod,自己写打印代码,很灵活的,比用form的print好多了