Thursday, August 30, 2012

Printing with Xerox WorkCentre 6015NI on Ubuntu 12.04 LTS 64 bits

Currently, the only available drivers for the Xerox WorkCentre 6015NI for Linux are a 32bits deb package and a 64/32 bits rpm. The last one made me able to get the printer working under Ubuntu 12.04 LTS 64 bits. So download the zipped RPM at the following location:

Xerox WorkCentre 6015 NI Linux Drivers

Unpack the zip file:

unzip Xerox-WorkCentre-6015B_6015N_6015NI-1.0-28.i586.zip

Then use the rpm2cpio command to extract the contents of the RPM file:

rpm2cpio Xerox-WorkCentre-6015B_6015N_6015NI-1.0-28.i586.rpm | cpio -idmv

(hint: use sudo apt-get install rpm2cpio to install this tool)

Now we have the following files:

./usr/lib/cups/filter
./usr/lib/cups/filter/xrhk1ap
./usr/lib/cups/filter/xrhk2ap
./usr/lib/xrhk1acl.so
./usr/share/cups/Xerox
./usr/share/cups/Xerox/dlut
./usr/share/cups/Xerox/dlut/xrhk1alut.dat
./usr/share/cups/model/Xerox
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015B-fr.ppd.gz
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015B.ppd.gz
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015N-fr.ppd.gz
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015N.ppd.gz
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015NI-fr.ppd.gz
./usr/share/cups/model/Xerox/Xerox-WorkCentre-6015NI.ppd.gz

Before we start copying these files, make sure that the ownership is set to root.root:

sudo chown -R root.root ./usr

At some point Ubuntu prefers the ppd files unzipped:

sudo gunzip ./usr/share/cups/model/Xerox/*.gz

Now, copy the directory structure into your /usr folder:

sudo cp -R ./usr /usr

Before we can configure the printer in the printer configuration window, make sure the following i386 versions of libraries are installed:

sudo apt-get install libstdc++6:i386 libcupsimage2:i386 libtiff4:i386 libjpeg8:i386 libpng12-0:i386

If the printer is USB connected, the printer installation at System Settings will find the 6015 NI automatically and will find also find the drivers.

8 comments:

  1. Hi Marijn,
    Thanks for this post. I have Ubuntu 12.04 64bit with Xerox 6015B, but I have this bug: http://ubuntuforums.org/showthread.php?p=12204872 Do you have this problem with colour printing?

    ReplyDelete
  2. Marijn,
    Thanks.
    I have Ubuntu 12.04 32 bit with Xerox Workcentre 6015NI.
    The printfunction work now very good, but the scanmodule is not working.
    Have you also a solution for this problem?
    Philippe

    ReplyDelete
    Replies
    1. Did you ever find a solution for the scanning problem? I used the deb driver and the printer will print OK. But so far no scanning. I'm using the 32 bit version of Ubuntu 12.04.

      Delete
  3. I must confess, I missed the colour issue in the first place and yes, I'm having this problem too! Meanwhile, I searched contact with Xerox by phone, which has been one of the worst experiences of the week. I told them, that having a printer with small penguin stickers on it, are expected to work flawlessly under Linux. They held me of by saying: you should use an OS which is supported by us, either Debian 32 bits / or Red Hat / SUSE 32/64 bits, I asked, why not Debian-ish 64 bits on which they answered: that's just not what we support!

    Shame on Xerox!

    Advice to Xerox: don't make packages, support cups.org!

    ReplyDelete
  4. Thanks for this blogpost.
    I followed the steps and was able to configure the printer under Linux Mint.
    However when I hit the "Print Test Page" button, the printer complained about the paper size (I use A4 paper and the printer wants a letter size paper).
    Changing the papersize to a4 using the command "sudo paperconfig -p a4", didn't fix this problem, because when I hit the "Print Test Page" button again the printer now prints a test-page and then complains about the wrong paper size for another test-page he wants to print. Any help on how to make A4 the default for this printer?

    ReplyDelete
  5. Hi,
    I converted the 32/64bit RPM driver package to a DEB package on a 32-bit Ubuntu System using Alien Package Converter. 32/64-bit DEB package for download here:
    http://www.file-upload.net/download-8273860/xerox-workcentre-6015b-6015n-6015ni_1.0-29_64.deb.html
    After installation of the DEB package on my 64bit Ubuntu System and a reboot, the Workcentre 6015 series printers show up in the printer selection list. Choose your printer. Make sure to add the correct IP-adress of the printer:
    socket://192.168.0.10:9100
    (192.168.0.10 is the sample IP-adress; 9100 is the printer port)
    Cheers

    ReplyDelete
  6. Xerox is good printing machine for medium level offices and business the Ink Toner Cartridges is not that much heavy as compare to other branded machines.

    ReplyDelete