Printer either takes 5-60 minutes to process or doesn't print at all

Hello, I am a fairly new user (I am using fedora 30)

I am trying to print some documents in Libre Office from my Brother HL-L2395DW printer.

How can I start debugging these issues?

On windows it takes about 5-10 seconds before it starts printing. On fedora it takes 5-60minutes

Thanks

2 Likes

5–60 minutes? Woah! That’s a lot.

First, let’s try and narrow the issue down. Does it also take this long when you print a “test page” from the printer settings dialogue? What about an application other than libreoffice—for example what if you export the files as PDFs and then use the default PDF viewer to print them? (This will tell us if the issue is a general one with the printer software or if it is something to do with libreoffice)

1 Like

I ran a test print, that took about an hour as well.

@alextrune The fact that you have the patience to click ‘print’ and then let it run for an hour is a testament to your patience! :smile:

I found this: cups lpd - Utlimate slow printing solution - Ask Ubuntu

For the record, instead of using an init.d script, nowadays you’d do systemctl restart cups.

2 Likes

Which protocol the printer is connected with?

ls -l -R /etc/cups
cat /etc/cups/printers.conf

for sudo ls -l -R /etc/cups

/etc/cups:
total 84
-rw-------. 1 root lp       0 May 30 23:37 classes.conf
-rw-r--r--. 1 root lp       0 May 30 23:37 client.conf
-rw-r--r--. 1 root root 27707 Apr 25 19:27 cups-browsed.conf
-rw-r-----. 1 root lp    6278 May 30 23:37 cupsd.conf
-rw-r-----. 1 root lp    6278 May 30 23:37 cupsd.conf.default
-rw-r-----. 1 root lp    3000 Sep  1 21:12 cups-files.conf
-rw-r-----. 1 root lp    3000 May 30 23:37 cups-files.conf.default
-rw-r--r--. 1 root lp       0 May 30 23:37 lpoptions
drwxr-xr-x. 2 root lp    4096 Sep  4 06:49 ppd
-rw-------. 1 root lp     840 Sep  4 06:49 printers.conf
-rw-------. 1 root lp     840 Sep  3 20:15 printers.conf.O
-rw-r--r--. 1 root lp     142 May 30 23:37 snmp.conf
-rw-r-----. 1 root lp     142 May 30 23:37 snmp.conf.default
drwx------. 2 root lp    4096 May 30 23:37 ssl
-rw-r-----. 1 root lp     418 Sep  4 11:31 subscriptions.conf
-rw-r-----. 1 root lp     112 Sep  4 11:30 subscriptions.conf.O

/etc/cups/ppd:
total 40
-rw-r--r--. 1 root root 17544 Sep  4 06:49 HLL2395DW.ppd
-rw-r--r--. 1 root root 17544 Sep  3 20:15 HLL2395DW.ppd.O

/etc/cups/ssl:
total 0

for sudo cat /etc/cups/printers.conf

# Printer configuration file for CUPS v2.2.11
# Written by cupsd on 2019-09-04 11:33
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HLL2395DW>
UUID urn:uuid:b237272e-158b-3119-409e-e8dbae6c0f73
AuthInfoRequired none
Info HLL2395DW
MakeModel Brother HLL2395DW for CUPS 
DeviceURI dnssd://Brother%20HL-L2395DW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4a0c308
State Idle
StateTime 1567622025
ConfigTime 1567551918
Type 8425492
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#000000,none
Attribute marker-levels -1,98
Attribute marker-low-levels 16
Attribute marker-high-levels 100
Attribute marker-names Black Toner Cartridge,Drum Unit
Attribute marker-types toner
Attribute marker-change-time 1567622025
</Printer>
1 Like

I tried restarting cups but the printing still takes forever.

I just realized that there are error ereports.

Did you install the drivers of your printer model?

https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2395dw_us_as

Looks like this model has good support if you see the link over, they have .rpm files.

In case you didn’t maybe you should try it.
Regards.

1 Like

Do I need both of these?

I already installed the the printer driver rpm package. @xtym

Try to connect the printer with this URI:

socket://IP_ADDRESS:9100/

Or utilize systemd-resolved which resolves mDNS much faster for me especially in dual-stack setup.

We were able to resolve this on Discord, the solution/workaround was to go to the CUPS admin UI (http://localhost:631/admin), then add the printer using the first option for a network printer CUPS itself detected.

3 Likes

Could you please list the settings that were required to make the printer work? Was it a different protocol or a different driver?

1 Like

All the settings were configured through the GUI provided by the CUPS site, no terminal commands were required. A few different version of the printer popped on the config screen. I picked the generic one NOT the driverless one. Basically I picked the first option for printer and driver

2 Likes

Could you post the current configuration, so we can see the changes.

sudo cat /etc/cups/printers.conf
2 Likes

Or an image like this from the CUPS UI:

This is for use with the PaperCut system where you have a central print server that you send jobs too. More info here: Global Print Driver | PaperCut

Basically, the important bits here are:

  • the hardware/server
  • the protocol
  • the driver.

If you can list those, others will be able to use these settings too, in case the “defaults” don’t work for whatever reason.

2 Likes

@FranciscoD @vgaetera

output from sudo cat /etc/cups/printers.conf

# Printer configuration file for CUPS v2.2.11
# Written by cupsd on 2019-09-04 17:33
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter HL-L2395DW>
UUID urn:uuid:806c733c-99a4-##########44f509cfc3
Info Brother HL-L2395DW series
MakeModel Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended)
DeviceURI lpd://BRW0C#####1B472/BINARY_P1
State Idle
StateTime 1567643555
ConfigTime 1567630474
Type 8433692
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#000000,none
Attribute marker-levels -1,97
Attribute marker-names Black Toner Cartridge,Drum Unit
Attribute marker-types toner,opc
Attribute marker-change-time 1567643555
</DefaultPrinter>

4 Likes

It is the LPD protocol and some unknown resolver type, likely DNS from the router.

So, we have mDNS or IPP as the cause of the issue:

Though it’s not surprising, because this Bonjour autoconfig has never worked well for me and the default mDNS resolver is painfully slow.

I used # because I wasn’t sure if that info was PII.