new implementation of escpos print_bitmap