Delphi printing HELPPPPPP !

Hy there,

I need to print from a form in delphi. For example i have the text1, text2, text3

text1                           text2                           text3
(x,y)                           (x,y)                            (x,y)

where x and y are coordonates of where the text will be printed on an A4 paper. How can i make this ? To print where i want ? THX for any help
LVL 1
acidburn2003Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
LRHGuyConnect With a Mentor Commented:
Try:

with Printer,Canvas do begin
  begindoc;
  TextOut(x,y,'text1');
  //etc...
  enddoc;
end;
0
 
LRHGuyCommented:
Of course, you can select the printer, font, size, etc too... But using TextOut let's you position the output where you want it.
0
All Courses

From novice to tech pro — start learning today.