Printer Preview lazarus / 9-Editor ---------------------------------------------------------------------- Honzeek · 2010-03-11 20:32 Is there in Lazarus somthing like PrinterPreviw in Delphi?? ---------------------------------------------------------------------- fredycc · 2010-03-11 21:41 What do yo need preview? That functions I use for a report (lazreport) into components folder. ---------------------------------------------------------------------- davesimplewear · 2010-03-11 22:44 I have been seeking a print/preview component for some time, I use it to preview a memo or synmemo contents and print those contents as I have been unsuccesful in converting delphi components due to the TMetaFile being used, also any print routines for these components have been miserable failures. There are no print routines that I can find for these components that will work. So if asnyone knows where to find them, I would be grateful for the info. Regards Dave nb: I use Linux ---------------------------------------------------------------------- Honzeek · 2010-03-12 13:51 to fredycc: I need preview before printing... to davesimplewear: thanks, i'll try something like you.. ---------------------------------------------------------------------- sfeinst · 2010-03-12 13:56 Quote from: davesimplewear on March 11, 2010, 11:44:57 pmI have been seeking a print/preview component for some time, I use it to preview a memo or synmemo contents and print those contents as I have been unsuccesful in converting delphi components due to the TMetaFile being used, also any print routines for these components have been miserable failures. There are no print routines that I can find for these components that will work. So if asnyone knows where to find them, I would be grateful for the info. Have you looked at the source code for Lazarus itself?  The editor prints you could steal that code for your printing (though no print preview that I see).  I think it is in the file sourceprinter.pas. ---------------------------------------------------------------------- cdbc · 2010-03-12 18:19 Hi I've kinda rolled my own, it's not perfect but.... Maybe you can use the attached file as inspiration?!? hth Regards Benny