Hi Brian,

On Mon, 30 Oct 2017 08:59:48 +0000, Brian Potkin wrote:

>> But when I try to add printer CP310 it failed because
>> cups claimed "can't copy PPD file".
> 
> This is usually an indication that cups cannot find that PPD. But it
> should be installed in /usr/libcups/driver by printer-driver-fujixerox
> as fujixerox with a datestamp of Dec 11 2016. Is it?

Yes, but it looked cups couldn't find it.
$ LANG=C ls -l /usr/lib/cups/driver/fujixerox 
-rwxr-xr-x 1 root root 9948 Dec 12  2016 /usr/lib/cups/driver/fujixerox

> Atsuhito, let's stick with testing using cups 2.2.5-2. I assume the

Okay.

> printer is connected by USB. Fing its URI with 'lpinfo -v'. It begins
> with "usb://". Now locate the PPD with 'lpinfo -m | grep fujixerox'
> Then set up the printer with
> 
>  lpadmin -p fuji -v usb://..... -E -m fujixerox:/0/cups/model......ppd

It is connected with WiFi (is this correct english?
Wireless network?).  But I know it is something like
"socket://id numbers"

(For security reason, I stopped to open WSD and Bonjour port
of the printer.)

>  cupsfilter -p /etc/cups/ppd/fuji.ppd -m printer/foo -e --list-filters 
> /etc/nsswitch
> 
> Or use any other text or image file or a PDF instead of nsswitch. If

It looked okay perhaps
$ LANG=C sudo cupsfilter -p /etc/cups/ppd/fuji.ppd -m printer/foo -e 
--list-filters /etc/nsswitch
cupsfilter: File "/usr/lib/cups/filter/pdftopjlfx" permissions OK 
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/pstopdffx" permissions OK 
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/commandtops" permissions OK 
(040755/uid=0/gid=0).
cupsfilter: Unable to determine MIME type of "/etc/nsswitch".

(but the last line again)

However with another test file,
$ LANG=C sudo cupsfilter -p /etc/cups/ppd/fuji.ppd -m printer/foo -e 
--list-filters ./test.html 
cupsfilter: File "/usr/lib/cups/filter/pdftopjlfx" permissions OK 
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/pstopdffx" permissions OK 
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/commandtops" permissions OK 
(040755/uid=0/gid=0).
texttopdf
pdftopdf
pdftopdffx
pdftopjlfx

> that is without error, try printing with
> 
>  lp -d fuji /etc/nsswitch

I test with web interface and print test page, it works fine!
Thanks for your valuable help and advice.
I don't know why web interface didn't work correctly
(for me?) and there is really no problem with cups 2.2.5
but, at least, my problem is fixed in fact now.
Thanks again

Best regards,                   2017-10-31(Tue)

-- 
 **************************
 Atsuhito Kohda
 Math. Meth. in Sci., Tokushima Univ.
 atsuhito_k AT tokushima-u.ac.jp

Reply via email to