On Wed 26 Oct 2016 at 12:25:36 +0200, Matteo Croce wrote: > 2016-10-24 23:58 GMT+02:00 Brian Potkin <claremont...@gmail.com>: > > On Mon 24 Oct 2016 at 19:46:51 +0200, Matteo Croce wrote: > > My print queue was set up (all on one line) with > > > > lpadmin -p wf2530 -v file:/home/brian/wf2530 -E > > -m > > escpr:/0/cups/model/epson-inkjet-printer-escpr/Epsom-WF-2530_Series-epson-escpr-en-ppd > > > > and I printed with > > > > lp -d wf2530 /etc/nsswitch.conf > > > > You could try this to see whether it gets printing going for you. > > I get the same error. > I managed to print with: > > # mkdir -p /etc/cups/ppd/usr/lib/cups/filter > # ln -s /etc/cups/ppd/Epson_2530.ppd > /etc/cups/ppd/usr/lib/cups/filter/epson-escpr-wrapper.ppd > # lp -d Epson_2530 /etc/nsswitch.conf
This is indeed a step forward and a possible clue. cupsfilter -p /etc/cups/ppd/wf2530.ppd -m application/vnd.cups-raster /etc/nsswitch.conf > wf2530.ras 2>log produces a raster file for me. I would expect it to do the same for you. /usr/lib/cups/filter/epson-escpr-wrapper 1 1 1 1 1 wf2530.ras > wf2530.data produces a printer ready file from the raster file for me. From what you relate in your initial mail, this is likely not to work for you and wf2530.data will be empty. Part of the strace log from running strace on the second command has stat64("/etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd",{st_mode=S_IFREG|0644, st_size=50341, ...}) = 0 access("/etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd", R_OK) = 0 symlink("/etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd", "/tmp/5810d9a20db33") = 0 open("/tmp/5810d9a20db33", O_RDONLY|O_LARGEFILE) = 4 It seems a PPD file of size 50341 has been found and accessed. A symlink is made to it in /tmp. The link /tmp/5810d9a20db33 exists and points to /etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd. Opening it shows wf2530.ppd. Does the issue come down to whether you are having a link made? And if it is not made, why not? In another mail I wrote cupsfilter -p /etc/cups/ppd/Epson_2530.ppd -m printer/foo -e /etc/nsswitch.conf > file.out 2> wf2530.log It is incorrect. This is better (and works for me): cupsfilter -p /etc/cups/ppd/Epson_2530.ppd -d Epson_2530 -m printer/foo -e /etc/nsswitch.conf > file.out 2> wf2530.log Cheers, Brian.