Discussion Locked

LX-300 & Delphi

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I print faster from my software (compiled by using Delphi) using LX-300+??
Some said that I have to use bulit-in fonts from the printer..How can I do that??
The software is based on Windows 95/98

3 replies

by val_bul

Hi!
If you have the source of the software try to print using WriteLn function. For exapmle:

...
Procedure SomePrint(var List : TStrings)
var li : longint; tf : TextFile;
begin
AssignPrn(tf); ReWrite(tf)
for li:=0 to List.Count-1do WriteLn(tf,List[li]);
System.CloseFile(tf);
end;

AssignPrn procedure is in Printers unit.

If this not works try using Assign(tf,'LPT1') (or Assign(tf,'LPT1:') - i'm not completely sure) instead of AssignPrn.

have luck!

Writeln(tf,sh) where tf is

by jcarvalho

If you don't have the fonts/or couldn't modify the program you could try change thethe printer works quality tab, in printer properties, from quality/presentation print to draf print, but your program must not be using the graphic way of printing. if it does you don't will get a solution.

This discussion is closed to new replies.