I'm using Raspbian Jessie with PIXEl version March 2017, 2017-03-02, kernel 4.4.

I'm already installing CUPS and trying some methods.

The methods that I already try and still did not work :

https://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/ Tried to set the printer as Epson 8pin. It works. But the autocutter and cashdrawer did not work.

https://www.youtube.com/watch?v=fGOcgz6z81I (epsonsimplecups) It prints an unknown text... but the cashdrawer function works

Downloaded tmu-cups- Epson driver from epson-biz and did not work also...........

They can detect the printer, but still can not install the driver properly.

any idea how to make Epson TM-U220 work prooperly on raspbian (also need the cashdrawer and autocutter) ?

Tried PythonESCPOS from https://github.com/python-escpos/python-escpos

But when I tried :

python setup.py build

sudo python setup.py install

It can not works... give me error message...

Here's the error messages :

pi@raspberrypi:~/escpos/python-escpos $ python setup.py build
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
your setuptools is too old (<12)
setuptools_scm functionality is degraded
Traceback (most recent call last):
  File "setup.py", line 138, in <module>
    'python-escpos = escpos.cli:main'
  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
  File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
    ep.load()(self, ep.name, value)
  File "build/bdist.linux-x86_64/egg/setuptools_scm/integration.py", line 19, in version_keyword
  File "build/bdist.linux-x86_64/egg/setuptools_scm/__init__.py", line 123, in get_version
  File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 133, in format_version
  File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 105, in guess_next_dev_version
  File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 97, in guess_next_version
AttributeError: 'NoneType' object has no attribute 'groups'

same error on : sudo python setup.py install
  • Please edit your question. What do you mean by "It did not work"?. Can you please tell us what you did and post the error messages you received? – MadMike Mar 15 '17 at 13:29
  • 1
    Does it need to work as a CUPS printer? If not, maybe python-escpos as discussed here might help you. – MadMike Mar 15 '17 at 13:43
  • First I Install cups n tried howtogeek method. But still the Epson TM-U220 did not show up. I tried with Epson 8pin it can print. But the autocutter and cashdrawer did not work... Then I tried the youtube method. Also did not work either... – Sidhi Ciang Mar 15 '17 at 14:04
  • let me try the python-escpos :) – Sidhi Ciang Mar 15 '17 at 14:05
  • 1
    Please edit the question and add the error messages. I can't help you without those. – MadMike Mar 16 '17 at 5:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.