added bitmap print function