Ai
1 Star 0 Fork 1

Mingcai SHEN/escpos-python

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
INSTALL 679 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mingcai SHEN 提交于 2013-07-18 12:31 +08:00 . Initialized from python-escpos.
escpos-python
=============
Ensure it is present under ${lib_arch}/${python_ver}/site-packages/escpos
On Linux, ensure you belongs to the proper group so you can have access to the printer.
This can be done, by adding yourself to 'dialout' group, this might require to re-login
so the changes make effect.
Then, add the following rule to /etc/udev/rules.d/99-escpos.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0202", MODE="0664", GROUP="dialout"
and restar udev rules.
# sudo service udev restart
Enjoy !!!
And please, don't forget to ALWAYS add Epson.cut() at the end of your printing :)
Manuel F Martinez <manpaz@bashlinux.com>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/archsh/escpos-python.git
git@gitee.com:archsh/escpos-python.git
archsh
escpos-python
escpos-python
master

搜索帮助