private void print()
 {
     while (print(0) && !buffer.EndOfBuffer())
     {
     }
 }