A web interface to interact with a thermal printer
Go to file
2020-12-26 18:57:40 +01:00
static Added the files of the project, 2018-10-14 23:12:47 +02:00
templates Added the files of the project, 2018-10-14 23:12:47 +02:00
.gitignore Added the virtualenv files 2020-12-26 18:55:59 +01:00
LICENSE Initial commit 2018-10-14 22:58:04 +02:00
littleprynter.py Moved to Python3, and moved to the new Adafruit Library 2020-01-16 16:23:27 +01:00
mastodon_writing_prompt.py Added the files of the project, 2018-10-14 23:12:47 +02:00
pip-selfcheck.json Added the files of the project, 2018-10-14 23:12:47 +02:00
README.md Moved to Python3, and moved to the new Adafruit Library 2020-01-16 16:23:27 +01:00
requirements.txt Updated requirements. Use most recent version 2020-12-26 18:57:40 +01:00
users.json Added the files of the project, 2018-10-14 23:12:47 +02:00

Little Prynter


Print out shit from the cloud.

About

This project started when I got a Thermal Printer from a friend. I don't really know if you can do anything more, but I guess it's fun.

Requirements

To make this project work, you will need :

  • A Thermal Printer
  • A Raspberry Pi
  • Some electric wires.
  • Some knowledge of the command line
  • 3h of your time

Installation

Start by following the guide here to install the CUPS software needed to print images. If you want, you can install it via the command line, following this guide.

You can also get some information from here and here if you're stuck.

Then, setup the project :

git clone https://git.n07070.xyz/n07070/LittlePrynter
cd LittlePrynter
pip install -r requirements.txt

Now, edit the users.json and add a user. Don't forget to remove the test user.

You can now start the web server with

export FLASK_APP=littleprynter.py
flask run

Voilà !

More

If you liked this project, feel free to support my work !

[https://n07070.xyz/post/about-me/about-me/](Donations welcome :-])

Licence

LittlePrynter
   Copyright (C) 2020  N07070

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.