How to Use an instance of TPrinter ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Move a form by clicking in its client area ?

1406


How to prevent closing of an undocked ToolBar?

1391


How to Place a grid in edit mode programatically?

1448


Is there a programmatic way to add an alias to the IDAPI.CFG?

1570


How to Declare a SafeArray in the type library editor?

1743






How to Create a custom TInplaceEdit for TDBGrid ?

1996


How to Draw on frame ?

1276


How to Get the longfilename from a file?

1240


How to Detect what direction a printer will rotate for a portrait ?

1212


what are the Font problems on NT 4.0?

1048


How to Finddistance between two points?

1496


What directory is the ActiveForm in ?

1409


How to Use Control Characters With Delphi?

1543


How to Retrieve the line number that a memo's cursor is on?

1375


Why won't the virtual key codes work in program?

1255