send bytes all at once in printBitmap