Problem solved. Add the Data Module to the console project. Place all components like ZConnection, TfrReport, Query on this module and init Data Module by
DM := TDM.Create(nil); in DoRun procedure.
Make PrepareReport and Export for example to PDF.
LazReport is working in console app without GUI.