cancel
Showing results for 
Search instead for 
Did you mean: 
Tirex New Member
New Member

Xerox WorkCenter 5855 and ubuntu driver installation

Product Name: WorkCentre 5855
Operating System: Linux
I have a corporate printer Xerox WorkCenter 5855. We need to setup driver in docker (ubuntu) to print document from application. 
Tried to install via cups 
#install cups
apt-get install cups cups-filters cups-pdf
#install xerox driver
dpkg -i Xeroxv5Pkg-Linuxx86_64-5.20.626.4179.deb
#copy ppd
cp /opt/Xerox/prtsys/ppd/XRWC5845.ppd  /usr/share/ppd
#use lpadmin to add printer
/usr/sbin/lpadmin -p t2 -E -m XRWC5845.ppd -v lpd://172.28.6.141/
lp -d t2 test.txt
#tasks shown as completed but printer not have received any tasks
lpstat -W completed
t2-27 root 1024 Wed Aug 29 05:07:29 2018

Can anyone help to do right steps to setup printer with CUPS?
Tags (3)
0 Kudos
1 Reply
Analyst Nation Moderator Joe053204-hcl
Analyst Nation Moderator

Re: Xerox WorkCenter 5855 and ubuntu driver installation

Troubleshooting via Command line is a PITA.

If the job isn't in the CUPS queue, it must have made it to the printer, if it did not print it can be found under Job Status > Completed Jobs. it will be a failed job, so touch it and it should give some sort of fault, with the fault you can start troubleshooting.

If it happens to be CUPS 2.2, there was an issue, I have no idea if it has been resolved, but it could work doing this:

If you want to use the driver use the following steps. They require in some part root access, be careful.

  1. Install the driver package, in my case I use ubuntu one. It will create a bunch of files in /opt/Xerox/prtsys
  2. navigate to that directory: cd /opt/Xerox/prtsys
  3. as root, copy the file XeroxQScript in /usr/lib/share/cups/filters:  sudo cp XeroxQScript /usr/lib/share/cups/filters
  4. replace XeroxQScript with a dummy ppd file containing the following 4 lines
  • *PPD-Adobe: "4.3"
  • *cupsFilter: "application/postscript 0 /usr/lib/cups/filter/XeroxQScript"
  • *cupsFilter: "application/pdf 0 /usr/lib/cups/filter/XeroxQScript"

 5. replace XeroxXSF with a dummy ppd file containing:

  • *PPD-Adobe: "4.3
  • *cupsFilter: "text/plain 0 -"

6. Run as root xeroxprtmgr and add the printer

 *PPD-Adobe: "4.3"

 *cupsFilter: "text/plain 0 -"

6- Run as root xeroxprtmgr and add the printer!

 

Please be sure to select "Accept Solution" and or select the thumbs up icon to enter Kudos for posts that resolve your issues. Your feedback counts!

Joe
0 Kudos