Solved

Delphi printing  HELPPPPPP !

Posted on 2004-09-28
4
184 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
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
LRHGuy earned 125 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This is an explanation of a simple data model to help parse a JSON feed
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

680 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