Hi Lee
2008/8/4 Lee Jenkins <[EMAIL PROTECTED]>:
> Dave, what kind of printer are you using?
It's an Epson.
> I use a lot of POS printers (I write
> POS software) and I have to say that using the Generic Text driver in Windows
> while printing directly to the Windows print spooler is the best way to go in
> my
> experience. It works for both POS printers (like Epson, Start, etc) and it
> works well for serial based customer pole displays as well.
I'm using Linux, but I'm sure it wouldn't be much to implement the
Generic Text driver for Linux either.
However, I have managed to get it to work:
ser.Connect('COM1');
ser.Config(9600,8,'N',1,false,false);
buf:='Invoice: The Galley Restaurant'+#13+#10+'Tel Number: 041-461000'+#13+#10;
ser.SendString('buf);
showmessage('Reciept Printed!');
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public