You are not logged in.
I'm trying to install my printer brother HL-1210W but it didn't work. Here is what I did:
1. Install package cups.
2. Install brothers driver from aur brother-hl1210w
3. Install avahi and config hostname_resolution
4. Add printer
lpd://BRWC0389612396A/BINARY_P1
(printer not responding)
5. According to arch wiki I changed the BRWC0389612396A to IP 192.168.1.113 (my brother IP). The jobs sent but nothing prints.
This is error_logs
W [31/Mar/2017:15:25:37 +0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_HL-1210W_series-Gray..\' already exists
E [31/Mar/2017:15:27:52 +0700] [Job 1] The printer is not responding.
E [31/Mar/2017:15:29:03 +0700] [Job 1] The printer is not responding.
E [31/Mar/2017:15:30:36 +0700] [Job 2] The printer is not responding.
W [31/Mar/2017:15:35:49 +0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_HL-1210W_series-Gray..\' already exists
W [31/Mar/2017:15:35:53 +0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_HL-1210W_series-Gray..\' already exists
W [31/Mar/2017:15:56:53 +0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_HL-1210W_series-Gray..\' already exists
E [31/Mar/2017:15:59:08 +0700] [Job 9] The printer is not responding.
E [31/Mar/2017:15:59:44 +0700] [Job 9] The printer is not responding.
I think it is should work when I changed the ip to lpd://192.168.1.113/BINARY_P1 the jobs show as completed but the problem now is nothing printed and no error log.
Last edited by vietphi (2017-03-31 11:53:25)
Offline
Have you tried the ipp or socket URIs?
The error log might be more helpful if you set the loglevel to debug first...
Offline
Have you tried the ipp or socket URIs?
The error log might be more helpful if you set the loglevel to debug first...
I already tried but nothing work, sometime give me some error sometimes it show completed jobs but nothing print
This is the log I already set to debug.
Offline
https://bbs.archlinux.org/viewtopic.php?id=224517
64bit kernel? Try to run the filter processes directly to see which libraries are not resolved (in case)
Offline
I need to enable multilib so I can install the AUR driver because it is required lib32...
Offline
Yes, the point is that the AUR packages do maybe not mention all multilib deps - there's the weird condition in the other thread, that one system works and the other does not. So the idea is that one system has some lib32 packages are dragged in for other reasons on the one system but not on the other. And that the brother filter processes are 32 bit ELF binaries ...
Offline
Sorry for a noob question, what will I need to do exactly? open terminal, run some command blah blah...
Offline
pacman -Ql brother-hl1210w | grep filter
If that list isn't empty, run "ldd" on the files for a beginning and watch out for unresolved libraries or, if 64 bit libraries are resolved, ensure the file is an x86_64 ELF and not a 32-bit one (use "file" on it)
Offline
This is the result
pacman -Ql brother-hl1210w | grep filter
brother-hl1210w /opt/brother/Printers/HL1210W/lpd/filter_HL1210W
brother-hl1210w /usr/lib/cups/filter/
brother-hl1210w /usr/lib/cups/filter/brother_lpdwrapper_HL1210W
But non of this is a dynamic execuetable
Offline
And that the brother filter processes are 32 bit ELF binaries ...
For my brother I needed to install lib32-glibc lib32-gcc-libs lib32-libstdc++5 from multilib.
Offline
seth wrote:And that the brother filter processes are 32 bit ELF binaries ...
For my brother I needed to install lib32-glibc lib32-gcc-libs lib32-libstdc++5 from multilib.
I just installed all of this but still nothing, the jobs show as completed but nothing print
Offline
The two binaries are in /opt/brother/Printers/HL1210W/lpd/ but afaict they only link libc (what matches ua4000's experience)
This however also holds for /opt/brother/Printers/HL1210W/inf/braddprinter which *might* indicate that you have to re-add the printer in cups - the AUR package however depends on lib32-glibc, so you should have had it from the beginning on...
Did the cups web interface autodetect the printer URL or did you "just add something™" by hand?
Offline
The two binaries are in /opt/brother/Printers/HL1210W/lpd/ but afaict they only link libc (what matches ua4000's experience)
This however also holds for /opt/brother/Printers/HL1210W/inf/braddprinter which *might* indicate that you have to re-add the printer in cups - the AUR package however depends on lib32-glibc, so you should have had it from the beginning on...Did the cups web interface autodetect the printer URL or did you "just add something™" by hand?
I just deleted the old one and add new but it is the same.
The printer web interface has detected the printer with 2 URI:
lpd://BRWC0389612396A/BINARY_P1
which result for the printer is not responding
dnssd://Brother%20HL-1210W%20series._pdl-datastream._tcp.local/?uuid=e3248000-80ce-11db-8000-c0389612396a
which also sent comleted job but nothing print
Offline
I think i found the solution but far to be solved
I used the live ubuntu usb and seting ip the printer with default driver recommend ( Brother HL-1230W, my is HL-1211W) and it worked. So somehow the HL-1210W from the AUR does not work and I need to find the HL-1230W driver for arch. But the problem is i'm a newbie and not familiar with pkgbuild to compile the driver package myseld
Offline
http://download.brother.com/welcome/dlf … 1.i386.rpm
http://download.brother.com/welcome/dlf … 1.i386.rpm
Adapt the PKGBUILD from the brother-hl1210w to download those files instead (also use the proper md5sums!) and, bonus points, add your own efforts back to AUR
---
Brother really has a terrible webpage, btw.
Offline
http://download.brother.com/welcome/dlf … 1.i386.rpm
http://download.brother.com/welcome/dlf … 1.i386.rpmAdapt the PKGBUILD from the brother-hl1210w to download those files instead (also use the proper md5sums!) and, bonus points, add your own efforts back to AUR
---
Brother really has a terrible webpage, btw.
One more question, I reviewed the pkgbuild and the rpm file structure of brother-hl2030 ( because it has the same structure of hl1230)
So why there is 3 md5 line instead of 2(2 sources file) and where is ppd and blrpdwrapperHL2030? in the end of pkgbuild?
install -m 644 -D ppd_file "$pkgdir/usr/share/cups/model/HL2030.ppd"
install -m 755 -D wrapper "$pkgdir/usr/lib/cups/filter/brlpdwrapperHL2030"
Offline
The third md5 is for the brother-hl2030.patch and actually that package should match your printer
The two files in the end come from the RPMs, but as mentioned: the package should fit your printer, so just install this and be happy someone already did the work
Offline
The third md5 is for the brother-hl2030.patch and actually that package should match your printer
The two files in the end come from the RPMs, but as mentioned: the package should fit your printer, so just install this and be happy someone already did the work
I installed the hl2030 driver package but didn't works. And it is not just pkgbuild I need to review the brotherhl2030.install file, this is so much for me....
Offline
"didn't work" means "installation failed" or "i selected the hl2030 printer in cups but it behaves just like the 2010 one"?
In latter case, this is probably not what makes the difference on the ubuntu system. Is the live ubuntu i386 or x86_64?
Offline
"didn't work" means "installation failed" or "i selected the hl2030 printer in cups but it behaves just like the 2010 one"?
In latter case, this is probably not what makes the difference on the ubuntu system. Is the live ubuntu i386 or x86_64?
No, In Ubuntu it is HL1230W not hl2030, didn't work mean the driver didn't fit with my brother hardware
Offline
i didn't even find a HL1230W driver on the brother webpage - and http://packages.ubuntu.com/yakkety/brot … ers-laser1 only contains a driver for hl2030 either ... *shrug*
Offline
i didn't even find a HL1230W driver on the brother webpage - and http://packages.ubuntu.com/yakkety/brot … ers-laser1 only contains a driver for hl2030 either ... *shrug*
sr that is hl1230 and you already give the link for me in the previous post
Offline
Sorry, I added soem confusion here by merging 2030 and 1230 (starting w/ the AUR package)
The package present in AUR will then *not* work for you, with the driver version I was focusing on the "W" extension, this specific split isn't made by the brother provided drivers.
You need the RPMs provided by the brother links provided previously.
Whether the PKGBUILD for https://aur.archlinux.org/cgit/aur.git/ … er-hl1210w or https://aur.archlinux.org/cgit/aur.git/ … her-hl2030 fits I can't say at hand, but the patch in the hl2030 package will not apply on the 1230 RPMs because the files there don't exist (and likely contain different strings as well)
It mostly deals w/ a difference between /usr/local/Brother and /usr/share/brother paths, so just alter the paths in the file.
There're also commented regions in some files but whether that requirement holds for the 1230 as well, I don't know (you'll have to test, maybe contact the 2030 AUR maintainer to investigate his reasons on this)
The freaky thing is that nothing of that seems required for the 1210 package ...
Offline
Hi! The aur packages drivers of Brother HL-1210W is exactly what I need but somehow it didn't works in my case. How to figure it out?
Offline
Afaiu last, you require the 1230 package, not the 1210 one??
W/o **ANY** guarantee
PGKBUILD
# Maintainer: nobody
pkgname="brother-hl1230"
pkgver="1.0.2"
pkgrel="1"
pkgdesc="Brother HL-1230 CUPS driver. After installing this, install printer from CUPS web interface (default localhost:631)"
url="http://www.brother.com/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('lib32-glibc' 'cups>=2.1.2' )
md5sums=('4bfba04fb45ff6b8aab4f1c5f6e493fb'
'286f4cfc5c378b030018440445b5cf37')
install=brother-hl1230.install
source=(
http://download.brother.com/welcome/dlf005782/hl1230lpr-1.1.2-1.i386.rpm \
http://download.brother.com/welcome/dlf005784/cupswrapperHL1230-1.0.2-1.i386.rpm
)
package() {
cp -r "$srcdir/usr/" "$pkgdir/usr/"
}
brother-hl1230.install
post_install() {
/usr/local/Brother/cupswrapper/cupswrapperHL1230-$1 -i
}
pre_remove() {
/usr/local/Brother/cupswrapper/cupswrapperHL1230-$1 -e
}
Put those two file in a directory and run makepkg there. Then "pacman -U" the package ...
Offline