Problem: Printing with cups or printmoderation shows an empty page

Problem:

Printing with cups or printmoderation shows an empty page.
e.g. Brother MFC-L2710DN or printing does not work at all

Situation:

Some Printers are not selectable in the printer configuration module. For this reason we have described in our manual how to store an specific ppd file to the UCS server.

https://docs.software-univention.de/handbuch-4.4.html#print::ppdlisten

In some cases this is not sufficient for example Brother MFC-L2710DN

Solution:

Find the ppd file (sometimes stored within a Debian package) and put it on the server by following the steps from the manual.

In this special case I installed the printer.deb file on my testclient to get the installation structure and the ppd file.
To make printing with the Printer work I had to do the following steps:

Step 1:

Getting the error messages from /var/log/cups/error.log
Here I found message about missing files in /usr/lib/cups/filter

Step 2:

Providing the additional files for cups. They are coming from the printer.deb file. So I copied these files to /opt/brother/ and linked this directory to /usr/lib/cups/filter

root@ucs:/usr/lib/cups/filter# ln -s /opt/brother/Printers/MFCL2710DN/cupswrapper/lpdwrapper brother_lpdwrapper_MFCL2710DN
root@ucs:/opt/brother# find
.
./Printers
./Printers/MFCL2710DN
./Printers/MFCL2710DN/LICENSE_JPN.txt
./Printers/MFCL2710DN/inf
./Printers/MFCL2710DN/inf/brMFCL2710DNfunc
./Printers/MFCL2710DN/inf/setupPrintcap
./Printers/MFCL2710DN/inf/brMFCL2710DNrc
./Printers/MFCL2710DN/lpd
./Printers/MFCL2710DN/lpd/brprintconflsr3
./Printers/MFCL2710DN/lpd/lpdfilter
./Printers/MFCL2710DN/lpd/armv7l
./Printers/MFCL2710DN/lpd/armv7l/brprintconflsr3
./Printers/MFCL2710DN/lpd/armv7l/rawtobr3
./Printers/MFCL2710DN/lpd/rawtobr3
./Printers/MFCL2710DN/lpd/i686
./Printers/MFCL2710DN/lpd/i686/brprintconflsr3
./Printers/MFCL2710DN/lpd/i686/rawtobr3
./Printers/MFCL2710DN/lpd/x86_64
./Printers/MFCL2710DN/lpd/x86_64/brprintconflsr3
./Printers/MFCL2710DN/lpd/x86_64/rawtobr3
./Printers/MFCL2710DN/cupswrapper
./Printers/MFCL2710DN/cupswrapper/lpdwrapper
./Printers/MFCL2710DN/cupswrapper/Copying
./Printers/MFCL2710DN/cupswrapper/brother-MFCL2710DN-cups-en.ppd
./Printers/MFCL2710DN/cupswrapper/paperconfigml2
./Printers/MFCL2710DN/LICENSE_ENG.txt

With this files included the printer is printing.

Mastodon