You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
Hello there,
I want to print graph using thermal printer connected to beaglebone black. But printed graph images did not display clear enough. How can I make printings sharp? sudoku-txt and gfx examples in this repository have really huge difference in sharpness, one is displaying image and another created lines to display it. Do I also need to do printings using lines? Or how can overcome this?
Thank you
Regards,
The text was updated successfully, but these errors were encountered:
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 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.
Sorry I'm just starting to work with the printer will not prompt
Вторник, 4 июля 2017, 23:06 +03:00 от franklin12 ***@***.***>:
Hello how can i save an image in my TTL printer RS232 could help me
Which code could use.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub , or mute the thread .
C уважением, Денис
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there,
I want to print graph using thermal printer connected to beaglebone black. But printed graph images did not display clear enough. How can I make printings sharp? sudoku-txt and gfx examples in this repository have really huge difference in sharpness, one is displaying image and another created lines to display it. Do I also need to do printings using lines? Or how can overcome this?
Thank you
Regards,
The text was updated successfully, but these errors were encountered: