Hi:
I did things like this many years ago.
If the printer is connected to lpt1 do this
var myPrinter: TextFile;
..
begin
..
assignFile(myPrinter,'lpt1');
rewrite(myPrinter);
writeln(myPrinter,'Hello world!');
closerFile(myPrinter);
end;
And then, use the ESC commands to cut paper, set grapical mode, open cash drawer, etc...
open drawer 27,121,48,55,121 -> write(myPrinter,#27#121#48#55#121);
cut paper 27,"d",3,27,109 -> write(myPrinter,#27'd'#3#27#109);
... and so ...
To print a logo (image) you must send a command to put printer in graphical mode and then send the data of image(mono), after that put printer in text mode again. You must send the bytes that make up the image, but vertically:
if the image is like this: (vertical stripes)
01010101
01010101
01010101
01010101
01010101
01010101
01010101
01010101
you must send 0,255,0,255,0,255,0,255 instead of 85,85,85,85,85,85,85,85.
I haven't a handbook with the esc commands for this printer, so i can't help you with more detail.
Regards