Bigchimp, this is what I was using
var myPrinter: TextFile;
begin
assignFile(myPrinter,'com1');
rewrite(myPrinter);
writeln(myPrinter, escInitialise );
writeln(myPrinter,'Hello world!');
writeln(myPrinter,escFeedAndCut);
closeFile(myPrinter);
end;
It only worked once.
Elmug :-
I have started to use similar code to what you posted, it works, but I still had problems, most notably the cutting of the paper, it would cut in the middle of text, I've also issues printing certain characters (the British pound £).
I've now sorted this out, and things have progressed a little, I will post then full code when I'm satisfied it works correctly. I've also come across one other possible way of doing this using the print driver, If I get that to work, will also post that code.
Can't post the examples at the moment as the source is on the machine connected to the printer, this is in our other premises 5 miles away.
Thanks for all your help.