keyboard to thermal printer
Go to file
2024-01-20 18:00:05 +02:00
fonts RTL works 2024-01-14 00:03:03 +02:00
.gitignore nikud api test 2024-01-09 11:55:52 +02:00
.gitmodules text and image 2023-09-20 05:28:09 +01:00 handle new lines 2024-01-20 18:00:05 +02:00 handle new lines 2024-01-20 18:00:05 +02:00
readme before lines 2024-01-09 13:45:23 +02:00 print def 2024-01-09 11:17:33 +02:00

### install
git clone && cd madpeset
git submodule update --init --recursive

python -m venv venv
source venv/bin/activate
pip install pillow==9.5.0 brother_ql
to get the camera working, you need to install the drivers for the camera. I used the [official guide]( to install the drivers.

if you use a webcam try
sudo apt install fswebcam
### Fonts
im using google fonts, you can download them from [here]( and put that `.ttf` file in `fonts/`

### Run
streamlit run
i usually add a tmux session to `~/.bashrc` to run the script on startup

test printer
brother_ql -b pyusb -m QL-550 -p usb://0x04f9:0x2016 print -l 62 pefectFake.jpg --dither