Skip to content
Advertisement

Why I can’t create a cups connection in my raspberry pi using python?

I want to use python code to print to my printer. I installed all the required module but it’s not running. The error I got is

JavaScript

I got the code from the internet here’s the code

JavaScript

my expected output is like this EPSON_LX-300 usb://EPSON/LX-300+?serial=L010209081 RICOH_Aficio_SP_100 usb://RICOH/ Aficio?serial=T382M977983 but I received an error.

Advertisement

Answer

you wouldn’t have installed cups instead of pycups?

suggestion:

JavaScript

and try again

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement