Python-Thermal-Printer

时间:2021-05-02 11:48:44
【文件属性】:
文件名称:Python-Thermal-Printer
文件大小:43KB
文件格式:ZIP
更新时间:2021-05-02 11:48:44
Python Python-Thermal-Printer模块 原始Adafruit 库的Python3端口。 入门 安装Raspbian Buster并根据连接打印机。 我也通过GPIO引脚为打印机供电。 通过将以下命令打入终端,进行测试以查看打印机是否正常工作。 stty -F /dev/serial0 19200 echo -e "This is a test.\\n\\n\\n" > /dev/serial0 正在安装 更新系统并安装配件。 sudo apt-get update sudo apt-get install git cups wiringpi build-essential libcups2-dev libcupsimage2-dev python3-serial python-pil python-unidecode 安装打印机驱动程序。 不用担心g ++发出的警告。 g
【文件预览】:
Python-Thermal-Printer-master
----twitter.py(5KB)
----main.py(6KB)
----Adafruit_Thermal.py(22KB)
----__pycache__()
--------Adafruit_Thermal.cpython-37.pyc(15KB)
----calibrate.py(1KB)
----gfx()
--------__init__.py(66B)
--------timetemp.png(5KB)
--------sudoku.png(1KB)
--------adaqrcode.py(12KB)
--------adalogo.py(4KB)
--------hello.png(1KB)
--------goodbye.png(2KB)
----sudoku-txt.py(10KB)
----printertest.py(2KB)
----timetemp.py(6KB)
----README.md(1KB)
----forecast.py(2KB)
----sudoku-gfx.py(7KB)

网友评论