Recent

Author Topic: Getting non printable margins  (Read 5015 times)

tuxy74

  • Newbie
  • Posts: 6
Getting non printable margins
« on: February 14, 2008, 11:50:01 am »
Using Delphi/Kylix Printer.Margins.cx and Printer.margins.cy return non printable margins.
How doing so with Lazarus ?

Thanks

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Getting non printable margins
« Reply #1 on: February 14, 2008, 04:08:16 pm »
Quote from: "tuxy74"
Using Delphi/Kylix Printer.Margins.cx and Printer.margins.cy return non printable margins.
How doing so with Lazarus ?

Thanks


Can you check to see if these properties give the values you need?

Printer.PaperSize.PaperRect.WorkRect.Left
Printer.PaperSize.PaperRect.WorkRect.Top

Thanks.

-Phil

tuxy74

  • Newbie
  • Posts: 6
Getting non printable margins
« Reply #2 on: February 16, 2008, 06:47:26 pm »
Thank you Phil.
Unfortunatly, I do not have Delphi/kylix installed anymore. But using these properties seem to sound good.
If someone else can return values using Delphi and Lazarus...

 

TinyPortal © 2005-2018