[CentOS] printer only prints one page, if anything

Thu Nov 14 01:42:04 UTC 2019
H <agents at meddatainc.com>

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?