Example #1
0
 public void SendMessage(PrintCharacterCommand command, byte n)
 {
     List<byte> result = GetCommandBytes(Convert.ToInt32(command));
     result.Add(n);
     port.Write(result.ToArray(), 0, result.Count);
 }
Example #2
0
 public void WriteCommand(PrintCharacterCommand command, byte n)
 {
     port.SendMessage(command, n);
 }