On Sun, 3 Nov 2019, Jon LaBadie wrote:> Have you tried adding the Brother CUPS and/or generic LPR software? > > https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2360dw_usI've been trying to folow directions, but no go. The bad ELF interpreter really through me for a loop: [root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm Preparing... ################################# [100%] Updating / installing... 1:hll2360dcupswrapper-3.2.0-1 ################################# [100%] lpadmin -p HLL2360D -E -v usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 -P /usr/share/ppd/brother/brother-HLL2360D-cups-en.ppd restorecon: lstat(/etc/opt/brother/Printers/HLL2360D) failed: No such file or directory warning: %post(hll2360dcupswrapper-3.2.0-1.i386) scriptlet failed, exit status 255 [root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*lpr*.rpm Preparing... ################################# [100%] Updating / installing... 1:hll2360dlpr-3.2.0-1 ################################# [100%] /var/tmp/rpm-tmp.1omOJ2: /opt/brother/Printers/HLL2360D/inf/braddprinter: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [root at localhost drv]# ls cupsfilters.drv hp sample.drv [root at localhost drv]# ls -F cupsfilters.drv hp/ sample.drv [root at localhost drv]# pwd /usr/share/cups/drv [root at localhost drv]# ls ~/D*/*.rpm ls: cannot access /root/D*/*.rpm: No such file or directory [root at localhost drv]# ls ~hennebry/D*/*.rpm /home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm /home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm [root at localhost drv]# What happened? How do I do it right? -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
> I've been trying to folow directions, but no go. > The bad ELF interpreter really through me for a loop: >> [root at localhost drv]# ls ~hennebry/D*/*.rpm > /home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm > /home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm > [root at localhost drv]#They are 32-bit RPMs, presumably you have a 64-bit system P.
On Wed, 6 Nov 2019, Michael Hennebry wrote:> On Sun, 3 Nov 2019, Jon LaBadie wrote: > >> Have you tried adding the Brother CUPS and/or generic LPR software? >> >> https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2360dw_us > > I've been trying to folow directions, but no go. > The bad ELF interpreter really through me for a loop: > > [root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm > Preparing... ################################# > [100%] > Updating / installing... > 1:hll2360dcupswrapper-3.2.0-1 ################################# > [100%] > lpadmin -p HLL2360D -E -v > usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 -P > /usr/share/ppd/brother/brother-HLL2360D-cups-en.ppd > restorecon: lstat(/etc/opt/brother/Printers/HLL2360D) failed: No such file > or directory > warning: %post(hll2360dcupswrapper-3.2.0-1.i386) scriptlet failed, exit > status 255 > [root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*lpr*.rpm > Preparing... ################################# > [100%] > Updating / installing... > 1:hll2360dlpr-3.2.0-1 ################################# > [100%] > /var/tmp/rpm-tmp.1omOJ2: /opt/brother/Printers/HLL2360D/inf/braddprinter: > /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory > [root at localhost drv]# ls > cupsfilters.drv hp sample.drv > [root at localhost drv]# ls -F > cupsfilters.drv hp/ sample.drv > [root at localhost drv]# pwd > /usr/share/cups/drv > [root at localhost drv]# ls ~/D*/*.rpm > ls: cannot access /root/D*/*.rpm: No such file or directory > [root at localhost drv]# ls ~hennebry/D*/*.rpm > /home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm > /home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm > [root at localhost drv]# > > What happened? > How do I do it right?Apparently both rpms are installed, but even after restarting cups, the printer just receives data and goes back to sleep. I have no /etc/printcap.local or /etc/printcap . /etc/cups/printers.conf does not contain the string lp . It does have DeviceURI usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 Now what? -- Michael hennebry at web.cs.ndsu.NoDak.edu "Say it with poison ivy." -- Florist Grump
On Wed, 6 Nov 2019, Pete Biggs wrote:>> I've been trying to folow directions, but no go. >> The bad ELF interpreter really through me for a loop: >> > >> [root at localhost drv]# ls ~hennebry/D*/*.rpm >> /home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm >> /home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm >> [root at localhost drv]# > > They are 32-bit RPMs, presumably you have a 64-bit systemThanks. I just tried the installer helper. It seem to run, but didn't help. I tried deleting cups and starting over. That is not working very well either. When I try to add a printer, 631 just tells me Forbidden, no request for a password, just Forbidden. Now I cannot even ask for printing. Methinks I've reached my frustration limit for the day. -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
On Wed, Nov 06, 2019 at 10:01:49AM -0600, Michael Hennebry wrote:> On Wed, 6 Nov 2019, Michael Hennebry wrote: > > >On Sun, 3 Nov 2019, Jon LaBadie wrote: > > > >>Have you tried adding the Brother CUPS and/or generic LPR software? > >> > >> https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2360dw_us > > > >I've been trying to folow directions, but no go. > >The bad ELF interpreter really through me for a loop: > > > >[root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm > >Preparing... > >################################# [100%] > >Updating / installing... > > 1:hll2360dcupswrapper-3.2.0-1 > >################################# [100%] > >lpadmin -p HLL2360D -E -v > >usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 -P > >/usr/share/ppd/brother/brother-HLL2360D-cups-en.ppd > >restorecon: lstat(/etc/opt/brother/Printers/HLL2360D) failed: No > >such file or directory > >warning: %post(hll2360dcupswrapper-3.2.0-1.i386) scriptlet failed, > >exit status 255 > >[root at localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*lpr*.rpm > >Preparing... > >################################# [100%] > >Updating / installing... > > 1:hll2360dlpr-3.2.0-1 > >################################# [100%] > >/var/tmp/rpm-tmp.1omOJ2: > >/opt/brother/Printers/HLL2360D/inf/braddprinter: > >/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory > >[root at localhost drv]# ls > >cupsfilters.drv hp sample.drv > >[root at localhost drv]# ls -F > >cupsfilters.drv hp/ sample.drv > >[root at localhost drv]# pwd > >/usr/share/cups/drv > >[root at localhost drv]# ls ~/D*/*.rpm > >ls: cannot access /root/D*/*.rpm: No such file or directory > >[root at localhost drv]# ls ~hennebry/D*/*.rpm > >/home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm > >/home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm > >[root at localhost drv]# > > > >What happened? > >How do I do it right? > > Apparently both rpms are installed, > but even after restarting cups, > the printer just receives data and goes back to sleep. > > I have no /etc/printcap.local or /etc/printcap . > /etc/cups/printers.conf does not contain the string lp . > It does have > DeviceURI usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 > > Now what? > > --It looks as if you downloaded the two RPMs from Brother then attempted to follow their complicated instructions for installing them. Much simpler is to do this: linux-brprinter-installer-2.1.1-1 is the brother printer driver installer I used on my HL-L2360D. it asks a few questions, some more cryptic than others, and then downloads and installes the required packages, after which I ran the system-config-printer tool and set up my printer. Voila! As I also said previously in this thread, I set up the same printer on Centos-8 without installing any Brother drivers, by going direct to CUPS on port 631 and selecting Brother 2460 (since it didn't offer 2360). Here are two entries from /etc/cups/printers.conf: MakeModel Brother HL-2460 - CUPS+Gutenprint v5.2.14 DeviceURI ipp://192.168.2.98:631/ipp (That's the printer's IP shown there, not the system being set up.) and it appears to work fine, for small numbers of pages printed, but it does print double-sided and multi-page documents. I don't know of any reason why this would not work on C7 as well, though I haven't tried it, so YMMV and all that. If you can back out all the stuff you've hacked, I suggest you try one or the other of those. Since the CUPS setup is probably simpler and/or less invasive, I'd try that first, were I you. Good luck! Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- The eyes of the Lord are everywhere, keeping watch on the wicked and the good. ----------------------------- Proverbs 15:3 (niv) -----------------------------