LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   CUPS 1.4.4 refuses to Add Printer with color for Xerox Phaser 6180MFP-D (https://www.linuxquestions.org/questions/debian-26/cups-1-4-4-refuses-to-add-printer-with-color-for-xerox-phaser-6180mfp-d-904832/)

bgoodr 09-24-2011 03:55 PM

CUPS 1.4.4 refuses to Add Printer with color for Xerox Phaser 6180MFP-D
 
I am trying to install a printer into CUPS. This installed just fine
on an earlier version of Debian on a similar laptop, but the recent
version of Debian and/or CUPS is not allowing it to show up as a color
printer, and the test print page is in grayscale.

This is a fresh install of Debian with this configuration:


Code:

root@bg1:~# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 NETINST Binary-1 20110628-13:01]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 NETINST Binary-1 20110628-13:01]/ squeeze main

deb http://debian.osuosl.org/debian/ squeeze main non-free contrib
deb-src http://debian.osuosl.org/debian/ squeeze main non-free contrib

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://debian.osuosl.org/debian/ squeeze-updates main contrib non-free
deb-src http://debian.osuosl.org/debian/ squeeze-updates main contrib non-free
root@bg1:~#


The "grayscale" part of the following is wrong and the page this is
showing up on does not seem to have a way to change it over to be
color:


Code:

Description:Xerox Xerox Phaser 6180MFP-D Location:
Driver:Xerox Phaser 6180MFP-D Foomatic/Postscript (grayscale, 2-sided printing)
Connection:socket://192.168.1.20 Defaults:job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

I'm running this version of CUPS which I believe is the latest version for this version of Debian:


Code:


root@bg1:~# dpkg --list cups\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ii  cups          1.4.4-7        Common UNIX Printing System(tm) - server
ii  cups-bsd      1.4.4-7        Common UNIX Printing System(tm) - BSD comman
ii  cups-client    1.4.4-7        Common UNIX Printing System(tm) - client pro
ii  cups-common    1.4.4-7        Common UNIX Printing System(tm) - common fil
ii  cups-driver-gu 5.2.6-1        printer drivers for CUPS
un  cups-pdf      <none>        (no description available)
ii  cups-pk-helper 0.1.0-2        PolicyKit helper to configure cups with fine
ii  cups-ppdc      1.4.4-7        Common UNIX Printing System(tm) - PPD manipu
un  cups-pt        <none>        (no description available)
un  cupsddk        <none>        (no description available)
un  cupsddk-driver <none>        (no description available)
un  cupsomatic-ppd <none>        (no description available)
un  cupsys-driver- <none>        (no description available)
root@bg1:~#

Yes, I have tried downloading and using the PPD file from Xerox for
this printer, but it fails with a "range" error when I click on "Query
Printer for Default Options".

Anyone know what I can try next?

Thanks,
bg

radiodee1 09-25-2011 06:45 AM

I really don't know if it will help your problem, but there's a newer version of cups in testing. You might consider moving to testing in order to take advantage of that. Like I say, I don't know if it will help you out. It's 1.5.0-5 as of this post.

bgoodr 09-25-2011 08:50 AM

Quote:

Originally Posted by radiodee1 (Post 4481657)
I really don't know if it will help your problem, but there's a newer version of cups in testing. You might consider moving to testing in order to take advantage of that. Like I say, I don't know if it will help you out. It's 1.5.0-5 as of this post.

Thanks, however, I have one other system (albeit a 64-bit Debian install) that has the exact same version of CUPS installed, and it prints color just fine. Something is misconfigured in the CUPS system. What exactly I don't know. I don't know where to start other than the laborious job of reading the entire CUPS manual from back to back.

Thanks,
bg

widget 09-25-2011 12:21 PM

Have you tried;
Code:

apt-get install --reinstall cups
doesn't take long and may just help.
Code:

dpkg-reconfigure cups
may help too.

I would, if possible, see how the configuration files on your other install and the problem one compare. May be a clue there.

bgoodr 09-25-2011 05:04 PM

Quote:

Originally Posted by widget (Post 4481849)
Have you tried;
Code:

apt-get install --reinstall cups
doesn't take long and may just help.
Code:

dpkg-reconfigure cups
may help too.

No, I have not tried that, because I have a workaround (see below).

Quote:

Originally Posted by widget (Post 4481849)
I would, if possible, see how the configuration files on your other install and the problem one compare. May be a clue there.

That is exactly correct. I figured out that PPD files are text files
that could be compared using diff. When comparing the PPD file that
worked (/etc/cups/ppd/Xerox-6180MFP-D.ppd) to the one that did not
work (/etc/cups/ppd/Xerox_Xerox_Phaser_6180MFP-D.ppd) I found the key
difference being the *ColorDevice setting in the working PPD
file but not in the other:

Code:

diff /etc/cups/ppd/Xerox-6180MFP-D.ppd /etc/cups/ppd/Xerox_Xerox_Phaser_6180MFP-D.ppd
23c23
< *% You may save this file as 'Xerox-Phaser_6180-Postscript.ppd'
---
> *% You may save this file as 'Xerox-Phaser_6180MFP-D-Postscript.ppd'
32c32
< *Product:    "(Phaser 6180)"
---
> *Product:    "(Phaser 6180MFP-D)"
39,41c39,41
< *ModelName:    "Xerox Phaser 6180"
< *ShortNickName: "Xerox Phaser 6180 Postscript"
< *NickName:      "Xerox Phaser 6180 Foomatic/Postscript (recommended)"
---
> *ModelName:    "Xerox Phaser 6180MFP-D"
> *ShortNickName: "Xerox Pha. 6180MFP-D Postscript"
> *NickName:      "Xerox Phaser 6180MFP-D Foomatic/Postscript"
58,59c58,59
< *ColorDevice:    True
< *DefaultColorSpace: RGB
---
> *ColorDevice:    False
> *DefaultColorSpace: Gray
64c64
< *1284DeviceID: "DRV:DPostscript,R1,M0,TP;"
---
> *1284DeviceID: "MFG:Xerox;MDL:Phaser 6180MFP-D;CMD:Adobe PostScript 3, PCL;DES:Xerox Phaser 6180MFP Color Laser Printer, PostScript 3, Letter/A4 Size;DRV:DPostscript,R0,M0,TP;"
69a70
> *driverManufacturerSupplied: False
76c77
< *FoomaticIDs: Xerox-Phaser_6180 Postscript
---
> *FoomaticIDs: Xerox-Phaser_6180MFP-D Postscript
148,157d148
< *OpenUI *Resolution/Resolution: PickOne
< *OrderDependency: 110 AnySetup *Resolution
< *DefaultResolution: default
< *Resolution default/Printer Default: ""
< *Resolution 150x150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice"
< *Resolution 300x300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
< *Resolution 600x600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
< *Resolution 1200x1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
< *CloseUI: *Resolution
<
160c151
< *DefaultDuplex: DuplexNoTumble
---
> *DefaultDuplex: None
164a156,164
>
> *OpenUI *Resolution/Resolution: PickOne
> *OrderDependency: 90 AnySetup *Resolution
> *DefaultResolution: 600x600dpi
> *Resolution 150x150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice"
> *Resolution 300x300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
> *Resolution 600x600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
> *Resolution 1200x1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
> *CloseUI: *Resolution

I believe now that there must be a bug that makes it think that the
6180-MFP-D device is any different than the 6180 device (it is the
same device but perhaps with scanner capability).

I conclude that there is a bug somewhere in CUPS whereby the 1.4.4-7
version assigns a PPD for the 6180-MFP-D device without color, but the
6180 device with color. Specifically, what I had done earlier that
had grayscale was selecting the

Code:

Xerox Phaser 6180MFP-D Foomatic/Postscript
make of printer that yields grayscale, but then I deleted that printer
and then instead added a new printer with this selection:

Code:

Xerox Phaser 6180 Foomatic/Postscript (recommended)
Once the printer is set to the latter, and not the former, make of
printer, I can now print in color.

EDIT: I filed a bug report against Debian at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642960

widget 09-25-2011 10:59 PM

Sounds good to me.


All times are GMT -5. The time now is 12:35 AM.