You are not logged in.

#1 2021-08-11 10:08:33

hmet_ust
Member
Registered: 2021-08-05
Posts: 9

[SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

Hi guys i am new in arch linux and i want to use my printer. When i use Ubuntu one week ago, i just plugged in my printer Brother hl-1211W via USB, Ubuntu searched my printer's driver and started to print. But in Arch, i installed CUPS, Foomatic and writed my driver by using this wiki; https://wiki.archlinux.org/title/Packag … er_drivers i installed my PKGBUILDs, i have searched different ppds and tried them and i did them default printer for CUPS.. 2 days passed and it still not work. I don't want to go back Ubuntu (because it is unstable and a lot of warnings) but i want printer management system that Ubuntu have. I don't care if Ubuntu printer managamanet system takes up a lot of space or even unstable. I have uninstalled everything related to printers and waiting for your helpings. Thanks for advance.

Notes: When i use Ubuntu, there was Windows 7 virtual machine and i connected printer via wireless to virtual machine. Windows suggested Brother HL-2300 driver and it worked.

Lenovo 81Y4 IdeaPad Gaming 3 15IMH05 //

5.13.9-arch1-1 //

Plasma 5.22.4 //

Last edited by hmet_ust (2021-08-11 14:39:29)

Offline

#2 2021-08-11 10:17:08

loqs
Member
Registered: 2014-03-06
Posts: 18,911

Re: [SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

Have you built,  installed and configured brother-hl1210w?  Please post the cups debug log.

Offline

#3 2021-08-11 10:47:24

hmet_ust
Member
Registered: 2021-08-05
Posts: 9

Re: [SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

loqs wrote:

Have you built,  installed and configured brother-hl1210w?  Please post the cups debug log.

I don't know how can i download cups 2.1.2 version? Also i have removed cups errors because there were thosusands of errors so i want to delete all things. So that i can understand what is the error when i will install again.

Last edited by hmet_ust (2021-08-11 10:48:50)

Offline

#4 2021-08-11 13:12:35

loqs
Member
Registered: 2014-03-06
Posts: 18,911

Re: [SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

The dependency

cups>=2.1.2

Is satisfied by any version of cups greater than or equal to 2.1.2 which includes the current cups version cups 1:2.3.3op2-3.

Offline

#5 2021-08-11 13:49:54

hmet_ust
Member
Registered: 2021-08-05
Posts: 9

Re: [SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

loqs wrote:

The dependency

cups>=2.1.2

Is satisfied by any version of cups greater than or equal to 2.1.2 which includes the current cups version cups 1:2.3.3op2-3.

I have tried to connect to printer via wireless.
I have found brother's ip is 192.168.2.21

# alex@arch ~ => sudo lpadmin -p hl1211wwifi -E -v ipp://192.168.2.21/ipp/print -m everywhere
[sudo] password for alex:  lpadmin: Unable to query printer: Not Found
# alex@arch ~ => sudo lpinfo -v
file cups-brf:/
network beh
network https
network ipp
network http
network ipps
network socket
network lpd
network smb
network dnssd://Brother%20HL-1210W%20series._pdl-datastream._tcp.local/?uuid=e3248000-80ce-11db-8000-c03896575edb
network lpd://BRWC03896575EDB/BINARY_P1

# alex@arch ~ => sudo lpadmin -p  hl1211wwifi -E -v dnssd://Brother%20HL-1210W%20series._pdl-datastream._tcp.local/?uuid=e3248000-80ce-11db-8000-c03896575edb -m everywhere

lpadmin: Unable to connect to "BRNC03896575EDB.local:9100": Name or service not known

# alex@arch ~ => sudo lpadmin -p  hl1211wwifi -E -v lpd://BRWC03896575EDB/BINARY_P1 -m everywhere

lpadmin: Unable to query printer: Success

# alex@arch ~ => lpstat -s

no system default destination

lpstat: No destinations added.

lpstat: No destinations added.

# alex@arch ~ =>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/var/log/cups/error_log: 

E [11/Aug/2021:16:15:24 +0300] [Client 5] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost

E [11/Aug/2021:16:24:44 +0300] [CGI] ippfind (PID 77622) stopped with status 2!

E [11/Aug/2021:16:26:10 +0300] [CGI] ippfind (PID 78177) stopped with status 2!

E [11/Aug/2021:16:26:10 +0300] [cups-deviced] PID 78160 (driverless) stopped with status 2!

Offline

#6 2021-08-11 14:37:25

hmet_ust
Member
Registered: 2021-08-05
Posts: 9

Re: [SOLVED] (Brother HL1210W, HL1211W) Printer Management in Ubuntu/Arch

loqs wrote:

The dependency

cups>=2.1.2

Is satisfied by any version of cups greater than or equal to 2.1.2 which includes the current cups version cups 1:2.3.3op2-3.

I have tried your specified AUR package and it has worked! Thank you!

SOLUTION=

Change /etc/systemd/resolved.conf
Under [Resolve]
Add
MulticastDNS=false

Install Avahi, enable/start it and do these https://wiki.archlinux.org/title/Avahi# … resolution

Then install https://aur.archlinux.org/packages/brother-hl1210w/ and go to http://localhost:631

Click administration tab and login with root user. not with your sudo user. Then select your printer and finally working!

Offline

Board footer

Powered by FluxBB