Problems printing image to BLE printer

I am trying to print an image to a printer. I tried converting it to a Byte Array, Hexadecimal and Base64. Neither the Byte Array nor the Hexadecimal gives an output while the Base64 printed garbage.

Would appreciate any assistance.

Thanks
Steve

I found some info here about printing the images to a BLE printer

Admittedly, this is not a topic I am familiar with at all but does anything in the solution seem feasible?

Not too sure as this uses code to implement the solution. I converted the image to a byte array -
5 of 4125 lines

0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 

but I am not sure how to use this in the BLE Byte array block. I tried placing it a variable via a text block but that didn’t work. If I to create a list, would it be an entry for each one in this file ( 66,000 elements)?

Yeah, the byte array should be set as a list with whatever is attached sending one byte of data.

.

It would be large if sending but maybe you could try to use the make list from text block with a variable to convert the byte array and then attach it to the list block?

Ok,

So I tried this -

The Simple List shows the items but no dice on the printer output. I tried setting the data as the variable alone and it causes the app to crash.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.