alextrune
(alex trune)
September 4, 2019, 4:12am
1
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
ankursinha
(FranciscoD)
September 4, 2019, 9:10am
2
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
alextrune
(alex trune)
September 4, 2019, 2:10pm
3
I ran a test print, that took about an hour as well.
dan1mal
(Danny Lee)
September 4, 2019, 2:42pm
4
@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!
I found this: cups lpd - Utlimate slow printing solution - Ask Ubuntu
refi64
(Ryan Gonzalez)
September 4, 2019, 3:07pm
5
For the record, instead of using an init.d script, nowadays youâd do systemctl restart cups
.
2 Likes
vgaetera
(Vladislav Grigoryev)
September 4, 2019, 5:06pm
6
Which protocol the printer is connected with?
ls -l -R /etc/cups
cat /etc/cups/printers.conf
alextrune
(alex trune)
September 4, 2019, 6:38pm
7
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
alextrune
(alex trune)
September 4, 2019, 6:45pm
8
I tried restarting cups but the printing still takes forever.
alextrune
(alex trune)
September 4, 2019, 6:50pm
9
I just realized that there are error ereports.
xtym
(Jorge Rodriguez)
September 4, 2019, 7:21pm
10
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
alextrune
(alex trune)
September 4, 2019, 7:26pm
11
Do I need both of these?
I already installed the the printer driver rpm package. @xtym
vgaetera
(Vladislav Grigoryev)
September 4, 2019, 8:16pm
12
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.
refi64
(Ryan Gonzalez)
September 5, 2019, 4:21am
13
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
ankursinha
(FranciscoD)
September 5, 2019, 11:12am
14
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
alextrune
(alex trune)
September 5, 2019, 3:53pm
15
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
vgaetera
(Vladislav Grigoryev)
September 5, 2019, 4:40pm
16
Could you post the current configuration, so we can see the changes.
sudo cat /etc/cups/printers.conf
2 Likes
ankursinha
(FranciscoD)
September 5, 2019, 5:33pm
17
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
alextrune
(alex trune)
September 5, 2019, 11:17pm
18
@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
vgaetera
(Vladislav Grigoryev)
September 5, 2019, 11:31pm
19
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.
alextrune
(alex trune)
September 5, 2019, 11:41pm
20
I used #
because I wasnât sure if that info was PII.