LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-24-2011, 03:55 PM   #1
bgoodr
Member
 
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[567] x86_64, Ubuntu 17.10 x86_64
Posts: 221

Rep: Reputation: 36
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
 
Old 09-25-2011, 06:45 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
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.
 
Old 09-25-2011, 08:50 AM   #3
bgoodr
Member
 
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[567] x86_64, Ubuntu 17.10 x86_64
Posts: 221

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by radiodee1 View Post
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
 
Old 09-25-2011, 12:21 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
Old 09-25-2011, 05:04 PM   #5
bgoodr
Member
 
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[567] x86_64, Ubuntu 17.10 x86_64
Posts: 221

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by widget View Post
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 View Post
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

Last edited by bgoodr; 09-25-2011 at 06:18 PM. Reason: Added Debian bug report URL
 
Old 09-25-2011, 10:59 PM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Sounds good to me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xerox Phaser 6125-N khinch Linux - Hardware 17 03-22-2014 08:25 AM
xerox phaser 3120 printer with SuSE linuxdragon Linux - Hardware 3 07-04-2006 10:53 AM
cann't install xerox phaser 3121 printer mnandi SUSE / openSUSE 2 12-27-2005 10:15 AM
Problems installing Xerox Phaser 3121 printer Chaostar SUSE / openSUSE 1 04-09-2005 02:26 PM
Xerox/Textronix Phaser 8200DP and CUPS driver? akidd Linux - Hardware 0 10-18-2003 09:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration