Hi i'm new here, i'm making a python programme and i wan't to use my shinko s2145 as printer. for that i'm using cups in version 2.2.10 on a raspbian buster.
In cups the driver used is gutenprint v5.3.1
this is the /etc/cups/printer.conf file:
It's not clear what you're actually asking -- is the printer not functioning? Are you able to print the test page via the CUPS UI?
If the printer is functional and you are asking for help integrating printing support into a random python application, that is beyond Gutenprint's purview. There are already multiple existing photobooth applications for Linux (including several written in Python), so you might want to look at how they do things to give you an idea how to proceed. (Typically they directly invoke the CUPS command line tools (eg lpr) or natively interact with the CUPS API using pycups..)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi i'm new here, i'm making a python programme and i wan't to use my shinko s2145 as printer. for that i'm using cups in version 2.2.10 on a raspbian buster.
In cups the driver used is gutenprint v5.3.1
this is the /etc/cups/printer.conf file:
<printer shinko_chc-s2145="">
UUID urn:uuid:4f88dad6-31cd-362e-44a5-e4eeb9ea8b0e
Info SHINKO CHC-S2145
Location Photobooth
MakeModel Shinko CHC-S2145 - CUPS+Gutenprint v5.3.1
DeviceURI gutenprint53+usb://shinko-chc2145/5GC692
State Idle
StateTime 1583877942
ConfigTime 1583878423
Type 4172
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</printer>
thanks a lot for the help
It's not clear what you're actually asking -- is the printer not functioning? Are you able to print the test page via the CUPS UI?
If the printer is functional and you are asking for help integrating printing support into a random python application, that is beyond Gutenprint's purview. There are already multiple existing photobooth applications for Linux (including several written in Python), so you might want to look at how they do things to give you an idea how to proceed. (Typically they directly invoke the CUPS command line tools (eg lpr) or natively interact with the CUPS API using pycups..)
Hi sorry if i'm not clear. when i lauch a print, Cups return "invalid backend (shink chc2145" the same if i wan't to print a test page
Ah, okay! This is a known problem in the 5.3.1 release, but there's an easy fix:
Shut down CUPS, edit printers.conf, and change this line:
DeviceURI gutenprint53+usb://shinko-chc2145/5GC692
To this:
DeviceURI gutenprint53+usb://shinko-chcs2145/5GC692
Then start CUPS again, and all should be well.