Recent

Author Topic: Fortes4Lazarus RLMemo, RLDBMemo line end problem  (Read 10133 times)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Fortes4Lazarus RLMemo, RLDBMemo line end problem
« Reply #15 on: February 23, 2012, 10:48:21 am »
Please test this project and see if a courier font is printed

patyi

  • Full Member
  • ***
  • Posts: 168
Re: Fortes4Lazarus RLMemo, RLDBMemo line end problem
« Reply #16 on: February 23, 2012, 12:50:31 pm »
Hi Luiz !

I installed Qt bindings as you suggested, recompiling Lazarus  and test program.
Situation is interesting because Preview and Printing is OK on Qt widgetset !!!

Conclusion :
   Win interface is OK,
   QT interface is OK (Ubuntu GTK, Lazarus compiled with Qt),
   GTK2 interface is wrong, Preview is Ok but Printing is not !

I will stay with Qt, for now !  I'm not know what problems I would have distributing
executables, all my clients are on GTK Linuxes ...

Two more questions :
  I noticed that when printing one blank page is dropped. Hove can avoid it ?
  Hove can I load saved report ? (see previously attached example) 

Thanks Luiz, again you are help me a lot !


patyi

  • Full Member
  • ***
  • Posts: 168
Re: Fortes4Lazarus RLMemo, RLDBMemo line end problem
« Reply #17 on: February 23, 2012, 01:05:16 pm »
Jes it is printed :
 -  with Lazarus on QT is perfect,

    TestXX
    TestXX  (a bit bigger then first)

 -  with Lazarus on GTK is different, firs printed line is Ok, second fallows aprox 3-4 new lines,
    but "TesXX' printed correctly.
   
   TestXX




   TestXX  (a bit smaller then first)
   

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Fortes4Lazarus RLMemo, RLDBMemo line end problem
« Reply #18 on: February 23, 2012, 01:15:29 pm »
> Hove can I load saved report ? (see previously attached example) 

Unit RLPreviewForm -> PreviewFromFile

> I noticed that when printing one blank page is dropped. Hove can avoid it ?

I will take a look

 

TinyPortal © 2005-2018