How to Use an instance of TPrinter ?
Answer / alex
var
p:Tprinter;
begin
p:=Printers.Printer;
p.begindoc
p.textout(0,0,'Testing');
p.enddoc;
Is This Answer Correct ? | 0 Yes | 4 No |
How to Use InvalidateRect()to repaint the entire form?
How to insert contents of a file at current position in TMemo?
I'm using Delphi 4/5 and have am trying to fill a RichEdit control with both European characters and Thai characters - while I can change character colours the font stays with what was selected for the control:- reLangB.SelAttributes.Color :=dCol; reLangB.SelAttributes.Name :=FontName[dLang]; reLangB.SelAttributes.Charset :=FontChar[dLang]; reLangB.SelAttributes.Style :=[]; reLangB.Lines.Add(dText); The FontName and FontChar arrays contain the font info, and using a similar method for Captions and EditBoexes works! Anybody any ideas? Thanx in advance!
How to use the Find Error entry under the search heading of the menu bar?
How to Get the filename and path of a local table?
How to send a response early in a web application action?
Is there any way to record a keyboard macro in the IDE?
How to Create a delay without a timer?
what are the common Problems with printing, preview and paper size in Quick Reports?
How to draw transparent text onto a TBitmap ?
what are the uses of Arrow and Function Keys ?
How to query dates using Day-Month-Year using local SQL ?