illwieckz / debian_copyist_brother

Repackaging Brother™ drivers for Debian
ISC License
41 stars 66 forks source link

DCP-1510 PPD not working on CUPS #4

Open inobrevi opened 1 year ago

inobrevi commented 1 year ago

Hi,

I trying to add DCP-1510 on Raspberry Pi with CUPS.

I can add it fine, but test print doesn't go through.

I get:

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

Any idea how to fix it?

illwieckz commented 1 year ago

Hi! It's very likely that /usr/lib/cups/filter/brother_lpdwrapper_DCP1510 is an x86 binary, so it wont work on arm out of the box.

Maybe you can try to modify the script line to run the binary on an x86 emulator… Or configure the system to run x86 binaries on qemu automatically…

inobrevi commented 1 year ago

I agree I learned about it meanwhile and few other stuff.

For now I will try just rewrite driver from scratch or find distro that tackles this problem already.

illwieckz commented 1 year ago

You may try this if you're running Debian or Ubuntu:

https://askubuntu.com/a/1483543

But adapted to 32-bit i386:

sudo apt update
sudo apt install -y qemu-user-static binfmt-support
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386
inobrevi commented 1 year ago

Thank you for your help but I found a solution:

https://medium.com/@alexanderbelov/how-to-use-your-brother-printer-with-cups-on-raspberry-pi-5b712cc2b4e6 https://github.com/pdewacht/brlaser

Different drivers and it works.