bmp echo printing logic finished ....but its not perfect .....have to do buffer printing