printing under Windows lazarus / 8-Other ---------------------------------------------------------------------- TonS · 2007-03-25 09:31 How can I print something? In Delphi I did : uses Printers; var F : TextFile; AssignPrn(F); WriteLn(TextFile(F), '...'); CloseFile(F); I have read the unit "printer" documentation, but that didn't help me. Can somebody give me an example? Thanks!! greetings, Ton ---------------------------------------------------------------------- antonio · 2007-03-29 03:57 If your component has a Print method, you should use it. TPrinter object has also a Canvas property, which can be used to TextOut text.