[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879171: cups: failed to recognize a driver of CP310dm



On Mon 30 Oct 2017 at 13:10:05 +0900, Atsuhito Kohda wrote:

> Hi Brian,
> 
> On Fri, 27 Oct 2017 11:07:07 +0100, Brian Potkin wrote:
> 
> > There is something wrong with your CUPS installation (or the file
> > itself). I've never seen this in normal operation. It indicates that
> > a simple text file will not be printed. Try to rectify this with
> > 
> >  apt-get --reinstall install cups-daemon
> >  apt-get --reinstall install cups-core-drivers
> > 
> > to install the package versions of mime.types and mime.convs in
> > /usr/share/cups/mime.
> 
> > Remove the .deb you downloaded from fujixerox and install the package
> > printer-driver-fujixerox from the Debian archives. It also comes from
> > fujixerox but it puts files in the right places on the system. Set up
> > the printer as before. This works for me to get a printable version
> > of nsswitch.
> 
> I did reinstall cups-daemon and cups-core-drivers (2.2.5-2),
> then removed (purged in fact) fxlinuxprint and then installed
> printer-driver-fujixerox.
> 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?
> 
> So I removed printer-driver-fujixerox then installed
> fxlinuxprint.  Then cups added a printer CP310 but
> its printer driver was show as "Local Raw Printer" wrongly.
> 
> But if I downgraded cups to 2.2.4-7, then cups can add
> a printer CP310 and its printer driver is correctly
> "FX Printer Driver for Linux".
> 
> Further, under this situation, the command
> cupsfilter -p /etc/cups/ppd/CP310.ppd -m printer/CP310 -e /etc/nsswitch  2>log.stretch
> produced a line:
> 
> cupsfilter: Unable to determine MIME type of "/etc/nsswitch".
> 
> so I doubt this is any problem.  I can print a test file
> with CP310 (under cups 2.2.4-7).
> It looks to me that cups 2.2.5 has some regression.

Atsuhito, let's stick with testing using cups 2.2.5-2. I assume the
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

(Replace ..... with what you get from the two lpinfo commands).


Do

 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
that is without error, try printing with

 lp -d fuji /etc/nsswitch

-- 
Brian.


Reply to: