...print a canvas?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: Printing

uses
  
Printers;

procedure PrintText(Text: string);
begin
  with 
Printer do
  begin
    
BeginDoc;
    Canvas.TextOut(5, 50, Text);
    EndDoc;
  end;
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base