python-escpos/INSTALL

24 lines
745 B
Plaintext
Raw Permalink Normal View History

2010-02-26 08:54:46 +00:00
python-escpos
=============
2013-03-14 06:25:46 +00:00
Ensure the library is installed on ${lib_arch}/${python_ver}/site-packages/escpos
On CLi you must run:
# python setup.py build
# sudo python setup.py install
2010-02-26 08:54:46 +00:00
2012-07-28 23:02:57 +00:00
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
2010-02-26 08:54:46 +00:00
Enjoy !!!
2012-07-28 23:02:57 +00:00
And please, don't forget to ALWAYS add Epson.cut() at the end of your printing :)
2010-02-26 08:54:46 +00:00
Manuel F Martinez <manpaz@bashlinux.com>