> Thanks for the help with this query. I have been barking up the incorrect > tree all along. > After doing a hex dump (function of the printer) it transpires > that my data > string was formatted incorrectly. There was no problem with the serial > comms. I was using OxA (\n) instead of 0xD (\r). Why it worked under > Hyperterm was because HT was doing the necessary character translations to > convert all 0xA to 0xD and I was not aware of it. A comparison > between what > HT dumped and what my code dumped showed this up. The commands to the > printer are terminated with a \r. The command that the printer > received was > never correctly terminated and this nothing was printed.This led me to > believe it was comms.
Glad you got it sorted. It's always worth bringing a problem to the list since even if this does happen, just getting ideas of where to look helps. -- Jason Teagle [EMAIL PROTECTED]
