Bot for printing and scanning on the public printer of Innopolis University on the 5th floor.
Bot which allows to print and scan with different parameters using the Telegram messenger.
It has ready-to-use components, so it's easy to add functionality.
- AIOGram as framework for Telegram Bot API
- FastAPI as Web framework and uvicorn for running it
- LibreOffice:
- unoserver for converting documents to PDF using LibreOffice
- PyPDF4 for reading PDF files
- Apple CUPS (for printing):
- pycups for interaction with CUPS
- pycups-notify for receiving notifications about the status of a print job
- Docker image for deployment
- eSCL protocol for scanning
- Rename .env-example to
.env
. - Edit it
It is used by CUPS
Edit Printer.ppd if necessary
Now it contains drivers for "Kyocera ECOSYS M3645dn"
To run use Docker:
docker-compose build
docker-compose -d up # -d to run in background
docker-compose ps