Re: [Lazarus] Printer printable width

2018-07-28 Thread Graeme Geldenhuys via Lazarus
On 28/07/18 14:05, Michael Van Canneyt via Lazarus wrote: > How to obtain the origin of the printable area ? > Is the PageWidth/Pageheight relative to this origin ? As far as I know (or how I always understood print drivers), the PageWidth and PageHeight is the full page size (eg: A4 =

[Lazarus] Printer printable width

2018-07-28 Thread Michael Van Canneyt via Lazarus
Hi, The selectprinter demo prints a kind of test page. However, on linux the rectangle it draws on the page seems to be off. The left margin seems to be about right, but the bottom and top margins fall off the page. If I try to code something myself, I would code it like this: procedure