fix a rather serious bug failing to send last character of command to printer