I've tried this:

root@apu:/tmp# lpadmin -p newq -v
'usb://EPSON/WF-2530%20Series?serial=514B34593134343081&interface=1'
-E -m 
escpr:0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en.ppd
root@apu:/tmp# cupsfilter -p /etc/cups/ppd/newq.ppd -d newq -m
printer/foo -e /etc/nsswitch.conf > file.out 2> newq.log
root@apu:/tmp# grep 'exited with no errors' newq.log
INFO: texttopdf (PID 2569) exited with no errors.
INFO: pdftopdf (PID 2570) exited with no errors.
INFO: gstoraster (PID 2571) exited with no errors.
INFO: epson-escpr-wrapper (PID 2572) exited with no errors.

and I can actually print

2016-11-02 11:19 GMT+01:00 Brian Potkin <claremont...@gmail.com>:
> On Tue 01 Nov 2016 at 23:17:23 +0100, Matteo Croce wrote:
>
>> 2016-10-28 15:39 GMT+02:00 Brian Potkin <claremont...@gmail.com>:
>> >
>> > Set up a new queue with a different PPD:
>> >
>> >  lpadmin -p newq -v file:/dev/null -E -m 
>> > escpr:/0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en-ppd
>> >
>> > Without any symlinking print to the queue in any way you choose and look
>> > at the error log. Is "Cannot get option of PIPS" still there?
>>
>> I get this:
>>
>> # lpadmin -p newq -v file:/dev/null -E -m
>> escpr:/0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en-ppd
>> lpadmin: Unable to open PPD "/tmp/045f3581fdf83": Missing
>> PPD-Adobe-4.x header on line 0.
>>
>> maybe the device name is wrong?
>
> It is! I copied it from the screen of my test machine to my main machine
> and from habit automatically put a "/" after the ":". Well-spotted.
>
>> # lpinfo -m |grep -i WF-100
>> escpr:0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en.ppd
>> EPSON WF-100 Series , Epson Inkjet Printer Driver (ESC/P-R) for Linux
>>
>> I've retried with this device:
>>
>> # lpadmin -p newq -v file:/dev/null -E -m
>> escpr:0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en.ppd
>>
>> > Alternatively:
>> >
>> >  cupsfilter -p /etc/cups/ppd/newq.ppd -d newq -m printer/foo -e 
>> > /etc/nsswitch.conf > file.out 2> newq.log
>> >
>> > Does newq.log contain lines like this?
>> >
>> >  gstoraster (PID nnnnn) exited with no errors.
>> >  epson-escpr-wrapper (PID nnnnn) exited with no errors.
>>
>> # grep 'exited with no errors' newq.log
>> INFO: texttopdf (PID 18625) exited with no errors.
>> INFO: pdftopdf (PID 18626) exited with no errors.
>> INFO: gstoraster (PID 18627) exited with no errors.
>> INFO: epson-escpr-wrapper (PID 18628) exited with no errors.
>
> That is exactly what should happen.
>
> Now would you repeat the lpadmin and cupsfilters commands but use the
> PPD for your printer. (That's the only change to make). How does it go?
>
> To actually print to the printer you will have to have -v as
>
>  usb://EPSON/WF-2530%20Series?serial=514B34593134343081&interface=1"
>
> I got that from your error_log. You can check it with 'lpinfo -v'.
>
> Can you print?
>
> Cheers,
>
> Brian.

Reply via email to