Hello again, I want to update my question:

using thermal printer to print image containing two graphs (width is 
384pixel wide as it is expected from the printer). Adafruit thermal printer 
link 
<https://learn.adafruit.com/mini-thermal-receipt-printer/bitmap-printing> 
states 
that thermal printer can just print binary(monochrome) images. So I 
converted png image to bmp using zam-zam online vonverter. And used LCD 
Assitant software to get data values of the image. After this I run the 
python code to print the image as printertest.py did  
from PIL import Image 
from Adafruit_Thermal import * 
printer = Adafruit_Thermal("/dev/ttyO4", 19200, timeout=5) 
import rot as result 
printer.printBitmap(result.width, result.height, result.data) 
printer.println("Adafruit!") 
printer.feed(1)

But nothing got printed, excepts Adafruit line.

When I did print of png image converted to monochrome image by using PIL 
library, at least I was able to see unclear graph. How can I get clear 
graph prints from adafruit thermal printer? I really appreciate all your 
suggestions.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to