If you came across a error message like ratertoprintername or rastertophaser6100 or rastertosamsungspl try the following:

My cups gave me the following error message:

Idle - File "/usr/lib/cups/filter/rastertophaser6100" not available: No such file or directory

I was really pissed - I had to print something and nothing worked, I installed the correct driver - even downloaded it from the Xerox website - but nothing worked.

The solution was really simple. I looked in the /usr/lib/cups/filter folder and found that there where some rasterto* files - so I thought lets try rastertohp - which didn't worked. But rastertopdf worked fine.

You need to:

cd /usr/lib/cups/filter

sudo ln -s rastertopdf rastertophaser6100

In my case I used rastertophaser6100 just fill in your model. Then try printing again. If this doesn't work try for example:

rastertohp or rastertoepson

Please write in the comments if this solution worked for you! :)