public void Print(ESCPosDocument document) { // Get the document to be printed. byte[] bytes = document.GetBytes(); // Send bytes to the printer _connector.Write(bytes); }
public void Print(IPrintable printable) => _connector.Write(printable.GetBytes());