On Sun 23 Oct 2016 at 20:57:07 +0200, Matteo Croce wrote: > Package: printer-driver-escpr > Version: 1.6.8-1 > Severity: important > > Dear Maintainer, > > I have cups installed on a headless system, but can't print anything. > I ran strace on what the backend does, and it's doing: > > stat("/etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd", > 0x7ffe5cf95530) = -1 ENOENT (No such file or directory) > PPD file not found, or PPD file is broken. Cannot get option of PIPS. > +++ exited with 1 +++ > > The path > "/etc/cups/ppd//usr/lib/cups/filter/eipson-escpr-wrapper.ppd" > is obviously wrong, the real path is /etc/cups/ppd/Epson_2530.ppd > > The environment passed to the backend is: > > AUTH_INFO_REQUIRED=none > CHARSET=utf-8 > CONTENT_TYPE=application/pdf > CUPS_CACHEDIR=/var/cache/cups > CUPS_DATADIR=/usr/share/cups > CUPS_DOCROOT=/usr/share/cups/doc-root > CUPS_ENCRYPTION=IfRequested > CUPS_FILETYPE=document > CUPS_FONTPATH=/usr/share/cups/fonts > CUPS_MAX_MESSAGE=2047 > CUPS_REQUESTROOT=/var/spool/cups > CUPS_SERVERBIN=/usr/lib/cups > CUPS_SERVERROOT=/etc/cups > CUPS_SERVER=/var/run/cups/cups.sock > CUPS_STATEDIR=/var/run/cups > DEVICE_URI=usb://EPSON/WF-2530%20Series?serial=514B34593134343081&interface=1 > FINAL_CONTENT_TYPE=application/vnd.cups-raster > HOME=/var/spool/cups/tmp > IPP_PORT=631 > LANG=it_IT.UTF-8 > PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin > PPD=/etc/cups/ppd/Epson_2530.ppd > PRINTER=Epson_2530 > PRINTER_INFO=EPSON WF-2530 Series > PRINTER_LOCATION= > PRINTER_STATE_REASONS=none > PWD=/ > RIP_MAX_CACHE=128m > SERVER_ADMIN=root@apu > SOFTWARE=CUPS/2.2.1 > TMPDIR=/var/spool/cups/tmp > USER=root > > and it's spawned with such command line: > > /usr/lib/cups/filter/epson-escpr-wrapper 89 matteo Epson_2530 - CUPS > 2.2.1 1 PageSize=A4 Collate ColorModel=Grayscale Duplex=None > 'job-uuid=urn:uuid:e3dad89b-99e3-3df3-5b1b-bc3d323dfbdc > job-originating-host-name=192.168.85.2 date-time-at-creation= > date-time-at-processing= time-at-creation=1477246475' > time-at-processing=1477247385
Thank you for your detailed report, Matteo. Please enable debug logging on the server and obtain an error_log for a job to post here. The printing section of the wiki should help you with this. Would you also run the command (as root is less hassle): cupsfilter -p /etc/cups/ppd/Epson_2530.ppd -m printer/foo -e /etc/nsswitch.conf > file.out 2> wf2530.log and post wf2530.log. Check that file.out exists and is identified as "data". Regards, Brian.