Dave Coventry wrote:
> I've added the following to the code:
> 
> var buf: string;
> buf:=ser.RecvPacket(6000);
> showmessage(buf);
> 
> so it now reads:
> 
> ser.Connect('COM1');
> ser.Config(9600,8,'N',0,false,false);
> ser.SendString('Invoice: The Galley Restaurant'+#13+#10);
> buf:=ser.RecvPacket(6000);
> showmessage(buf);
> ser.SendString('Tel Number: 041-461000'+#13+#10);
> buf:=ser.RecvPacket(6000);
> showmessage(buf);
> 

Dave, what kind of printer are you using?  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.

--
Warm Regards,

Lee



-------------------------------------------------------------------------
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

Reply via email to