Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
3c749d8fa1 | 5 lat temu | |
---|---|---|
__pycache__ | 5 lat temu | |
.gitignore | 5 lat temu | |
README.md | 5 lat temu | |
apirequest.py | 5 lat temu | |
convertimage.py | 5 lat temu | |
imageprinter.py | 5 lat temu | |
pattern | 5 lat temu | |
print.py | 5 lat temu | |
print_image.py | 5 lat temu | |
print_old.py | 5 lat temu | |
run.py | 5 lat temu | |
run.sh | 5 lat temu | |
testbasic.bas | 5 lat temu |
README.md
#Pin Print Python
(printer needs to be connected on /dev/usb/lp0, otherwise change in script)
prints the publication with
python3 print.py
takes an image (currently img.img) converts it to bitmap and prints it on the pin printer
run
python3 print_image.py --img /path/to/img