Brother DCP-T500W doesn't work despite availability of ppd-AIRPRINT
Hi Guys,
I am unable to make raspberry pi zero w as a print server to my Brother DCP-T500W printer whose CUPS driver printer wrapper source code is available at the following link:
https://support.brother.com/g/b/downloadlist.aspx?c=in&lang=en&prod=dcpt500w_all&os=128

I have used the ppd available at the above link to install my print driver on Raspberry Pi which was accepted. However when I go to printer section in the CUPS, the status is shown as Idle - "File "/usr/lib/cups/filter/brother_lpdwrapper_dcpt500w" not available: No such file or directory"

I am not able to print through Raspberry Pi, but can print directly (through windows/android phone).
What could be the issue? Is there any bug in the code?
Regards.
Does this file exists in your system?
Does this file exists in your system?
Which system are you talking about, Yash?
I mean this
"File "/usr/lib/cups/filter/brother_lpdwrapper_dcpt500w"
Where to look for this file, in raspberry pi? What if I dont have that file in pi?
The file /usr/lib/cups/filter/brother_lpdwrapper_dcpt500w is part of a proprietary printer driver package from Brother. Probably your PPD file is also from the proprietary driver package. If you want to use the this PPD on the Raspberry Pi, you would also need to install Brother's driver package there. These packages are usually binary-only (no source code) and only built for typical PC processor architectures (i386 and sometimes amd64) and not for the ARM architecture of a Raspberry Pi.
To use your Raspberry Pi as a print server for this printer you need a driver which is fully open source so that you can build it on the Pi, or you need to find out whether the printer supports driverless printing.
Sorry, @tillkamppeter I couldn't get if the required driver is available for my Brother DCP-T500W printer from the brother website, but they do have LPR & CUPS WRAPPER Printer driver for linux (deb) & linux (rpm).
The following link contains the driver for Linux (rpm) OS: https://support.brother.com/g/b/downloadlist.aspx?c=in&lang=en&prod=dcpt500w_all&os=127
And the following link contains the driver for Linux (deb) OS: https://support.brother.com/g/b/downloadlist.aspx?c=in&lang=en&prod=dcpt500w_all&os=128
Both the above links have the source code for the drivers available as well. I don't know if these would work on ARM architecture of Raspberry Pi.
Also I doubt if my printer supports driverless printing.
Kindly help me with the workaround.
Regards.
Note that the Brother driver have two parts. The core driver, which is closed-source, is the LPR driver. To use with CUPS you download the CUPS wrapper in addition, this consists of a warpper script so that the LPR driver can be called like a CUPS filter and of PPD files. This is all open-source, PPDs and scripts, but the CUPS wrapper alone does not make the printer work, it requires the LPR driver in addition.
If you have CUPS and cups-filters installed on your Raspberry Pi, try the command driverless. Does it list your printer? If yes, it supports driverless IPP printing.
By the way, how do you connect your printer to the Pi? USB or network?

The driverless command is not working. So I suppose my printer doesn't supports driverless IPP printing.
I connect my printer to Pi via Home Wifi Network.
Any other way out? :(
The "driverless" command is not installed on your Raspberry Pi. Which version of cups-filters do you have installed? And which version of CUPS?
Driverless printing requires IPP communication with the printer. Try compiling cups-filters once again with avahi support and connect your device with wireless, else if USB connected then it should be IPP over USB capable.