In my Delphi 7 app, I'm trying to get a dot-matrix printer (Epson LQ590) to operate like a line printer, in other words, just to print one lie at a time without executing a form feed. Currently, the printer prints one line then form feeds so I only get one line per page.
I'm using the Printers unit and the fowing code;
Printer.Canvas.Pen.Color := 0;
Printer.Canvas.Font.Name := 'Times New Roman';
Printer.Canvas.Font.Size := 12;
//Printer.Canvas.TextOut(0, 100, #10+PrtStr+#13); // This didn't work
Printer.Canvas.TextOut(0, 100, PrtStr);
The Epson is set up as the default system printer. Is it because I'm printing @0,100 each time? Or, Are there special control codes that I need to send with the print string? Or, do I need to modify the system printer properties?
Anybody got any suggestions?