--- layout: wiki title: XeroxPhaser6125N updated: 2026-02-05 21:39 author: rick default: false --- ## Work in Progress ``` https://wiki.archlinux.org/title/CUPS/Printer-specific_problems#Phaser_6125N https://www.support.xerox.com/support/workcentre-7800-series/file-download/enus.html?operatingSystem=linux&fileLanguage=en&&associatedProduct=WorkCentre-78xx-built-in%20controller&contentId=143137&from=downloads&viewArchived=false Dell 1320CN Fuji Xerox DocuPrint C525A Fuji Xerox CP205 Host Based Printer Languages (HBPL) version 1 https://www.electrical-forensics.com/Linux/foo2zjs-adding-foo2hbpl1.html https://www.dechifro.org/hbpl/ https://github.com/mikerr/foo2zjs https://paulbourke.net/dataformats/ppm/ https://www.pandoricity.com/2022/08/printers-linux-hbpl-zjs-foo2zjs-hbpl1.html https://web.archive.org/web/20200812173436/http://foo2zjs.rkkda.com/forum/read.php?82,3999 https://github.com/macos2/HBPLv1.0_Plus-Printer-driver https://www.support.xerox.com/en-us/product/phaser-6125/downloads?platform=all&category=&language=en&attributeId= ``` ## Solution no longer supported starting from Fedora 27 (CUPS 2.2) Starting from Fedora 27 the printer stopped working. Causing me to dive deeper into the magic world of printing.The printer has HBPL support. Yet the HBPLv1 driver from [foo2zjs](http://foo2zjs.rkkda.com/) does not give me any output at all.The HPBLv2 driver at [foo2hpbl](http://foo2hbpl.rkkda.com/) does not work, giving error code \`PDL ERROR 016-720\`. I am currently using the [Fedora printer debugging guide](https://fedoraproject.org/notes/How_to_debug_printing_problems) to find out how-to get the original driver - which seems to send a modified version of postscript - to work again. I gave up. Swapped printer for older well suported [SamsungML1750](/notes/SamsungML1750/) printer attached to my FreeBSD Server. Some possible solutions for people willing to give it a shot: - Different type of Xerox drivers for more recent versions of CUPS. [forum post](https://forum.support.xerox.com/t5/Printing/Xerox-Linux-Drivers-need-updating-for-CUPS-2-2/td-p/199146) and [download](https://www.support.xerox.com/support/workcentre-7800-series/file-download/enus.html?operatingSystem=linux&fileLanguage=en&&associatedProduct=WorkCentre-78xx-built-in%20controller&contentId=143137&from=downloads&viewArchived=false) - Use old laptop/pc/raspberry with older version of Linux to use as printer server. - Driver hacking; the original source code is available, it looks like some hacking is required to get it compatible with the latest version of CUPS again. ## Introduction The Xerox Phaser 6125N printer is a great piece of work, however it is not supported by default under Linux (Ubuntu 11.04 x64). ## Getting it to work You can how-ever use little trick to adjust the provided driver of the [Fuji-Xerox DPC525A](http://onlinesupport.fujixerox.com/setupDriverForm.do?ctry_code=SG&lang_code=en&d_lang=en&pid=DPC525A) CUPS ppd in such a way that is also works fine for this printer. As described over here ## New Features This steps how-ever does not alter the ppd file in such a way that it is automatically detected, the attached files have two new features: 1. provide autodetect support for both USB and UTP printing. 1. Set the feeder to 250 pages by default, instead of none. 1. Removed the non-standard and unsupported FXPostCard. ## Download & Install ### For the (Debian Ubuntu) folks 1. Download raw-attachment:cups-xerox-phaser-6125n-1.0.0.deb 1. $ sudo dpkg -i cups-xerox-phaser-6125n-1.0.0.deb When running 64bit you will also need to install a bunch of 32 bit libraries to get it working: 1. $ sudo apt-get install libc6-i386 ### For the non-deb (Fedora, OpenSuSE) folks 1. Download raw-attachment:cups-xerox-phaser-6125n-1.0.0.tar.gz 1. $ sudo tar -C / --no-overwrite-dir --keep-newer-files -xvzf cups-xerox-phaser-6125n-1.0.0.tar.gz When running Fedora 18,19,20,21,22,23,24 64bit you will also need to install a bunch of 32 bit libraries to get it working. 1. $ sudo yum install /lib/ld-linux.so.2 /usr/lib/libcups.so.2 When running Fedora 25 64bit you will also need to install a bunch of 32 bit libraries to get it working 1. $ sudo dnf install /lib/ld-linux.so.2 /usr/lib/libcups.so.2 ## Troubleshooting The package might create insecure permissions, causing the filter to fail as shown in /var/log/cups/error_log: ``` E [21/Apr/2014:13:20:23 +0200] Phaser-6125N: Directory "/usr/lib/cups/filter" has insecure permissions (040775/uid=0/gid=0). ``` ```sh $ sudo chmod 0755 /usr/local/cups/filters ``` ## Windows 10/11 driver Support There is no Windows 10/11 driver Support for the Xerox Phaser 6125N anymore, yet the Fuji-Xerox DPC525A driver works fine. How-ever this driver cannot be sourced from the [original location on Fuji-Xerox website](http://onlinesupport.fujixerox.com/setupDriverForm.do?ctry_code=SG&lang_code=en&d_lang=en&pid=DPC525A) anymore, since the removed all drivers for Docuprint Printers [due to changes of the company structure](https://en.wikipedia.org/notes/Fujifilm_Business_Innovation#Docuprint_Printers). To extend the lifetime of the printer, I have made an export of my installed driver (installed on a Windows 10 system, which has been upgraded to Windows 11) using \`DISM /online /export-driver /destination:D:\\Drivers\`. Do mind you need to change some options like telling tray 1 has an 250 sheet feeder and set memory support to 64MB, but at least you do not need to buy another printer. ## Need Help? If you can not get it work as expected. Please drop me an [email](mailto:rick@huize-zwet.nl?subject=Xerox%20Phaser%206125N%20Question)