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

The First String prints out correctly, but then I get an error
message: 'Communication error 9997: Timeout during operation'

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