working on bmp printing