It works both for 32 or 64 bit systems, for Calculate or Gentoo linux
Download driver (deb package):
cd /tmp/
wget http://download.support.xerox.com/pub/drivers/WC3045/drivers/linux/en_GB/xerox-workcentre-3045b-3045ni_1.0-28_i386.zip
Install deb2targz package, unpack package:
sudo emerge app-arch/deb2targz
unzip xerox-workcentre-3045b-3045ni_1.0-28_i386.zip
deb2targz xerox-workcentre-3045b-3045ni_1.0-28_i386.deb
gunzip xerox-workcentre-3045b-3045ni_1.0-28_i386.tar.gz
tar xvf xerox-workcentre-3045b-3045ni_1.0-28_i386.tar
Go to CUPS -> Add Printer -> USE PPD file -> ( choose /tmp/usr/share/ppd/Xerox/Xerox-WorkCentre-3045NI.ppd.gz )
Copy necessary files:
sudo cp /tmp/usr/lib/cups/filter/* /usr/libexec/cups/filter/
sudo cp /tmp/usr/lib/xrhr3acl.so /usr/lib/
Restart CUPS:
/etc/init.d/./cupsd restart
Should work!
as ~ # emerge -pv cups
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary R ] net-print/cups-2.1.3-r1::gentoo USE="X acl dbus pam ssl threads usb -debug -java -kerberos -lprng-compat -python (-selinux) -static-libs (-systemd) -xinetd -zeroconf" ABI_X86="32 (64) (-x32)" LINGUAS="ca cs de es fr it ja ru" PYTHON_TARGETS="python2_7" 7800 KiB
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 7800 KiB
as ~ # uname -a
Linux as 4.4.9-calculate #1 SMP PREEMPT Tue May 17 15:11:46 UTC 2016 x86_64 Intel(R) Celeron(R) CPU 1005M @ 1.90GHz GenuineIntel GNU/Linux