1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

Updated to be compatible with libusb1

This commit is contained in:
Manuel F Martinez
2012-07-28 16:02:57 -07:00
parent a019722177
commit e9effc23da
3 changed files with 31 additions and 18 deletions

11
INSTALL
View File

@@ -3,6 +3,17 @@ python-escpos
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>