You can print to any printer with any driver, so you need to be very specific in your statements.
I certainly don't have a RaspberryPi, so I can only replicate from a full blown PC running Linux (Linux Mint in this case)
Mint comes with CUPS by default, so setting that up I can't help with either.
I downloaded the driver for my Linux architecture and installed it, I got no errors doing so.
I opened a browser and typed the IP address of my printer in the addressbar to open the printers internal web interface to confirm I had the IP correct, and that I had proper communication to it.
I went into CUPS and added the printer, because I ran the installer and did not get an error, the Make and model was there to be chosen.
But as long as I get the port correct, I can choose literally any print driver and it will allow me to print to the printer, it just won't have the proper features, so it may come out right, or wrong, or incredibly wrong, but at the very least, I will get an error at the printer. There is no question here, if the port is right, nothing else matters with respect to getting something to the device.
I tried your solution, but it failed. I was not able to instal that linux driver, so I do not have under make options desired driver. I don't know what I am doing wrong. I have to admit I am kind of noob in linux systems, but I think my Raspberry is configured right and I did everything acording to this manual:
I am certain that I set up everything right, but I am still not able to print a single page from my printer.
If you can't print anything you have the port wrong, if the ppd was the issue it would print, but it wouldn't print right.
When you do the port in CUPS, choose Jet Direct (RAW) and print with the IP address.
The IP for Jet direct would be formatted socket://192.168.0.1:9100 (obviously you will need to substitute the printer IP)
And since you ran the linux installer already, when asked for the Make you just choose Xerox. When you click Continue ther ewill be a list of devices, including the one you installed already which will display as XeroxWorkCentre 5022 v1.0 (en)
the problem is, that you need a gdi print driver
i think this is a gdi printer, not 100% sure, therefore other drivers are not working as well
not sure though
this helps maybe?
No, I tried to use some drivers that were available in Cups, but I was not able to print anything.
maybe you can use just a generic print driver from whatever manufacturer, should work normally
Hi dear Xeror. I would like to ask, if is there any possible way to run Xerox 5022 on Raspberry Pi?
I wanted to use my Raspberry as print server, but I am struggling with installation. I tried driver from your side for Debian, but it did not work.
Would you be so kind and give me some hint? Or make supported driver?
Sincerely Vit Jasek.