Printing under Linux lazarus / 13-General ---------------------------------------------------------------------- thaimann · 2009-11-28 17:54 I am trying to print a report under Linux using the basic:     Printer.BeginDoc;     Printer.Canvas.Pen.Color := 0;     Printer.Canvas.Font.Name := 'Courier';     Printer.Canvas.Font.Size := 8;     Printer.Canvas.TextOut(0, 1, 'Heading ');     Query.First     Repeat         Printer.Canvas.TextOut(1, LineCnt * 10, Line);         Query.Next;         i := i+ 1     Until Query.EOF;     Printer.EndDoc; The problem is that it doesn't start printing until its a quarter of the page down and I guess I don't understand what is going on. I am running Fedora 10 The printer stats (out of lazarus/components/printers/samples/dialogs/selprinter program) Printer:                    Photosmart_8200_series XDPI:                       72 dpi YDPI:                       72 dpi Copies:                   1 Page Height:           576 dots (printable size) Page Width:            747 dots (printable size) Printer Type:           Network Printer State:          Printing Paper Size:              Letter CanRenderCopies:  true ---------------------------------------------------------------------- zeljko · 2009-11-29 19:48 What lazarus version ? What widgetset ? ---------------------------------------------------------------------- thaimann · 2009-11-30 01:41 I have since found that it was due to a gummed up Cups Server.  A reboot on that server seems to have resolved the problem.  Sorry for the distraction. Terry ---------------------------------------------------------------------- clauslack · 2009-11-30 11:37 If you print from Query, maybe LazReport is best than Printer.Canvas.... Regards