cups-filters icon indicating copy to clipboard operation
cups-filters copied to clipboard

Brother DCP-T500W doesn't work despite availability of ppd-AIRPRINT

Open dhingrasud opened this issue 5 years ago • 10 comments

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

ppd

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" Screenshot 2020-11-06 212350

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.

dhingrasud avatar Nov 06 '20 16:11 dhingrasud

Does this file exists in your system?

yash-sudo avatar Nov 16 '20 12:11 yash-sudo

Does this file exists in your system?

Which system are you talking about, Yash?

dhingrasud avatar Nov 16 '20 12:11 dhingrasud

I mean this

"File "/usr/lib/cups/filter/brother_lpdwrapper_dcpt500w"

yash-sudo avatar Nov 17 '20 13:11 yash-sudo

Where to look for this file, in raspberry pi? What if I dont have that file in pi?

dhingrasud avatar Nov 17 '20 13:11 dhingrasud

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.

tillkamppeter avatar Nov 17 '20 14:11 tillkamppeter

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.

dhingrasud avatar Nov 17 '20 14:11 dhingrasud

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?

tillkamppeter avatar Nov 17 '20 16:11 tillkamppeter

image

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? :(

dhingrasud avatar Nov 19 '20 13:11 dhingrasud

The "driverless" command is not installed on your Raspberry Pi. Which version of cups-filters do you have installed? And which version of CUPS?

tillkamppeter avatar Nov 19 '20 14:11 tillkamppeter

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.

Bhavna2020 avatar Dec 11 '20 08:12 Bhavna2020