Skip to content

granasat/MathChallengeBot

 
 

Repository files navigation

Telegram Bot that receives a pic and print it using a FENIX IMVICO VL42 (Epson TK41)

This project prints a ticket for the event "Quiero ser ingeniera", organized by University of Granada.

Telegram Bot works with pyTelegramBotAPI

Thermal printer FENIX IMVICO VL42 (Epson TK41) works with the library developed by Pablo Garrido, ThermalLibrary, with some modifications.

Thermal ESC/POS Ticket Printing Library

The Thermal Library implements lots of commands according to the ESC/POS standard:

  • Start the serial connection with the printer
  • Format text: emphasis, underline, align, character size, text rotation, inverted colors (white text and black background).
  • Change between small or standard font size
  • Resize and print bitmaps given as a arbitrary image format (JPEG,PNG...)

Here you can find two sample programs which use the Thermal Library:

  • A preview generator: preview.py
  • A sample printing program: ThermalPhoto.py

Some samples:

In

Out

About

Thermal ESC/POS Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.1%
  • JavaScript 27.5%
  • CSS 6.6%
  • HTML 5.8%