How to convert bitmap to 1 bit byte array?
I generated a barcode with ZXing.Mobile.Net and intend to print it to a thermal via bluetooth...
Sending a normal byte doesn't work (refer to image 1)
I did some searching and found that I had to send something called a 1-bit image byte array (one bit per printer "pixel") (refer to image 2)
found @: https://stackoverflow.com/questions/50698559/xamarin-print-image-in-bluetooth-printer
Image 3: my code so far
Image 4 & 5: Printer Commands Documentation
Printer Model : CMX 8006
Sending a normal byte doesn't work (refer to image 1)
I did some searching and found that I had to send something called a 1-bit image byte array (one bit per printer "pixel") (refer to image 2)
found @: https://stackoverflow.com/questions/50698559/xamarin-print-image-in-bluetooth-printer
Image 3: my code so far
Image 4 & 5: Printer Commands Documentation
Printer Model : CMX 8006





Stack Overflow
I am trying print from Bluetooth printer (INTERMEC PB51), using Xamarin native android.
I have written the code based on the below link.
How can I print an image on a Bluetooth printer in Android...
I have written the code based on the below link.
How can I print an image on a Bluetooth printer in Android...
