i'm trying to write directly to the port, but in Delphi i could not found the answer to this (begindoc, enddoc is not what i need).
I need to print to the printer line by line - without spooler.
I think that
ClosePrinter set of commands could solve my problem, but i have problem with implementing WritePrinter function.
Could you please send me an example of it? Or some other solution for printing line by line of text directly to the printer?