I have been trying to get a print of an Image but I have not been successful so far.
The printer is a locally manufactured 2\" thermal printer having a printing r
I have a thermal printer with bluetooth and Usb connection, if your printer support ESC/POS command search for its commands on internet, for print raster image you should send this:
[Name] Print raster bit image
[Format] ASCII GS v 0 m xL xH yL yH d1...dk
Hex 1D 76 30 m xL xH yL yH d1...dk
Decimal 29 118 48 m xL xH yL yH d1...dk
[Range] 0£ m£ 3, 48£ m £ 51
0£ xL£ 255
0£ xH£ 255
0£ yL£ 255
0£ d£ 255
k=(xL+ xH*256)*(yL+yH*256)
Follow your printer guidelines, it is may be different from others.