can not find brprintconflsr

Asked by Marco Schmidt

Hello,

the executable "/usr/Brother/cupswrapper/brcupsconfig" tries to run "brprintconflsr", which can not be found.

I checked the othe brother-packages and saw, that each "brother-cups-wrapper" package has a corresponding "brother-lpr-drivers" package with an executable "brprintconf...".

Unfortunately the corresponding package for "brother-cups-wrapper-laser1" contains an executable "brprintconf", but not "brprintconflsr" as expected.

I am wondering if the "brprintconf" just has the wrong name?

I know, that both packages are "more or less" directly from Brother, but if it is just the wrong name, a workaround in this package could be the faster solution.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu brother-cups-wrapper-laser1 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you contact Brother to report the issue

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

I did the following search:

http://packages.ubuntu.com/search?searchon=contents&keywords=brprintconflsr&mode=filename&suite=trusty&arch=any

Apparently, the file brprintconflsr does not exist in the Ubuntu 14.04 LTS repositories.

But the file /usr/bin/brprintconflsr2 does exist and can be installed by installing the brother-lpr-drivers-laser
 Ubuntu package.

It would be great if you told us exactly which model of Brother printer you are using. This is crucial information to provide....

Revision history for this message
Marco Schmidt (kunzol) said :
#3

Thanks for the answer!

My model is "MFC-9880" (got it cheap from my employer :- ) ).

I found two programs similar to the missing "brprintconflsr":
1. "brprintconf" in package "brother-lpr-drivers-laser1"
2. "brprintconflsr2" in package "brother-lpr-drivers-laser"

I am still experimenting with both (first I have to learn how "cups" works).
I am not even sure, if the "brprintconflsr" is really needed. I have not found it in any of the previous Ubuntu versions.

Any ideas are welcome.
I will let you know, what I find out.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

Your printer model and the operating system version (Ubuntu 12.04 LTS, Ubuntu 14.04 LTS, etc.....) should have been included in the original problem description. This would have helped speed up the troubleshooting process.

Anyway, I performed the following search:

http://packages.ubuntu.com/search?searchon=contents&keywords=9880&mode=filename&suite=trusty&arch=any

So I searched all the Ubuntu packages for Ubuntu 14.04 LTS containing filenames containing 9880 in the filename.

It shows that you need to install the following 2 Ubuntu packages, if you are using Ubuntu 14.04 LTS:

brother-lpr-drivers-laser1

and

brother-cups-wrapper-laser1

So you only need the laser1 packages, not the laser packages.

Revision history for this message
Marco Schmidt (kunzol) said :
#5

This was not intended as a "problem description" !

It was a question, to see if someone already detected, that an executable is referencing another executable, which is not available (see my first post).

As I said, currently I am even not sure, if all the executables are needed.

Engish is not my native language, thus it could be, that some misunderstanding came up, because of language problems. Sorry for this.

Revision history for this message
Marco Schmidt (kunzol) said :
#6

Finally I understood how it works.

This are the steps for MFC9880 (it is very similar for other Brother printers).

Cups reads the ppd (/etc/cups/ppd/MFC-9880net.ppd) where it finds the information about the cupsFilter. Not it sends the file this filter (/usr/lib/cups/filter/brlpdwrapperMFC9880).

The filter is a script from Brother which collects the file and all the settings from the printer dialog, for example:
InputSlot=AUTO number-up=1 PageSize=A5 TonerSaveMode=On Resolution=300dpi BrMediaType=PLAIN

The filter now starts the brcupsconfig (source available!) with the ppd file and the settings.
brcupsconfig now calls (or tries to) for each setting the brprintconflsr.

I copied "brprintconf" to "brprintconflsr" to see what it should do.
The "brprintconf" writes or updates the "/usr/Brother/inf/brMFC9880rc".
It looks like this is the config file for the current print, where all the settings from the dialog are stored.

After this the cupsfilter goes on calling the lpdfilter (/usr/Brother/lpd/filterMFC9880). This lpdfilter does conversions depending on the type of the input file.
Two programs from Brother use the "brMFC9880rc":
1. psconvert - reads PaperType and Resolution from "brMFC9880rc"
2. rawtobr - is a binary, thus I can't see what it reads from "brMFC9880rc"

Summary:
All Brother specific settings from the print dialog are not reflected in the "brMFC9880rc"

But even with the help of "brprintconf", I saw no difference.

Can you help with this problem?

Provide an answer of your own, or ask Marco Schmidt for more information if necessary.

To post a message you must log in.