PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Struggling to share a Brother HL-L2300D over network

Sun Nov 29, 2015 4:52 pm

Hello community,

I'm new to the forums but using a Raspi for 1-2 years already. It's a Raspi model B running Raspbian Wheezy, CUPS 1.5.3.

Earlier I have been using a Brother HL-2030 printer. It worked nicely with Linux, however, when I bought the Raspi I faced the problem that the Linux drivers were purely binary and didn't work with ARM. I solved the problem by adding the Raspi as a Raw queue and then selecting the correct driver in the clients (running Arch Linux and Manjaro Linux). For some reason it worked for all the Manjaro clients but didn't for the only Arch client which seems to be due to some misconfiguration on my side.

A week ago I searched for a new printer, again a monochrome laser, and decided to buy another Brother, somehow completely forgetting about the binary drivers problem... So I bought a Brother HL-L2300D which was very cheap, had duplex printing (yeah!) and nice binary drivers.

As you may guess, everything perfectly fine on my Arch machine. Even better, I found open source drivers, recommended in another thread here on the forums: https://github.com/pdewacht/brlaser So I compiled the drivers on the Raspi, set up the printer and guess what, I could print over network!

However, after a few days, without any changes or updates whatsoever, the printer stopped printing. I described the issue here: https://github.com/pdewacht/brlaser/issues/4

But today I recalled the method which worked for my old HL-2030, just use a Raw queue. This time, however, it didn't work out. I added the printer in the Raspi's CUPS server with "Raw" as driver and then added it on my desktop over IPP using the binary drivers. However, the printer only prints empty pages. The CUPS log doesn't report anything suspicious, just successfully completed jobs:

Code: Select all

$ cat /var/log/cups/error_log
I [29/Nov/2015:17:46:26 +0100] Saving job.cache...
D [29/Nov/2015:17:46:26 +0100] [Job 396] Unloading...
I [29/Nov/2015:17:46:27 +0100] Listening to 0.0.0.0:631 (IPv4)
I [29/Nov/2015:17:46:27 +0100] Listening to [v1.::]:631 (IPv6)
I [29/Nov/2015:17:46:27 +0100] Listening to /var/run/cups/cups.sock (Domain)
I [29/Nov/2015:17:46:27 +0100] Remote access is enabled.
D [29/Nov/2015:17:46:27 +0100] Added auto ServerAlias raspberrypi
I [29/Nov/2015:17:46:27 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [29/Nov/2015:17:46:27 +0100] Using default TempDir of /var/spool/cups/tmp...
I [29/Nov/2015:17:46:27 +0100] Configured for up to 100 clients.
I [29/Nov/2015:17:46:27 +0100] Allowing up to 100 client connections per host.
I [29/Nov/2015:17:46:27 +0100] Using policy "default" as the default.
I [29/Nov/2015:17:46:27 +0100] Full reload is required.
I [29/Nov/2015:17:46:27 +0100] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 39 types, 56 filters...
D [29/Nov/2015:17:46:27 +0100] Loading printer Brother_HL-L2300D_series...
D [29/Nov/2015:17:46:27 +0100] cupsdMarkDirty(P-----)
D [29/Nov/2015:17:46:27 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"
D [29/Nov/2015:17:46:27 +0100] load_ppd: Loading /etc/cups/ppd/Brother_HL-L2300D_series.ppd...
D [29/Nov/2015:17:46:27 +0100] Calling DeleteDevice(cups-Brother_HL-L2300D_series)
D [29/Nov/2015:17:46:27 +0100] failed to DeleteDevice: org.freedesktop.DBus.Error.InvalidArgs:Type of message, '(s)', does not match expected type '(o)'
D [29/Nov/2015:17:46:27 +0100] cannot open /etc/cups/ppd/Brother_HL-L2300D_series.ppd
D [29/Nov/2015:17:46:27 +0100] cupsdRegisterPrinter(p=0x8094d2a0(Brother_HL-L2300D_series))
I [29/Nov/2015:17:46:27 +0100] Loading job cache file "/var/cache/cups/job.cache"...
D [29/Nov/2015:17:46:27 +0100] [Job 388] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 389] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 390] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 391] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 392] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 393] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 394] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 395] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 396] Loading from cache...
I [29/Nov/2015:17:46:27 +0100] Full reload complete.
D [29/Nov/2015:17:46:27 +0100] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [29/Nov/2015:17:46:27 +0100] Cleaning out old files in "/var/spool/cups/tmp"...
D [29/Nov/2015:17:46:27 +0100] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [29/Nov/2015:17:46:27 +0100] Cleaning out old files in "/var/cache/cups"...
I [29/Nov/2015:17:46:27 +0100] Listening to 0.0.0.0:631 on fd 9...
E [29/Nov/2015:17:46:27 +0100] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.
I [29/Nov/2015:17:46:27 +0100] Listening to /var/run/cups/cups.sock:631 on fd 10...
I [29/Nov/2015:17:46:27 +0100] Resuming new connection processing...
D [29/Nov/2015:17:46:27 +0100] Avahi client started
D [29/Nov/2015:17:46:27 +0100] Registering Avahi printer Brother_HL-L2300D_series with name "Brother HL-L2300D series @ raspberrypi" and type "_ipp._tcp,_cups,_universal"
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_cups._sub._ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_universal._sub._ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] cupsdRegisterPrinter(p=0x8094d2a0(Brother_HL-L2300D_series))
D [29/Nov/2015:17:46:27 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:46:27 +0100] Discarding unused server-started event...
D [29/Nov/2015:17:46:28 +0100] Report: clients=0
D [29/Nov/2015:17:46:28 +0100] Report: jobs=9
D [29/Nov/2015:17:46:28 +0100] Report: jobs-active=0
D [29/Nov/2015:17:46:28 +0100] Report: printers=1
D [29/Nov/2015:17:46:28 +0100] Report: printers-implicit=0
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-string-count=381
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-alloc-bytes=6176
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-total-bytes=6920
D [29/Nov/2015:17:46:30 +0100] Avahi entry group established for Brother HL-L2300D series @ raspberrypi
I [29/Nov/2015:17:46:58 +0100] Saving printers.conf...
D [29/Nov/2015:17:46:58 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 15 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 16 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 WAITING Closing on EOF
D [29/Nov/2015:17:47:04 +0100] cupsdCloseClient: 15
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 15 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 WAITING Closing on EOF
D [29/Nov/2015:17:47:04 +0100] cupsdCloseClient: 16
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 16 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 POST / HTTP/1.1
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:04 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [29/Nov/2015:17:47:04 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.104:631
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 POST / HTTP/1.1
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:04 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 1.1 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:04 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:04 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 1.1 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:04 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:04 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 18 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Validate-Job 2
D [29/Nov/2015:17:47:10 +0100] Validate-Job ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Validate-Job (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 2.0 Get-Printer-Attributes 3
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Create-Job 4
D [29/Nov/2015:17:47:10 +0100] Create-Job ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] add_job: requesting-user-name="photon"
D [29/Nov/2015:17:47:10 +0100] Adding default job-sheets values "none,none"...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Adding start banner page "none".
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-created event...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Queued on "Brother_HL-L2300D_series" by "photon".
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Create-Job (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 WAITING Closing on EOF
D [29/Nov/2015:17:47:10 +0100] cupsdCloseClient: 18
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Send-Document 5
D [29/Nov/2015:17:47:10 +0100] Send-Document ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] cupsdIsAuthorized: requesting-user-name="photon"
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [29/Nov/2015:17:47:10 +0100] [Job 397] File of type application/vnd.cups-pdf queued by "photon".
I [29/Nov/2015:17:47:10 +0100] [Job 397] Adding end banner page "none".
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sending job to queue tagged as raw...
D [29/Nov/2015:17:47:10 +0100] [Job 397] job-sheets=none,none
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[0]="Brother_HL-L2300D_series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[1]="397"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[2]="photon"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[3]="medit-Auftrag #6"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[4]="1"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[5]="BrMediaType=PLAIN Duplex=DuplexNoTumble InputSlot=TRAY1 job-uuid=urn:uuid:3782d260-c1b2-3cb2-6cf6-f89036f96874 number-up=1 PageSize=A4 Resolution=600dpi Sleep=PrinterDefault TonerSaveMode=OFF job-originating-host-name=192.168.2.107 time-at-creation=1448815630 time-at-processing=1448815630"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[6]="/var/spool/cups/d00397-001"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[10]="[email protected]"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[11]="SOFTWARE=CUPS/1.5.3"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[13]="TZ=Europe/Berlin"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[14]="USER=root"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[17]="IPP_PORT=631"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[18]="CHARSET=utf-8"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[19]="LANG=de_DE.UTF-8"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[20]="PPD=/etc/cups/ppd/Brother_HL-L2300D_series.ppd"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[21]="RIP_MAX_CACHE=128m"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[23]="DEVICE_URI=usb://Brother/HL-L2300D%20series?serial=E73860G5N986807"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[24]="PRINTER_INFO=Brother HL-L2300D series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[25]="PRINTER_LOCATION="
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[26]="PRINTER=Brother_HL-L2300D_series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[28]="CUPS_FILETYPE=document"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[29]="AUTH_I****"
I [29/Nov/2015:17:47:10 +0100] [Job 397] Started backend /usr/lib/cups/backend/usb (PID 632)
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-state-changed event...
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Send-Document (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 6
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:10 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Job-Attributes 7
D [29/Nov/2015:17:47:10 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [29/Nov/2015:17:47:10 +0100] [Job 397] Printing on printer with URI: usb://Brother/HL-L2300D%20series?serial=E73860G5N986807
D [29/Nov/2015:17:47:10 +0100] [Job 397] libusb_get_device_list=5
D [29/Nov/2015:17:47:10 +0100] [Job 397] STATE: +connecting-to-device
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] STATE: -connecting-to-device
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Device protocol: 2
I [29/Nov/2015:17:47:10 +0100] [Job 397] Sending data to printer.
D [29/Nov/2015:17:47:10 +0100] [Job 397] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-progress event...
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] PAGE: 1 1
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-progress event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Read 3877 bytes of print data...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Wrote 3877 bytes of print data...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sending print file, 3877 bytes...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sent 3877 bytes...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Waiting for read thread to exit...
D [29/Nov/2015:17:47:10 +0100] PID 632 (/usr/lib/cups/backend/usb) exited with no errors.
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-completed event...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Job completed.
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:11 +0100] cupsdAcceptClient: 18 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:11 +0100] [Job 397] Unloading...
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 2.0 Get-Printer-Attributes 8
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 2.0 Get-Job-Attributes 9
D [29/Nov/2015:17:47:11 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] [Job 397] Loading attributes...
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 18
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 10
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Job-Attributes 11
D [29/Nov/2015:17:47:11 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 12
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
So I'm completely out of ideas what to try next.

User avatar
DougieLawson
Posts: 35120
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Struggling to share a Brother HL-L2300D over network

Mon Nov 30, 2015 8:03 am

Sell your Brother printer on eBay and buy a printer that has better Linux on ARM support like an Epson or HP.

Brother printers have some closed source support for Linux on X86 but absolutely NO SUPPORT for running on a Raspberry Pi.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Mon Nov 30, 2015 5:25 pm

Thanks for the reply! Ideally, I'd make it work the way it worked with my HL-2030. But in case this doesn't work out: What would be a fitting alternative? It should be very basic, no Wifi, no Ethernet, just a B/W laser with duplex. The Brother was really cheap, 74€ minus 20€ cashback which effectively boils down to 54€. The cheapest HP starts at 150€ (HP LaserJet Pro 200 M201dw), the cheapest Epson at 100€ (Epson WorkForce AL-M200DN) and has quite a high standby and sleep power consumption. What about Samsung and Dell?

fruitoftheloom
Posts: 19483
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Struggling to share a Brother HL-L2300D over network

Mon Nov 30, 2015 5:31 pm

PhotonX wrote:Thanks for the reply! Ideally, I'd make it work the way it worked with my HL-2030. But in case this doesn't work out: What would be a fitting alternative? It should be very basic, no Wifi, no Ethernet, just a B/W laser with duplex. The Brother was really cheap, 74€ minus 20€ cashback which effectively boils down to 54€. The cheapest HP starts at 150€ (HP LaserJet Pro 200 M201dw), the cheapest Epson at 100€ (Epson WorkForce AL-M200DN) and has quite a high standby and sleep power consumption. What about Samsung and Dell?
http://gimp-print.sourceforge.net/p_Sup ... inters.php

http://hplipopensource.com/hplip-web/supported_devices
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

rubiks
Posts: 32
Joined: Mon Jul 13, 2015 10:14 pm

Re: Struggling to share a Brother HL-L2300D over network

Mon Nov 30, 2015 10:01 pm

PhotonX wrote:Hello community,

I'm new to the forums but using a Raspi for 1-2 years already. It's a Raspi model B running Raspbian Wheezy, CUPS 1.5.3.

Earlier I have been using a Brother HL-2030 printer. It worked nicely with Linux, however, when I bought the Raspi I faced the problem that the Linux drivers were purely binary and didn't work with ARM. I solved the problem by adding the Raspi as a Raw queue and then selecting the correct driver in the clients (running Arch Linux and Manjaro Linux). For some reason it worked for all the Manjaro clients but didn't for the only Arch client which seems to be due to some misconfiguration on my side.

A week ago I searched for a new printer, again a monochrome laser, and decided to buy another Brother, somehow completely forgetting about the binary drivers problem... So I bought a Brother HL-L2300D which was very cheap, had duplex printing (yeah!) and nice binary drivers.

As you may guess, everything perfectly fine on my Arch machine. Even better, I found open source drivers, recommended in another thread here on the forums: https://github.com/pdewacht/brlaser So I compiled the drivers on the Raspi, set up the printer and guess what, I could print over network!

However, after a few days, without any changes or updates whatsoever, the printer stopped printing. I described the issue here: https://github.com/pdewacht/brlaser/issues/4

But today I recalled the method which worked for my old HL-2030, just use a Raw queue. This time, however, it didn't work out. I added the printer in the Raspi's CUPS server with "Raw" as driver and then added it on my desktop over IPP using the binary drivers. However, the printer only prints empty pages. The CUPS log doesn't report anything suspicious, just successfully completed jobs:

Code: Select all

$ cat /var/log/cups/error_log
I [29/Nov/2015:17:46:26 +0100] Saving job.cache...
D [29/Nov/2015:17:46:26 +0100] [Job 396] Unloading...
I [29/Nov/2015:17:46:27 +0100] Listening to 0.0.0.0:631 (IPv4)
I [29/Nov/2015:17:46:27 +0100] Listening to [v1.::]:631 (IPv6)
I [29/Nov/2015:17:46:27 +0100] Listening to /var/run/cups/cups.sock (Domain)
I [29/Nov/2015:17:46:27 +0100] Remote access is enabled.
D [29/Nov/2015:17:46:27 +0100] Added auto ServerAlias raspberrypi
I [29/Nov/2015:17:46:27 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [29/Nov/2015:17:46:27 +0100] Using default TempDir of /var/spool/cups/tmp...
I [29/Nov/2015:17:46:27 +0100] Configured for up to 100 clients.
I [29/Nov/2015:17:46:27 +0100] Allowing up to 100 client connections per host.
I [29/Nov/2015:17:46:27 +0100] Using policy "default" as the default.
I [29/Nov/2015:17:46:27 +0100] Full reload is required.
I [29/Nov/2015:17:46:27 +0100] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 39 types, 56 filters...
D [29/Nov/2015:17:46:27 +0100] Loading printer Brother_HL-L2300D_series...
D [29/Nov/2015:17:46:27 +0100] cupsdMarkDirty(P-----)
D [29/Nov/2015:17:46:27 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"
D [29/Nov/2015:17:46:27 +0100] load_ppd: Loading /etc/cups/ppd/Brother_HL-L2300D_series.ppd...
D [29/Nov/2015:17:46:27 +0100] Calling DeleteDevice(cups-Brother_HL-L2300D_series)
D [29/Nov/2015:17:46:27 +0100] failed to DeleteDevice: org.freedesktop.DBus.Error.InvalidArgs:Type of message, '(s)', does not match expected type '(o)'
D [29/Nov/2015:17:46:27 +0100] cannot open /etc/cups/ppd/Brother_HL-L2300D_series.ppd
D [29/Nov/2015:17:46:27 +0100] cupsdRegisterPrinter(p=0x8094d2a0(Brother_HL-L2300D_series))
I [29/Nov/2015:17:46:27 +0100] Loading job cache file "/var/cache/cups/job.cache"...
D [29/Nov/2015:17:46:27 +0100] [Job 388] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 389] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 390] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 391] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 392] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 393] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 394] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 395] Loading from cache...
D [29/Nov/2015:17:46:27 +0100] [Job 396] Loading from cache...
I [29/Nov/2015:17:46:27 +0100] Full reload complete.
D [29/Nov/2015:17:46:27 +0100] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [29/Nov/2015:17:46:27 +0100] Cleaning out old files in "/var/spool/cups/tmp"...
D [29/Nov/2015:17:46:27 +0100] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [29/Nov/2015:17:46:27 +0100] Cleaning out old files in "/var/cache/cups"...
I [29/Nov/2015:17:46:27 +0100] Listening to 0.0.0.0:631 on fd 9...
E [29/Nov/2015:17:46:27 +0100] Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.
I [29/Nov/2015:17:46:27 +0100] Listening to /var/run/cups/cups.sock:631 on fd 10...
I [29/Nov/2015:17:46:27 +0100] Resuming new connection processing...
D [29/Nov/2015:17:46:27 +0100] Avahi client started
D [29/Nov/2015:17:46:27 +0100] Registering Avahi printer Brother_HL-L2300D_series with name "Brother HL-L2300D series @ raspberrypi" and type "_ipp._tcp,_cups,_universal"
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_cups._sub._ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] Adding TXT record for Brother HL-L2300D series @ raspberrypi (_universal._sub._ipp._tcp)
D [29/Nov/2015:17:46:27 +0100] cupsdRegisterPrinter(p=0x8094d2a0(Brother_HL-L2300D_series))
D [29/Nov/2015:17:46:27 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:46:27 +0100] Discarding unused server-started event...
D [29/Nov/2015:17:46:28 +0100] Report: clients=0
D [29/Nov/2015:17:46:28 +0100] Report: jobs=9
D [29/Nov/2015:17:46:28 +0100] Report: jobs-active=0
D [29/Nov/2015:17:46:28 +0100] Report: printers=1
D [29/Nov/2015:17:46:28 +0100] Report: printers-implicit=0
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-string-count=381
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-alloc-bytes=6176
D [29/Nov/2015:17:46:28 +0100] Report: stringpool-total-bytes=6920
D [29/Nov/2015:17:46:30 +0100] Avahi entry group established for Brother HL-L2300D series @ raspberrypi
I [29/Nov/2015:17:46:58 +0100] Saving printers.conf...
D [29/Nov/2015:17:46:58 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 15 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 16 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 WAITING Closing on EOF
D [29/Nov/2015:17:47:04 +0100] cupsdCloseClient: 15
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 15 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 WAITING Closing on EOF
D [29/Nov/2015:17:47:04 +0100] cupsdCloseClient: 16
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAcceptClient: 16 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 POST / HTTP/1.1
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:04 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:04 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [29/Nov/2015:17:47:04 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.104:631
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 POST / HTTP/1.1
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:04 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 15 1.1 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:04 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:04 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:04 +0100] cupsdReadClient: 16 1.1 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:04 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:04 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:04 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 1
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 18 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Validate-Job 2
D [29/Nov/2015:17:47:10 +0100] Validate-Job ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Validate-Job (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 2.0 Get-Printer-Attributes 3
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Create-Job 4
D [29/Nov/2015:17:47:10 +0100] Create-Job ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [29/Nov/2015:17:47:10 +0100] add_job: requesting-user-name="photon"
D [29/Nov/2015:17:47:10 +0100] Adding default job-sheets values "none,none"...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Adding start banner page "none".
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-created event...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Queued on "Brother_HL-L2300D_series" by "photon".
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Create-Job (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 18 WAITING Closing on EOF
D [29/Nov/2015:17:47:10 +0100] cupsdCloseClient: 18
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Send-Document 5
D [29/Nov/2015:17:47:10 +0100] Send-Document ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] cupsdIsAuthorized: requesting-user-name="photon"
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [29/Nov/2015:17:47:10 +0100] [Job 397] File of type application/vnd.cups-pdf queued by "photon".
I [29/Nov/2015:17:47:10 +0100] [Job 397] Adding end banner page "none".
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sending job to queue tagged as raw...
D [29/Nov/2015:17:47:10 +0100] [Job 397] job-sheets=none,none
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[0]="Brother_HL-L2300D_series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[1]="397"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[2]="photon"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[3]="medit-Auftrag #6"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[4]="1"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[5]="BrMediaType=PLAIN Duplex=DuplexNoTumble InputSlot=TRAY1 job-uuid=urn:uuid:3782d260-c1b2-3cb2-6cf6-f89036f96874 number-up=1 PageSize=A4 Resolution=600dpi Sleep=PrinterDefault TonerSaveMode=OFF job-originating-host-name=192.168.2.107 time-at-creation=1448815630 time-at-processing=1448815630"
D [29/Nov/2015:17:47:10 +0100] [Job 397] argv[6]="/var/spool/cups/d00397-001"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[10]="[email protected]"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[11]="SOFTWARE=CUPS/1.5.3"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[13]="TZ=Europe/Berlin"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[14]="USER=root"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[17]="IPP_PORT=631"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[18]="CHARSET=utf-8"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[19]="LANG=de_DE.UTF-8"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[20]="PPD=/etc/cups/ppd/Brother_HL-L2300D_series.ppd"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[21]="RIP_MAX_CACHE=128m"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[23]="DEVICE_URI=usb://Brother/HL-L2300D%20series?serial=E73860G5N986807"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[24]="PRINTER_INFO=Brother HL-L2300D series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[25]="PRINTER_LOCATION="
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[26]="PRINTER=Brother_HL-L2300D_series"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[28]="CUPS_FILETYPE=document"
D [29/Nov/2015:17:47:10 +0100] [Job 397] envp[29]="AUTH_I****"
I [29/Nov/2015:17:47:10 +0100] [Job 397] Started backend /usr/lib/cups/backend/usb (PID 632)
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-state-changed event...
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Send-Document (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 6
D [29/Nov/2015:17:47:10 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:10 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:10 +0100] cupsdReadClient: 17 2.0 Get-Job-Attributes 7
D [29/Nov/2015:17:47:10 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:10 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [29/Nov/2015:17:47:10 +0100] [Job 397] Printing on printer with URI: usb://Brother/HL-L2300D%20series?serial=E73860G5N986807
D [29/Nov/2015:17:47:10 +0100] [Job 397] libusb_get_device_list=5
D [29/Nov/2015:17:47:10 +0100] [Job 397] STATE: +connecting-to-device
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] STATE: -connecting-to-device
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Device protocol: 2
I [29/Nov/2015:17:47:10 +0100] [Job 397] Sending data to printer.
D [29/Nov/2015:17:47:10 +0100] [Job 397] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-progress event...
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] PAGE: 1 1
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-progress event...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Read 3877 bytes of print data...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Wrote 3877 bytes of print data...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sending print file, 3877 bytes...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Sent 3877 bytes...
D [29/Nov/2015:17:47:10 +0100] [Job 397] Waiting for read thread to exit...
D [29/Nov/2015:17:47:10 +0100] PID 632 (/usr/lib/cups/backend/usb) exited with no errors.
D [29/Nov/2015:17:47:10 +0100] Discarding unused job-completed event...
I [29/Nov/2015:17:47:10 +0100] [Job 397] Job completed.
D [29/Nov/2015:17:47:10 +0100] cupsdMarkDirty(----J-)
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:10 +0100] Discarding unused printer-state-changed event...
D [29/Nov/2015:17:47:11 +0100] cupsdAcceptClient: 18 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:11 +0100] [Job 397] Unloading...
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Printing jobs and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 2.0 Get-Printer-Attributes 8
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 2.0 Get-Job-Attributes 9
D [29/Nov/2015:17:47:11 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] [Job 397] Loading attributes...
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 18 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 18
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 10
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAcceptClient: 17 from 192.168.2.107:631 (IPv4)
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Job-Attributes 11
D [29/Nov/2015:17:47:11 +0100] Get-Job-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 POST /printers/Brother_HL-L2300D_series HTTP/1.1
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdAuthorize: No authentication data provided.
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 2.0 Get-Printer-Attributes 12
D [29/Nov/2015:17:47:11 +0100] Get-Printer-Attributes ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series
D [29/Nov/2015:17:47:11 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://192.168.2.104:631/printers/Brother_HL-L2300D_series) from 192.168.2.107
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [29/Nov/2015:17:47:11 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [29/Nov/2015:17:47:11 +0100] cupsdCloseClient: 17
D [29/Nov/2015:17:47:11 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
So I'm completely out of ideas what to try next.
Were you able to work it out?

I have a Brother HL2240 which has the same issue printing empty pages. I have raspbian wheezy installed before and I was able to get it to work by selecting the "Brother HL-2030 Foomatic/hl1250 (recommended)" driver in CUPS. However, I installed Jessie last week, I couldn't find the same driver in CUPS and have tried other drivers which gave me the same issue as yours.

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Tue Dec 01, 2015 10:13 am

@fruitoftheloom: Unfortunately I couldn't find any of the printers on the lists which would be B/W lasers with duplex and would cost less then 100€...

@rubiks: Unfortunately, no...

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Thu Jan 21, 2016 5:08 pm

Hi PhotonX, I also own an HL-L2300D and I actually made it work using the original binary Brother drivers on my Raspberry Pi 2 running Debian Jessie!
All you have to do is to enable i386 architecture packages using dpkg, add i386 package sources to your apt sources.list (and set the existing sources to be armhf only) and install binfmt-support and qemu.
See here for some details: https://wiki.debian.org/QemuUserEmulation

I'll probably be writing a blog post with a step-by-step guide how to make it work and I'll post the link here, if you like :)

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Thu Jan 21, 2016 11:09 pm

That would be great, thanks!

Actually, in the mean time, for some reason the drivers I linked above work again, however there are still problems (no duplex, CUPS seems to crash frequently), so I'd like to try and follow your guide.

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Wed Jan 27, 2016 3:12 am

So here it is, the blog post on how I made it working on my Raspberry Pi 2:
The blog post is no longer available - basically all I did was to set up QEMU User emulation (see my link above), add x86 Debian repositories, install libc6:i386 and then run the setup script for the printer. No guarantee that this method still works, though.

For German speakers there is a good summary in an old article in c't (behind paywall unfortunately): https://www.heise.de/ct/ausgabe/2015-18 ... 66560.html
Last edited by lhinderberger on Wed May 24, 2017 4:26 pm, edited 1 time in total.

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Fri Jan 29, 2016 9:22 pm

Thanks a lot for the nice howto! I noticed that you are mixing Wheezy and Jessie in steps 2 and 3. Since I'm using Raspbian Wheezy, I just changed jessie to wheezy. Got some of GPG errors and had to install debian-keyring and debian-archive-keyring to get rid of them. However, debian-archive-keyring is provided by raspbian-archive-keyring and therefore not installed such that the GPG warnings remained... Did you have such problems, too?

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:17 am

Woops, I indeed mixed them up. Updated my post, thanks for pointing that out ;)

As for the GPG key problems: Yes, I also encountered warnings from apt. I didn't bother trying to install the keys on my testing configuration, because it still worked fine without them (Note: This is not wise on a production machine, because of possible man-in-the-middle attacks).
I guess adding the GPG public keys of the i386 repository servers manually (without using a package that provides them) will make it work again.

However it probably still won't work in your case, since you use Wheezy: When testing with Wheezy, it failed for me every time I tried because of a faulty core package in the Rasbian Wheezy core repositories. That led to apt trying to delete any packages installed on my Pi when trying to install anything from the i386 repositories.
Using Jessie everything worked fine :)

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:23 am

Ok, I guess, I will update to Jessie then, I have no use for the Raspi if the printing stuff doesn't work anyway. :)

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:33 am

Note that Jessie requires a Raspberry Pi 2 though (as far as I know). Just to prevent surprises if you happen to own the old Pi
Last edited by lhinderberger on Sat Jan 30, 2016 10:56 am, edited 1 time in total.

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:45 am

Thanks for the quick reply, I just had enough time to abort the package download. :) However, I couldn't find any information on that, are you sure that Jessie won't work on a Raspi B?

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:52 am

Oops, it was Ubuntu Mate which did not work on the original Pi.
Sorry about that, Jessie should just work fine (and I have to update my blog post yet again :D )

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 11:02 am

Ok, perfect, restarting the upgrade then. :D

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 7:53 pm

So I upgraded to Jessie almost successfully (the "almost" is another story related to PHP and Owncloud) and everything worked so far. Also fixed the GPG warnings as in http://ccm.net/faq/809-debian-apt-get-n ... -gpg-error Which driver did you use for the HL-L2300D? The printer-driver-brlaser package from the Debian repos or some download from the official Brother website? Thanks again for the howto!

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 8:18 pm

You're welcome ;-) I used Brother's "Driver install tool" (which is basically a shellscript downloading and installing the correct .deb files from brother), available from http://support.brother.com/g/b/download ... ng=English

Don't forget to install cups (the normal ARM package, not cups:i386) though, that's why it failed for me on the first attempt.

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 8:49 pm

Hmm, I tried it and got

Code: Select all

dpkg -i --force-all hll2300dlpr-3.2.0-1a.i386.deb
Vormals nicht ausgewähltes Paket hll2300dlpr wird gewählt.
(Lese Datenbank ... 144929 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von hll2300dlpr-3.2.0-1a.i386.deb ...
Entpacken von hll2300dlpr (3.2.0-1) ...
hll2300dlpr (3.2.0-1) wird eingerichtet ...
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
However

Code: Select all

$ ls -l /usr/lib/arm-linux-gnueabihf/libarmmem.so
-rw-r--r-- 1 root root 18920 Jul  8  2015 /usr/lib/arm-linux-gnueabihf/libarmmem.so
seems ok.

Printing in CUPS also fails with

Code: Select all

processing since
Sat 30 Jan 2016 09:35:46 PM CET 
"ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored."

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 9:01 pm

I remember getting that error message as well, but for me it always worked.
However, my roommate told me the printer stopped printing today as well, so I'll take a look at it as soon as I have time for it. Maybe we have the same problem (yet again ;) ).

Have you installed qemu, qemu-user-static, binfmt-support and libc6:i386 ?

I've only tried it on a Raspberry Pi 2, maybe it's because of the old model lacking some kind of hardware support (but that's purely speculative)?
In the meantime, check out this Stack Exchange, where someone also did the very same thing on a Raspberry Pi 1. Maybe it contains the missing hint ;)
The author states that the armmem error message can safely be ignored.

http://superuser.com/questions/781454/d ... -with-cups

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 9:25 pm

Actually, only one print job gave this error, the other ones just say "pending".

I'm now wondering, whether the path is correct. The newly installed printer has usb://dev/usb/lp0, previously (with ARM drivers) it had usb://Brother/HL-L2300D%20series?serial=E73860G5N986807

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 9:28 pm

Yes, /dev/usb/lp0 is most probably wrong. Didn't the brother install script suggest you the latter variant with the series?

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Sat Jan 30, 2016 10:27 pm

So the problem was that the printer switches off automatically and it was off when I was running the driver installer. Now I switched it on, reran the installer and the correct ID has been recognized automatically, the test page also has been printed. :) Will have a look at network printing tomorrow, but I guess, it won't be a big problem any more. Thanks again for your assistance!

User avatar
lhinderberger
Posts: 18
Joined: Thu Jan 21, 2016 10:32 am
Location: Dresden, Germany

Re: Struggling to share a Brother HL-L2300D over network

Sun Jan 31, 2016 7:13 pm

Great to hear that it worked for you too :)
In the meantime I solved the mystery about mine not working as well: The USB cord was unplugged :lol:

PhotonX
Posts: 50
Joined: Sun Nov 29, 2015 4:13 pm

Re: Struggling to share a Brother HL-L2300D over network

Fri Feb 05, 2016 4:32 pm

Another question: Is it the same for you that the printer switches off after some minutes and then needs to be switched on by hand whenever you want to use it?

Return to “Troubleshooting”