Linux sends job to printer, printer does not print

Forum rules
Before you post please read this
Post Reply
Linux Munt
Level 1
Level 1
Posts: 4
Joined: Sun Sep 16, 2018 1:52 pm

Linux sends job to printer, printer does not print

Post by Linux Munt » Sun Sep 16, 2018 2:09 pm

I have a monochrome laser printer. A Brother 5450DN connected to the computer, via USB cable, which is running a fresh install of Linux 19 / 64bit.

When I hit PRINT, Linux recognizes the command and reports job done. Nothing happens at the printer. The job queue is also clear so Linux recognizes the print job as complete.

The USB cable is good.
The printer works for other computers and OSes. The printer worked perfectly under Linux 17 and Win10.
Linux sees the printer but Linux 19 seems to be the culprit. None of the solutions found on the internet work for this case.

Attached are the found drivers on the set up. Any suggestions? Should this be a bug report?

Cheers,

Linux Munt

i printer-driver-brlaser - printer driver for (some) Brother laser printers
i printer-driver-c2esp - printer driver for Kodak ESP AiO color inkjet Series
i printer-driver-foo2zjs - printer driver for ZjStream-based printers
i printer-driver-foo2zjs-common - printer driver for ZjStream-based printers - common files
i printer-driver-gutenprint - printer drivers for CUPS
i printer-driver-hpcups - HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
i printer-driver-m2300w - printer driver for Minolta magicolor 2300W/2400W color laser printers
i printer-driver-min12xxw - printer driver for KonicaMinolta PagePro 1[234]xxW
i printer-driver-pnm2ppa - printer driver for HP-GDI printers
i printer-driver-postscript-hp - HP Printers PostScript Descriptions
i printer-driver-ptouch - printer driver Brother P-touch label printers
i printer-driver-pxljr - printer driver for HP Color LaserJet 35xx/36xx
i printer-driver-sag-gdi - printer driver for Ricoh Aficio SP 1000s/SP 1100s
i printer-driver-splix - Driver for Samsung and Xerox SPL2 and SPLc laser printers
i system-config-printer - graphical interface to configure the printing system
i system-config-printer-common - backend and the translation files for system-config-printer
i system-config-printer-gnome - graphical interface to configure printers (transitional package)
i system-config-printer-udev - Utilities to detect and configure printers automatically

rbmorse
Level 3
Level 3
Posts: 144
Joined: Mon Mar 07, 2011 11:56 pm
Location: Albuquerque, New Mexico USA

Re: Linux sends job to printer, printer does not print

Post by rbmorse » Sun Sep 16, 2018 3:29 pm

How to Installations Brother HL-5450DN Printer Driver for Linux
Run the computer & run the CUPS.
Visit the web-based interface.
Open a browser and navigate to localhost: 631.
Connect the printer.
On the browser, go to Administration tab & then choose Printers.
Select Add Printer.
Enter username & password.
Your printer (Brother) should be on the list displayed. Choose it & press Continue.
CUPS detect & add the printer.
The configuration window will pop up, fill values as needed.
The printer is ready to use.
Note: When doing the installations, the printer must be connected to PC or your laptop, so that the process installations could be done.
Hope is not a plan

User avatar
JerryF
Level 9
Level 9
Posts: 2893
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Linux sends job to printer, printer does not print

Post by JerryF » Sun Sep 16, 2018 6:14 pm

Did you go here? http://support.brother.com/g/b/download ... &type3=625

This is the official site for Brother printer drivers.

Make note that there is a link that reads Before the installation. Go through that carefully. You'll need to use the Terminal.

I too have a Brother printer. The first time I installed, I didn't notice that link. After performing the Before the installation, printer is fine now.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

pdc_2
Level 8
Level 8
Posts: 2395
Joined: Mon May 11, 2009 1:21 am

Brother installer tool for HL-5450DN

Post by pdc_2 » Sun Sep 16, 2018 8:38 pm

Jerry has pointed you to the right way: the Brother installer tool;

clicking on that link; and selecting to SAVE as the file is downloaded, should mean it ends up in your Downloads folder

open a terminal; (the black TV on the bottom line ) ........ and paste each command below into the terminal; PASTE in the terminal is 3 keys held down: shift and control and v (whereas in GUI programmes it is just control and v as you will know ....)

Code: Select all

cd Downloads

Code: Select all

 gunzip linux-brprinter-installer-2.2.0-1.gz

Code: Select all

sudo bash linux-brprinter-installer-2.2.0-1 HL-5450DN
watch the terminal as the installer runs; it will ask you questions; if this a usb connection; say NO when it asks if you want to specify Device URI:

if wireless do this before you run the above script

Code: Select all

lpinfo -v
and look to see what Mint is calling your printer; copy the result; look for that in the options when offered; and select it

Linux Munt
Level 1
Level 1
Posts: 4
Joined: Sun Sep 16, 2018 1:52 pm

Re: Linux sends job to printer, printer does not print

Post by Linux Munt » Mon Sep 17, 2018 7:27 am

Hello, rbmorse, JerryF and pdc_2.

Thanks for your quick and helpful comments.

I did miss a turn on the pre-procedure set up at the Brother site. I was missing ia32-libs. I installed it using the sudo apt install ia32-libs command.
I thought I was good to go and followed the rest of your cut & paste instructions straight into the command line, pdc_2.
This is what came back:

Preparing to unpack hl5450dncupswrapper-3.0.0-1a.i386.deb ...
Unpacking hl5450dncupswrapper:i386 (3.0.0-1) ...
Setting up hl5450dncupswrapper:i386 (3.0.0-1) ...
lpinfo: Bad file descriptor
lpadmin -p HL5450DN -E -v usb://dev/usb/lp0 -P /usr/share/ppd/brother/brother-HL-5450DN-cups-en.ppd
lpadmin: Unable to connect to server: Bad file descriptor
###############################ls: cannot access '/usr/share/ppd/*.ppd': No such file or directory
#
lpinfo: Bad file descriptor

0 (I): Specify IP address.
1 (A): Auto. (usb://dev/usblp0)

select the number of destination Device URI. ->1

lpadmin -p HL5450DN -v usb://dev/usblp0 -E -P /usr/share/cups/model/brother-HL-5450DN-cups-en.ppd
lpadmin: Unable to connect to server: Bad file descriptor
Test Print? [y/N] ->y

wait 5s.
lpr -P HL5450DN /usr/share/cups/data/testprint
lpr: No such file or directory
ls: cannot access '/etc/udev/rules.d/*.rules': No such file or directory

Do I have to manually create a file or folder? What does * represent in the address /usr/share/ppd/*.ppd? The same for '/etc/udev/rules.d/*.rules'?

I'd characterize myself as a Novice Plus when it comes to Linux. Please advise as such.

Cheers.

User avatar
JerryF
Level 9
Level 9
Posts: 2893
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Linux sends job to printer, printer does not print

Post by JerryF » Mon Sep 17, 2018 8:36 am

Did you follow all the pre-required procedures for your system?

http://support.brother.com/g/s/id/linux ... edirect=on

There are 13 to view, but if you have Mint 64-bit, only these would apply:

Pre-required Procedure 2, 4, 5, 6 is a possibility because I'm not sure, 8, 9, 10, and 12.

If you need help on 9 with firewall settings, I can help.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

pdc_2
Level 8
Level 8
Posts: 2395
Joined: Mon May 11, 2009 1:21 am

Re: Linux sends job to printer, printer does not print

Post by pdc_2 » Mon Sep 17, 2018 1:52 pm

what does

Code: Select all

service cups status
give please? If you copy what you get; and paste it back here; inside the code tags ... 5th box on the line above all this ....... thanks

Linux Munt
Level 1
Level 1
Posts: 4
Joined: Sun Sep 16, 2018 1:52 pm

Re: Linux sends job to printer, printer does not print

Post by Linux Munt » Tue Sep 18, 2018 10:03 am

Still getting a bad file descriptor error. Not sure what to do now.

service cups status
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Tue 2018-09-18 06:46:05 EEST; 10h ago
Docs: man:cupsd(8)
Process: 1007 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
Main PID: 1007 (code=killed, signal=TERM)

Sep 18 06:46:05 MobBox systemd[1]: cups.service: Service hold-off time over, scheduling restart.
Sep 18 06:46:05 MobBox systemd[1]: cups.service: Scheduled restart job, restart counter is at 4.
Sep 18 06:46:05 MobBox systemd[1]: Stopped CUPS Scheduler.
Sep 18 06:46:05 MobBox systemd[1]: Started CUPS Scheduler.
Sep 18 06:46:05 MobBox systemd[1]: cups.service: Service hold-off time over, scheduling restart.
Sep 18 06:46:05 MobBox systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
Sep 18 06:46:05 MobBox systemd[1]: Stopped CUPS Scheduler.
Sep 18 06:46:05 MobBox systemd[1]: cups.service: Start request repeated too quickly.
Sep 18 06:46:05 MobBox systemd[1]: cups.service: Failed with result 'start-limit-hit'.
Sep 18 06:46:05 MobBox systemd[1]: Failed to start CUPS Scheduler.

oxygenfarm
Level 3
Level 3
Posts: 146
Joined: Mon Jan 23, 2012 10:54 am

Re: Linux sends job to printer, printer does not print

Post by oxygenfarm » Tue Sep 18, 2018 11:13 am

I've often had a similar problem (Mate 18.3, HP all-in-one) and always found that the printer had somehow lost its 'enable' setting. Simple fix but aggravating.

pdc_2
Level 8
Level 8
Posts: 2395
Joined: Mon May 11, 2009 1:21 am

Re: Linux sends job to printer, printer does not print

Post by pdc_2 » Tue Sep 18, 2018 1:24 pm

have a look in /etc/cups and see if there is a file there called cups.conf

a couple of links suggested that it might go missing; and one needs to copy a spare version; to replace it

https://askubuntu.com/questions/574420/ ... 448#575448

so you can see they suggested

Code: Select all

sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
then

Code: Select all

sudo service cups restart
then to see if that has fixed things, do

Code: Select all

sudo service cups status
and look for
cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running)

Linux Munt
Level 1
Level 1
Posts: 4
Joined: Sun Sep 16, 2018 1:52 pm

Re: Linux sends job to Brother 5450DN printer, printer does not print [SOLVED]

Post by Linux Munt » Wed Sep 19, 2018 1:55 pm

BINGO!

A missing file is what caused all the grief, pdc_2. The procedure you referred me to did the trick. Not sure why a fresh install would be
missing something so vital.

Thank you, and rbmorse & JerryF, for your help. I'll go ahead and make a donation to the Linux Mint project in your names.

In review for others following later with this problem:

Do not forget to install the Linux utilities recommended by Brother BEFORE you install the drivers.
http://support.brother.com/g/s/id/linux ... =on#prereq

I then ran:

/usr/share/cups/cupsd.conf.default

sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf

sudo service cups restart

Post Reply

Return to “Printers & Scanners”