Recent

Author Topic: [Solved] Laz_Report : Print Preview vs PDF  (Read 2947 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
[Solved] Laz_Report : Print Preview vs PDF
« on: February 06, 2019, 07:49:35 am »
I am using Laz_Report to create my reports in Lazarus.
I have made this report (Laz_Report.jpg) and it looks good to me.
But when i print it and export it as a PDF i get the result als shown in PDF.jpg


What am i doing wrong?
« Last Edit: February 19, 2019, 09:42:41 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

paweld

  • Hero Member
  • *****
  • Posts: 970
Re: Laz_Report : Print Preview vs PDF
« Reply #1 on: February 06, 2019, 10:36:03 am »
what pdf export filter you use?
Best regards / Pozdrawiam
paweld

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Laz_Report : Print Preview vs PDF
« Reply #2 on: February 06, 2019, 10:42:08 am »
Standard Mac Osx 10.13.6 High Sierra
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Laz_Report : Print Preview vs PDF
« Reply #3 on: February 06, 2019, 10:47:27 am »
Strange....
All reports are exported like this.


Take a look


P.s. On paper it lokes the same
« Last Edit: February 06, 2019, 11:00:34 am by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: Laz_Report : Print Preview vs PDF
« Reply #4 on: February 06, 2019, 11:11:44 am »
Try disabling the display adapter
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Laz_Report : Print Preview vs PDF
« Reply #5 on: February 06, 2019, 02:54:06 pm »
Try disabling the display adapter
How do i do that?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: Laz_Report : Print Preview vs PDF
« Reply #6 on: February 06, 2019, 02:59:31 pm »
« Last Edit: February 06, 2019, 03:01:48 pm by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Laz_Report : Print Preview vs PDF
« Reply #7 on: February 06, 2019, 03:33:42 pm »
nope still the same
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

TomTom

  • Full Member
  • ***
  • Posts: 170
Re: Laz_Report : Print Preview vs PDF
« Reply #8 on: February 08, 2019, 11:06:51 pm »
I dont know if thats the problem and  Im sayi g from my own experience when it comes to generatin/converting pdf files on windows not mac. I had similar problems and using newer version of ghostscript library( Not sure how it works on Mac) and setting some greater dpi for pdf (300-400 dpi/ppi) solved my problem. You could also check if pdf background isnt transparent (if it is then try setting it to not transparet if that is possible. I never used laz report so im just guessing

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Laz_Report : Print Preview vs PDF
« Reply #9 on: February 19, 2019, 09:42:25 pm »
I solved it with a workaround.
I know export my report as a PDF-file and this file to preview it and even print it.
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

 

TinyPortal © 2005-2018