Exemple #1
0
        public void Print(ESCPosDocument document)
        {
            // Get the document to be printed.
            byte[] bytes = document.GetBytes();

            // Send bytes to the printer
            _connector.Write(bytes);
        }
Exemple #2
0
 public void Print(IPrintable printable) => _connector.Write(printable.GetBytes());