0

Debian 11 (bullseye). Recently I installed new printer Brother HL-L2400DW, it has USB and wireless connectivity. I have CUPS on http://localhost:631/printers/

The problem is printer has a very long delay (~10min) before it starts printing via WiFi. It stays in "deep sleep" mode, and it may take up to 10 minutes to start printing. I tried to restart CUPS but it doesn't change anything. I'm printing from LibreOffice Writer, relatively small docs.

error_log

EDIT: The issue seems to be with the CUPS server related. CUPS for Linux lacks the clear manual how to use web-based administration tool to manage printers and jobs on server. Before reconfiguring CUPS I had only one entry on the CUPS printers page http://localhost:631/printers:

HLL2400DW   HLL2400DW Brother HL-L2400DW for CUPS

Logically, this is quite correct, as I have only one printer, and I used Brother Driver Install Tool and I followed vendor manual how to configure printer. Connection: lpd://local_IP/BINARY_P1 However, it turns out that this is not enough for CUPS. Solution 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.

"Add Printer" > "Discovered Network Printers" > choose the first option

Now CUPS Printer page shows two printers:

Brother_HL-L2400DW  Brother HL-L2400DW  Home Lab    Printer - IPP Everywhere
HLL2400DW   HLL2400DW       Brother HL-L2400DW for CUPS

but in Writer "Print" menu now I have 5 printers under different(!) names. So all this just adds the confusion.

7
  • What is the error log you've posted? Where is it from? Also, it looks like thousands of lines, can you show us the relevant parts? Perhaps send a job to the printer and show only what is generated from the moment you send until it is finished printing? And to be clear: you don't mean that it prints slowly, the problem is that it takes a long time to begin printing, but once it has started, the printing speed is normal, right? Commented May 10 at 14:18
  • Please post the relevant lines of the log, here Commented May 10 at 14:23
  • Yes, I mean there is an abnormal delay between press "Print" button and start of printing. The printer is just in "Deep sleeping" or sleep at this time.. The printer does not show any errors, though. The error log I posted as just hoped this might be helpful. Commented May 10 at 16:36
  • Check with https://support.brother.com/g/b/downloadlist.aspx?c=au&lang=en&prod=hll2400dw_eu_as&os=128 for manuals, and packages. Note thst this is a Brother HL-L2400DW Monochrome Laser Printer, so you may be encountering "warm up delay". Commented May 10 at 23:34
  • Install wireshark and you can use it to see the network packets going back and forth. Commented May 10 at 23:36

1 Answer 1

0

The issue seems to be with the CUPS server related. CUPS for Linux lacks the clear manual how to use web-based administration tool to manage printers and jobs on server. Before reconfiguring CUPS I had only one entry on the CUPS printers page http://localhost:631/printers

HLL2400DW   HLL2400DW Brother HL-L2400DW for CUPS

Logically, this is quite correct, as I have only one printer, and I used the Brother manufacturer's manual how to set up the printer. Connection: lpd://local_IP/BINARY_P1 However, it turns out that this is not enough for CUPS.

The solution 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.

"Add Printer" > "Discovered Network Printers" > choose the first option

Now CUPS Printer page shows two printers:

Brother_HL-L2400DW  Brother HL-L2400DW  Home Lab    Printer - IPP Everywhere
HLL2400DW   HLL2400DW       Brother HL-L2400DW for CUPS

but in LO Writer "Print" menu now I have 5 printers under different (!) names. And every time when I need to print I have to choose the correct printer (driver) from list. So all this just adds the confusion.

Edit: So I continued my research and I think, I finally found a solution. Problem is that printer have two drivers: one is "Brother installed driver for CUPS" that use lpd connection, and second driver is "Printer - IPP Everywhere" that use dnssd connection. The dnssd is a newer standard and is preferable - that's why I chose it as my default printer.The default printer selection is done through the Linux system dialog. In Debian:

System > Print Settings-localhost > Unlock > select default printer[Properties > Set As Default (one with dnssd)]. Then Lock settings again. Other printer driver should be disabled in CUPS web interface (Maintenance > Pause Printer)

Now there are no delay before printing starts via wifi.

EDIT: Unfortunately, the issue is still present and appears from time to time.

5
  • Please use the edit link on your question to add additional information. The Post Answer button should be used only for complete answers to the question. - From Review Commented May 11 at 15:55
  • @Kusalananda this is actually an answer, it includes the solution. Commented May 12 at 20:33
  • Thanks for posting your solution, minto. Can you please clarify that this actually solved the issue? If you pick the right printer, does it now work as expected? Commented May 12 at 20:35
  • @terdon I see. I (and the user who flagged the answer) must have been confused about the "So all this just adds the confusion" at the end which seemed to indicate that the issue was not resolved. Commented May 12 at 20:54
  • 1
    To make it clearer, maybe move the actual solution to the top, and remove the confusion bit at the end (and make a new question from it?) Commented May 12 at 20:57

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.