Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delphi printing  HELPPPPPP !

Posted on 2004-09-28
4
Medium Priority
?
187 Views
Last Modified: 2013-11-22
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
0
Comment
Question by:acidburn2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
LRHGuy earned 500 total points
ID: 12174453
Try:

with Printer,Canvas do begin
  begindoc;
  TextOut(x,y,'text1');
  //etc...
  enddoc;
end;
0
 
LVL 7

Expert Comment

by:LRHGuy
ID: 12174456
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Simple Linear Regression
Introduction to Processes
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question