A
aerobull
Unregistered / Unconfirmed
GUEST, unregistred user!
想怎么打就怎么打.
begin
// 打印 票据
Printer.Title := '打印专用发票:' + fphm.Text + ' 开票人:' + zd.Text;
Printer.begin
Doc;
Printer.Canvas.Font.Name := '宋体';
Printer.Canvas.Font.Style := [fsBold];
Printer.Canvas.Font.Size := 11;
Printer.Canvas.TextOut(Y + 1350, X + 100, khyh.Text);
Printer.Canvas.TextOut(Y + 1350, X + 130, zh.Text);
Printer.Canvas.TextOut(Y + 132, X + 206, fkdw.Text);
Printer.Canvas.TextOut(Y + 812, X + 206, Copy(kprq.Text, 7, 4) + '年' +
Copy(kprq.Text, 1, 2) + '月' +
Copy(kprq.Text, 4, 2) + '日');
Printer.Canvas.TextOut(Y + 334, X + 265, cm.Text + hc.Text + hb.Text + cc.Text);
Printer.Canvas.TextOut(Y + 956, X + 265, tydh.Text);
Printer.Canvas.TextOut(Y + 1356, X + 265, Copy(khrq.Text, 7, 4) + '年' +
Copy(khrq.text, 1, 2) + '月' +
Copy(khrq.text, 4, 2) + '日');
Printer.Canvas.TextOut(Y + 162, X + 312, qyg.Text);
Printer.Canvas.TextOut(Y + 632, X + 880, swdjh.Text);
//税务登记
Printer.EndDoc;
end;
可给分了吗?哈!
begin
// 打印 票据
Printer.Title := '打印专用发票:' + fphm.Text + ' 开票人:' + zd.Text;
Printer.begin
Doc;
Printer.Canvas.Font.Name := '宋体';
Printer.Canvas.Font.Style := [fsBold];
Printer.Canvas.Font.Size := 11;
Printer.Canvas.TextOut(Y + 1350, X + 100, khyh.Text);
Printer.Canvas.TextOut(Y + 1350, X + 130, zh.Text);
Printer.Canvas.TextOut(Y + 132, X + 206, fkdw.Text);
Printer.Canvas.TextOut(Y + 812, X + 206, Copy(kprq.Text, 7, 4) + '年' +
Copy(kprq.Text, 1, 2) + '月' +
Copy(kprq.Text, 4, 2) + '日');
Printer.Canvas.TextOut(Y + 334, X + 265, cm.Text + hc.Text + hb.Text + cc.Text);
Printer.Canvas.TextOut(Y + 956, X + 265, tydh.Text);
Printer.Canvas.TextOut(Y + 1356, X + 265, Copy(khrq.Text, 7, 4) + '年' +
Copy(khrq.text, 1, 2) + '月' +
Copy(khrq.text, 4, 2) + '日');
Printer.Canvas.TextOut(Y + 162, X + 312, qyg.Text);
Printer.Canvas.TextOut(Y + 632, X + 880, swdjh.Text);
//税务登记
Printer.EndDoc;
end;
可给分了吗?哈!