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) -----------------------------
On Wed, 6 Nov 2019, Fred Smith wrote:> 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.I had tried that also, but tried it again. before my last try, I power-cycled the printer. This time it worked. For some reason CUPS now shows two queue names: HL-L2360D-series Brother HL-L2360D series localhost.localdomain HL-L2360D HLL2360D both Brother HL-L2360D for CUPS . 'Tain't as big a deal as having none, but why does CUPS have two queue names for the printer?> 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!I think they were the same packages that I tried to use. In any case, they both ended in 386. Had not heard of system-config-printer . Neither man, info nor --help helped. What is it suppoded to do? Google suggests it is a GUI. Google also suggests that it is always started through a GUI. Is it under Sundry, Print Settings?> 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:My printer worked in July. At the time, it did not have Brother drivers. I don't know what update broke it or how. Is there an easy way to rename or alias a queue? -- 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 05:16:52PM -0600, Michael Hennebry wrote:> On Wed, 6 Nov 2019, Fred Smith wrote: > > >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. > > I had tried that also, but tried it again. > before my last try, I power-cycled the printer. > This time it worked. > For some reason CUPS now shows two queue names: > HL-L2360D-series Brother HL-L2360D series localhost.localdomain > HL-L2360D HLL2360D > both Brother HL-L2360D for CUPS . > > 'Tain't as big a deal as having none, > but why does CUPS have two queue names for the printer?'Fraid I have no clue. sorry. we have two brother printers here, and when I look at "manage printers" in the CUPS web page I see this: Queue Name Description Location Make and Model Status DCP7065DN DCP7065DN Brother DCP7065DN for CUPS Idle HLL2360D HLL2360D Brother HL-L2360D for CUPS Idle one per printer. Is it possible that one of yours is cruft left over from previous attempts? You said it works now,... does that mean you can choose either of the two it shows and get printouts?> >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! > > I think they were the same packages that I tried to use. > In any case, they both ended in 386. > > Had not heard of system-config-printer . > Neither man, info nor --help helped. > What is it suppoded to do?I'm using the MATE desktop, so it may be that Gnome 3.x no longer has it, or has renamed it. Can't help you there. But it is a gui you use to configure printers.> Google suggests it is a GUI. > Google also suggests that it is always started through a GUI. > Is it under Sundry, Print Settings?yum whatprovides */system-config-printer replies: system-config-printer-1.4.1-21.el7.x86_64 : A printer administration tool Repo : base Matched from: Filename : /usr/bin/system-config-printer system-config-printer-libs-1.4.1-21.el7.noarch : Libraries and shared code for printer administration tool Repo : base Matched from: Filename : /usr/share/system-config-printer> > >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: > > My printer worked in July. > At the time, it did not have Brother drivers. > I don't know what update broke it or how. > > Is there an easy way to rename or alias a queue?Again, I can't help you with this. sorry. There is a ton of CUPS documentation, though, you may be able to find an answer there. Fred -- ------------------------------------------------------------------------------- Under no circumstances will I ever purchase anything offered to me as the result of an unsolicited e-mail message. Nor will I forward chain letters, petitions, mass mailings, or virus warnings to large numbers of others. This is my contribution to the survival of the online community. --Roger Ebert, December, 1996 ----------------------------- The Boulder Pledge -----------------------------
On Wed, 2019-11-06 at 17:16 -0600, Michael Hennebry wrote:> On Wed, 6 Nov 2019, Fred Smith wrote: > > > 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. > > I had tried that also, but tried it again. > before my last try, I power-cycled the printer. > This time it worked. > For some reason CUPS now shows two queue names: > HL-L2360D-series Brother HL-L2360D series localhost.localdomain > HL-L2360D HLL2360D > both Brother HL-L2360D for CUPS . > > 'Tain't as big a deal as having none, > but why does CUPS have two queue names for the printer?I dont't have any Brother printer to test ths but was the printer USB connected when you ran the setup? If so, one may be the network connection (the first entry) and the second one the same printer over USB?
> I had tried that also, but tried it again. > before my last try, I power-cycled the printer. > This time it worked. > For some reason CUPS now shows two queue names: > HL-L2360D-series Brother HL-L2360D series localhost.localdomain > HL-L2360D HLL2360D > both Brother HL-L2360D for CUPS . > > 'Tain't as big a deal as having none, > but why does CUPS have two queue names for the printer?Do you have CUPS autodiscover turned on? (AKA Avahi on Linux systems), if so CUPS will have automatically added the printer in addition to the one you manually added.> > I think they were the same packages that I tried to use. > In any case, they both ended in 386.Once again, do you have a 64 bit system? If so, then any executables in the RPMs won't work unless you have added the 32-bit compatibility stuff. RPMs aren't magic, they need to have the requirements added by the packager and if the requirements aren't mentioned in the RPM, it will still install, but none of the executables will run. They will come up with Bad ELF errors.> > Had not heard of system-config-printer . > Neither man, info nor --help helped. > What is it suppoded to do? > Google suggests it is a GUI. > Google also suggests that it is always started through a GUI.The god Google is not infallible. system-config-printer is the old way of adding and managing printers. It's a GUI, but you can start it from a command line in a GUI environment (i.e. it's not a command line program). But it's just a front end, you still need the underlying drivers there before it can configure a printer. However, system-config-printer is deprecated in CentOS 7 and I believe it's not in CentOS 8 (I could be wrong though). The official way to manage printers in CentOS 8 is either via CUPS or cockpit. P.
On 11/06/2019 01:56 PM, Fred Smith wrote:> 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! > > FredI also have a Brother HL-L2360DW but am not happy with the print quality when I print PDF-documents. All text ends up "stippled" and hard to read when I print from the PDF-viewer in CentOS 7. Not sure what the problem is but given that a regular e-mail for instance prints fine, it would seem to have something to do with the PDF viewer, the printer driver or the printer when printing PDFs. Anyone else has the same problem? How do I research this?
On Nov 13, 2019, at 6:42 PM, H <agents at meddatainc.com> wrote:> > Anyone else has the same problem? How do I research this?I don?t have any specific guidance for you, but I can tell you what?s happening. The PDF document is being rasterized before being printed, and then some stage along the line is dithering the rasterized form to spread out the errors (aliasing) that occur when you rasterize vector art ? which includes virtually all printed text! The fix therefore is to either: 1. If printing to B&W, rasterize to the printer?s native resolution in 1-bit B&W, not to grayscale. If you rasterize to the wrong resolution, it has to be resized which usually creates grayscale, and if you rasterize to the right resolution but it's antialiased, it still won?t print sharply. 2. Send it through to the printer to be rasterized there instead. The most durable form is Postscript, but if you don?t have a Postscript capable printer, or if it?s just too slow on that mode, pick the right language. The trick is finding out which of the above failure modes is happening in your case. There?s probably 2-4 stages in the CentOS printing process where data is handed off from one process to another before it hits the actual printer, and they can all be doing these sorts of mistranslation. That?s why Postscript was such a great idea: the producing application wrote out the Postscript rendition of the doc, and it was just sent as unprocessed data until it hit the printer, no reinterpretation along the way.
On Wed, Nov 13, 2019 at 08:42:04PM -0500, H wrote:> On 11/06/2019 01:56 PM, Fred Smith wrote: > > 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 > > I also have a Brother HL-L2360DW but am not happy with the print quality when I print PDF-documents. All text ends up "stippled" and hard to read when I print from the PDF-viewer in CentOS 7. Not sure what the problem is but given that a regular e-mail for instance prints fine, it would seem to have something to do with the PDF viewer, the printer driver or the printer when printing PDFs. > > Anyone else has the same problem? How do I research this?I haven't noticed any such problem (and as a former typographer I'm fairly picky about my type). Can you upload an image of the bad result somewhere? -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- The Lord detests the way of the wicked but he loves those who pursue righteousness. ----------------------------- Proverbs 15:9 (niv) -----------------------------