Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFC-L8690CDW #69

Open
iandoug opened this issue May 31, 2019 · 19 comments
Open

MFC-L8690CDW #69

iandoug opened this issue May 31, 2019 · 19 comments

Comments

@iandoug
Copy link

iandoug commented May 31, 2019

hi

Possible to add support for MFC-L8690CDW?

The supplied drivers from Brother worked fine when I installed on a laptop running Mint, but not having luck with my Gentoo box. Cups thinks it is installed okay and I can send stuff to the printer, but it disappears into some black hole somewhere.

I ran the install script from Brother before I actually got the printer (to see if I was going to have issues...), don't know if that screwed something up or what.

I think there are other model numbers which are similar/compatible, if I remember correctly from some of the brochures I saw.
I tried adding it directly via CUPS but also no joy.

Thanks, Ian

@stefan-langenmaier
Copy link
Owner

Hi Ian,

sorry I took me some time to reply, but I hope you can still need this. As I don't have this model available it would be nice to send me some information if the package is working. If you have still have issues with this package it would be good to send me more details from the cups error.log.

Best regards,
Stefan

@iandoug
Copy link
Author

iandoug commented Jun 16, 2019

Finally got around to having another go at getting this to work. I ran the uninstall script, rebooted, and ran the install script again, which had some issues because the uninstall didn't clean out the scanner files properly. But the scanner part works fine.

Did pick up some issues... for example
"No, that won't fix it - or not for me, anyway. Cups works fine here with gentoo-sources-4.9.95, but with 4.14.52 I get the reported error: "ippfind: no such file or directory". IMO ippfind should run and enable the user to click on the printer he wants to add instead of having to jump through all manner of arcane hoops in the ancient way."
https://bugs.gentoo.org/610086

I have that error message in my cupsd error log, and am also on that kernel version. So let me try and upgrade Kernel first tomorrow.

I see there is a Gentoo-relevant message on Brother site:
https://support.brother.com/g/b/faqend.aspx?c=as_ot&lang=en&prod=mfcl8690cdw_eu_as&ftype3=100257&faqid=faq00100597_000

But I don't have these files:
ln -s /usr/lib/cups/filter/brlpdwrapper[printer name] /usr/libexec/cups/filter/brlpdwrapper[printer name]

I have
/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw

so maybe those instructions refer to older driver install script.

There's nothing much useful in error logs apart from "can't find ippfind utility" message.

Thanks, Ian

@iandoug
Copy link
Author

iandoug commented Jun 18, 2019

Upgraded kernel, ran uninstall script and then install script. Still no joy.

Error log says:

E [18/Jun/2019:10:48:46 +0200] [cups-deviced] PID 17182 (cups-brf) stopped with status 13!
E [18/Jun/2019:10:48:46 +0200] [CGI] Unable to execute ippfind utility: No such file or directory
W [18/Jun/2019:10:48:50 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [18/Jun/2019:10:48:50 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [18/Jun/2019:10:48:50 +0200] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [18/Jun/2019:10:48:54 +0200] [cups-deviced] PID 17598 (cups-brf) stopped with status 13!
E [18/Jun/2019:10:48:54 +0200] [CGI] Unable to execute ippfind utility: No such file or directory

I assumed they would have sorted out that ippfind issue by now.

Maybe I must try doing that "link" step mentioned above.

Thanks, Ian

@iandoug
Copy link
Author

iandoug commented Jun 18, 2019

trooper ~ # ln -s /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
ln: failed to create symbolic link '/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw': File exists
trooper ~ #

First two are where I ran the script from:
trooper ~ # locate brother_lpdwrapper
/home/ian/printers/brother/brother_lpdwrapper_mfcl8690cdw
/home/ian/printers/brother/opt/brother/Printers/mfcl8690cdw/cupswrapper/brother_lpdwrapper_mfcl8690cdw
/opt/brother/Printers/mfcl8690cdw/cupswrapper/brother_lpdwrapper_mfcl8690cdw
/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw

rooper ~ # diff /opt/brother/Printers/mfcl8690cdw/cupswrapper/brother_lpdwrapper_mfcl8690cdw /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
trooper ~ #

Maybe I need to do the ln -s step the other way around?
trooper ~ # ls /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw
ls: cannot access '/usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw': No such file or directory

Lost. :-)

Thanks, Ian

@stefan-langenmaier
Copy link
Owner

Hi Iam,

if I read the bug report correctly then the issue is not with the kernel but with the zeroconf USE-flag of the cups package. Have you enabled this USE-flag? I'm pretty sure you should enable this.

Thanks for the link to the brother website. I didn't know there was this reference/hint. :)

I have
/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
so maybe those instructions refer to older driver install script.

Yes, I think you have to adapt their instructions.
Does the following command work?

ln -s /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

Hi
Thanks for response.

At some point in the past I had zeroconf flag set globally and then removed it. Can't remember why.
I added it back for both cups and cups-filters and emerge -auvDN world to recompile them. Also restarted cupsd.

Not sure what my next steps should be ... have deleted all instances from Cups, trying to add it back.
Cups picks up several "versions" of the printer, including a "driverless" version which failed to add.

So tried the second last one, which added okay, but printing produced this error on the cups jobs page:

processing sinceSun 23 Jun 2019 13:24:09 SAST 
"Unable to locate printer "BRN3C2AF49DD34A"."

If I add one that is detected as at a LAN address, then it adds okay, and jobs submit without error, but do not arrive at the printer.

My Mint laptop shows the connection as socket://[ip address] but even when I select that option on this Gentoo box, the jobs disappear into some black hole... Cups says it printed okay but it didn't.

ln -s /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
produces errror:
ln: failed to create symbolic link '/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw': File exists

as before.

So I’m still a bit stumped :-)

Find it annoying that it was so easy to get it working in Mint but not Gentoo. Wonder what the difference is.... directory layout?

Thanks, Ian

@stefan-langenmaier
Copy link
Owner

stefan-langenmaier commented Jun 23, 2019

Cups picks up several "versions" of the printer, including a "driverless" version which failed to add.

That's normal as far as I know

So tried the second last one, which added okay, but printing produced this error on the cups jobs page:

Can you tell me the name of it?

processing sinceSun 23 Jun 2019 13:24:09 SAST
"Unable to locate printer "BRN3C2AF49DD34A"."

For this I can recommend reading the Gentoo wiki page:
https://wiki.gentoo.org/wiki/Avahi
I'm no expert in this. Maybe you can try it with the .local at the end of the name.

I recommend configuring it via IP, like socket://[ip address].

ln: failed to create symbolic link '/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw': File exists

Maybe the symlink is already setup correctly. What is the output of ls -la /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw?

Find it annoying that it was so easy to get it working in Mint but not Gentoo. Wonder what the difference is.... directory layout?

Yes it's a pity. As there are no official packages, we have to transform a lot of (often very different) binary packages and map them to the directory layout of Gentoo.

the jobs disappear into some black hole... Cups says it printed okay but it didn't.

If there are no errors/logs it's really difficult to debug.
I hope you get it working and share your findings.

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

Hi

ls -la /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
-rwxr-xr-x 1 root root 25754 May 22 20:52 /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw

But the other half does not exist.
(/usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw).
or even /usr/lib/cups
So that instruction is clearly not for a Gentoo layout.

net-dns/avahi is installed.
Printer is currently configured as socket://[ip address]

Will ask on Gentoo forums, maybe someone has figured this out.

Thanks, Ian

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

Mmm now why didn't I find this page before:
https://wiki.gentoo.org/wiki/Brother_networked_printer

Says to
mkdir -p /var/spool/lpd
and
mkdir -p /usr/lib64/cups/filter

Let me try jumping through all the hoops on this page. Will revert.

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

Okay getting somewhere in terms of errors.

Found some hints here: https://bbs.archlinux.org/viewtopic.php?id=92011

Looks like issue is with connecting to the printer, I've tried all sorts of things.
Found an embarrassing error in my .hosts file, had entries like
192.168.1.168 brother printer1
192.168.1.171 brother printer2

Which may have contributed to issues. So fixed those. Eventually made it
192.168.1.172 BRN3C2AF49DD34A.local
to be specific.

So now error log has something meaningful, but not sure what next step is.

E [23/Jun/2019:15:42:36 +0200] [CGI] Bad printer URI "ipp://BRN3C2AF49DD34A.local:631/ipp/print|Brother MFC-L8690CDW series".
E [23/Jun/2019:15:45:08 +0200] [Job 7320] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [23/Jun/2019:15:45:08 +0200] [Job 7320] The following messages were recorded from 15:45:08 to 15:45:08
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Applying default options...
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Adding start banner page "none".
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Queued on "Brother_MFC-L8690CDW_series" by "root".
D [23/Jun/2019:15:45:08 +0200] [Job 7320] File of type application/vnd.cups-command queued by "root".
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Adding end banner page "none".
D [23/Jun/2019:15:45:08 +0200] [Job 7320] time-at-processing=1561297508
D [23/Jun/2019:15:45:08 +0200] [Job 7320] 2 filters for job:
D [23/Jun/2019:15:45:08 +0200] [Job 7320] commandtops (application/vnd.cups-command to printer/Brother_MFC-L8690CDW_series/application/postscript, cost 100)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] - (printer/Brother_MFC-L8690CDW_series/application/postscript to printer/Brother_MFC-L8690CDW_series, cost 0)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] job-sheets=none,none
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[0]="Brother_MFC-L8690CDW_series"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[1]="7320"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[2]="root"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[3]="Set Default Options"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[4]="1"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[5]="job-uuid=urn:uuid:1e436b8c-202e-31c9-4b2c-f5511983bbc4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1561297508 time-at-processing=1561297508"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] argv[6]="/var/spool/cups/d07320-001"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[7]="CUPS_STATEDIR=/run/cups"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[8]="HOME=/var/spool/cups/tmp"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[10]="SERVER_ADMIN=root@trooper"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[11]="SOFTWARE=CUPS/2.2.11"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[13]="USER=root"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[14]="CUPS_MAX_MESSAGE=2047"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[17]="IPP_PORT=631"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[18]="CHARSET=utf-8"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[19]="LANG=en_ZA.UTF-8"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[20]="PPD=/etc/cups/ppd/Brother_MFC-L8690CDW_series.ppd"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[21]="RIP_MAX_CACHE=128m"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[22]="CONTENT_TYPE=application/vnd.cups-command"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[23]="DEVICE_URI=ipp://BRN3C2AF49DD34A.local:631/ipp/print"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[24]="PRINTER_INFO=Brother MFC-L8690CDW series"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[25]="PRINTER_LOCATION=asd"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[26]="PRINTER=Brother_MFC-L8690CDW_series"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[27]="PRINTER_STATE_REASONS=none"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[28]="CUPS_FILETYPE=document"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[29]="FINAL_CONTENT_TYPE=application/postscript"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] envp[30]="AUTH_I****"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Started filter /usr/libexec/cups/filter/commandtops (PID 24635)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Started backend /usr/libexec/cups/backend/ipp (PID 24636)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Sending stdin for job...
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: +connecting-to-device
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Looking up "BRN3C2AF49DD34A.local"...
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -connecting-to-device
D [23/Jun/2019:15:45:08 +0200] [Job 7320] BRN3C2AF49DD34A.local=192.168.1.171
D [23/Jun/2019:15:45:08 +0200] [Job 7320] hrDeviceDesc="Brother MFC-L8690CDW series"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] prtMarkerColorantValue.1.1 = "black"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] prtMarkerColorantValue.1.2 = "cyan"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] prtMarkerColorantValue.1.3 = "magenta"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] prtMarkerColorantValue.1.4 = "yellow"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] ATTR: marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none,none,none
D [23/Jun/2019:15:45:08 +0200] [Job 7320] ATTR: marker-names='"Black Toner Cartridge"','"Cyan Toner Cartridge"','"Magenta Toner Cartridge"','"Yellow Toner Cartridge"','"Waste Toner Box"','"Belt Unit"','"Drum Unit"'
D [23/Jun/2019:15:45:08 +0200] [Job 7320] ATTR: marker-types=toner,toner,toner,toner,waste-toner,other,opc
D [23/Jun/2019:15:45:08 +0200] [Job 7320] ATTR: marker-levels=-1,-1,-1,-1,-1,99,99
D [23/Jun/2019:15:45:08 +0200] [Job 7320] new_supply_state=0, change_state=ffff
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -developer-low-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -developer-empty-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -marker-supply-low-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -marker-supply-empty-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -opc-near-eol-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -opc-life-over-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -toner-low-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -toner-empty-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -waste-receptacle-almost-full-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -waste-receptacle-full-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -cleaner-life-almost-over-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -cleaner-life-over-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] new_state=0, change_state=ffff
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -media-empty-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -door-open-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -media-jam-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -input-tray-missing-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -output-tray-missing-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -marker-supply-missing-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -output-area-almost-full-report
D [23/Jun/2019:15:45:08 +0200] [Job 7320] STATE: -output-area-full-warning
D [23/Jun/2019:15:45:08 +0200] [Job 7320] backendWaitLoop(snmp_fd=5, addr=0x559af59f6b68, side_cb=0x559af506e9e8)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Unable to auto-configure PostScript Printer - no bidirectional I/O available!
D [23/Jun/2019:15:45:08 +0200] [Job 7320] PID 24635 (/usr/libexec/cups/filter/commandtops) stopped with status 1.
D [23/Jun/2019:15:45:08 +0200] [Job 7320] Hint: Try setting the LogLevel to "debug" to find out more.
D [23/Jun/2019:15:45:08 +0200] [Job 7320] PID 24636 (/usr/libexec/cups/backend/ipp) exited with no errors.
D [23/Jun/2019:15:45:08 +0200] [Job 7320] End of messages
D [23/Jun/2019:15:45:08 +0200] [Job 7320] printer-state=3(idle)
D [23/Jun/2019:15:45:08 +0200] [Job 7320] printer-state-message="Filter failed"
D [23/Jun/2019:15:45:08 +0200] [Job 7320] printer-state-reasons=none

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

I suppose this is the Gentoo way of doing things:

ln -s /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw /usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw
ln: failed to create symbolic link '/usr/libexec/cups/filter/brother_lpdwrapper_mfcl8690cdw': File exists

ll /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw
lrwxrwxrwx 1 root root 76 Jun 23 15:27 /usr/lib/cups/filter/brother_lpdwrapper_mfcl8690cdw -> /opt/brother/Printers/mfcl8690cdw/cupswrapper/brother_lpdwrapper_mfcl8690cdw

My system and/or Cups thinks the printer is installed, but still nothing gets there.
lpstat -a
Brother_MFC-L8690CDW_series accepting requests since Sun 23 Jun 2019 17:11:06 SAST

So now waiting for the skygods to provide a solution :-)

@iandoug
Copy link
Author

iandoug commented Jun 23, 2019

The sky gods answered :-)

Was poking around in KDE print settings (as opposed to playing with Cups via the browser) and suddenly sending a "self test" print page command produced a page, with 3 lines of output. Which gave me hope. Printing a "test page" still didn't work, so I asked Google, which sent me to this old thread where some BSD guy had a similar issue:

https://lists.cups.org/pipermail/cups/2011-October/052008.html

Solution offered was to use Generic PS driver (instead of Brother Cups driver) ... so I tried that and lo and behold, it worked.

The downside is that the generic driver has very few options to set, so am not getting proper colour settings, print resolution, etc, but at least I know that Gentoo and the printer are now on speaking terms, just need to figure out how to make the Brother PPD file work....

Currently have the printer set on
lpd://BRN3C2AF49DD34A.local/BINARY_P1

and BRN3C2AF49DD34A.local IP address defined in .hosts

Thanks, Ian

@iandoug
Copy link
Author

iandoug commented Jun 24, 2019

I see this distro (which also uses /opt) does two links:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/cups/drivers/mfcl8690cdwcupswrapper/default.nix

Just trying to figure out what $out would be....

@stefan-langenmaier
Copy link
Owner

I reread the thread and I'm not sure if have you tested the ebuild I added?

emerge brother-mfcl8690cdw-bin -1av

To me it looks like like files should be in /opt/brother/Printers/${PRINTER_MODEL}/cupswrapper

https://github.com/stefan-langenmaier/brother-overlay/blob/bff5dada8c388a90e0c6d8412bab4947d0c487ff/net-print/brother-mfcl8690cdw-bin/brother-mfcl8690cdw-bin-1.4.0.ebuild

Which may have contributed to issues. So fixed those. Eventually made it
192.168.1.172 BRN3C2AF49DD34A.local
to be specific.

There seems to be a mismatch between you configuration and what's in the logs.

D [23/Jun/2019:15:45:08 +0200] [Job 7320] BRN3C2AF49DD34A.local=192.168.1.171

@stefan-langenmaier
Copy link
Owner

Screenshot from 2019-06-24 20-44-41

With the ebuild I have only one printer in the list.

@iandoug
Copy link
Author

iandoug commented Jun 24, 2019

There seems to be a mismatch between you configuration and what's in the logs.

Was a typo. 171 is correct.

Let me see about adding your overlay. Will revert.

Thanks, Ian

@iandoug
Copy link
Author

iandoug commented Jun 24, 2019

Mmm you may need to add "-printer" to the ebuild name.

Results for search key : brother-mfcl8690cdw-bin ]
* media-gfx/brother-mfcl8690cdw-bin
Latest version available: 1.0
Latest version installed: [ Not Installed ]
Size of files: 0 KiB
Homepage: http://support.brother.com
Description: Scanner driver for Brother MFC-L8690CDW (brscan4)
License: GPL-2

* net-print/brother-mfcl8690cdw-bin [ Masked ]
Latest version available: 1.4.0
Latest version installed: [ Not Installed ]
Size of files: 704 KiB
Homepage: https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=mfcl8690cdw_us_eu_as
Description: Brother printer drive for mfcl8690cdw
License: brother-eula

[ Applications found : 4 ]

!!! The short ebuild name "brother-mfcl8690cdw-bin" is ambiguous. Please specify
!!! one of the above fully-qualified ebuild names instead.

@iandoug
Copy link
Author

iandoug commented Jun 24, 2019

My other little problem... pick a card, any card... :-)

image

@stefan-langenmaier
Copy link
Owner

Mmm you may need to add "-printer" to the ebuild name.

Yes, I should have written emerge net-print/brother-mfcl8690cdw-bin. :)

I would go with one of the first two options. This should use lpd, socket or ipp with the IP address.
Can you also send screenshots of the next steps then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants