WriteToBuffer() публичный Метод

Sends the text to the printer buffer. Does not print until a line feed (0x10) is sent.
public WriteToBuffer ( string text ) : void
text string /// Text to print. ///
Результат void
Пример #1
0
        static void CashRegister(ThermalPrinter printer, string item, int price)
        {
            printer.Reset();
            printer.Indent(0);

            if (item.Length > 24) {
                item = item.Substring(0,23)+".";
            }

            printer.WriteToBuffer(item.ToUpper());
            printer.Indent(25);
            string sPrice = String.Format("{0:0.00}",(double)price/100);

            sPrice = sPrice.PadLeft(7);

            printer.WriteLine(sPrice);
            printer.Reset();
        }