[SOLVED] Difficulty installing network printer Brother HL-2070N

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
jimbobs
Level 3
Level 3
Posts: 156
Joined: Sun Sep 25, 2016 10:50 am
Location: Toronto, Canada

Re: Difficulty installing network printer Brother HL-2070N

Post by jimbobs »

Success!

I reinstalled CUPS, set up the printer from the CUPS (localhost:631) page and successfully printed a test page.

coffee412, thanks for all of your help and, most of all, patience!
Dell Inspiron 1525 Core 2 Duo T5850 4GB Linux Mint 21.3 Virginia Cinnamon 6.0.4
User avatar
coffee412
Level 8
Level 8
Posts: 2268
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Difficulty installing network printer Brother HL-2070N

Post by coffee412 »

jimbobs wrote:Success!

I reinstalled CUPS, set up the printer from the CUPS (localhost:631) page and successfully printed a test page.

coffee412, thanks for all of your help and, most of all, patience!
Thats great to hear!

I wonder what the problem with cups was? I think it was something to do with the cupsd.conf file. It probably had a bad setting in it somehow.

Glad to see your off and printing!

coffee
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: [SOLVED] Difficulty installing network printer Brother HL-2070N

Post by pdc_2 »

good that you can now register a printer;

as you have re-installed CUPS, it would be interesting to see what the contents of /etc/cups/cupsd.conf are now: wondering if one can see any changes from the first printout we got;

I was intrigued at the command

Code: Select all

cat /etc/cups/cupsd.conf
as on our 18.3 I get
cat /etc/cups/cupsd.conf cat: /etc/cups/cupsd.conf: Permission denied
so I would need to use sudo to get access;

I wonder if others reading this thread can also see their cupsd.conf files as users;

so the question would be: how to Enable Regular Users to Add Printers to CUPS

this article https://kernelmastery.com/enable-regula ... s-to-cups/ also says
CUPS and the accompanying web console (http://localhost:631) require the root user to log in in order to configure or add printers. So how can we get around this problem?
and the suggested solution there was to look for
..... the line which says "<Limit CUPS-Add-Modify-Printer...".
in the cupsd.conf file ........then
On the following line, immediately after the text "Require user @SYSTEM" add the desired user whom you would like to allow to configure CUPS.
so where it is
Require user @SYSTEM
for jimbobs one would edit it to
Require user @SYSTEM jimbobs
User avatar
coffee412
Level 8
Level 8
Posts: 2268
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: [SOLVED] Difficulty installing network printer Brother HL-2070N

Post by coffee412 »

I would think that you would just have to add the user to the lpadmin group and possibly lp group. But you may be right.

Incidently, My /etc/cups/cupsd.conf file is about 140 lines long (including # comments). I noticed that @jimbobs was considerably less. That caught my eye anyways.

I can read the contents of my cupsd.conf file. But I think its because I finally got lazy and added myself to the 'wheel' group ;)
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: [SOLVED] Difficulty installing network printer Brother HL-2070N

Post by pdc_2 »

thanks; I remember now I can read the cupsd.conf file using the GUI and navigating to the cups folder in /etc where it can be opened with LibreOffice: I can only assume this is a Mint addition to help us all; the file can only be directly read with

Code: Select all

gksudo gedit /etc/cups/cupsd.conf
........ I was intrigued by the wheel group comment: I must check up on that concept;
User avatar
jimbobs
Level 3
Level 3
Posts: 156
Joined: Sun Sep 25, 2016 10:50 am
Location: Toronto, Canada

Re: [SOLVED] Difficulty installing network printer Brother HL-2070N

Post by jimbobs »

Ultimately, it was reinstalling CUPS that resolved my problem.
Dell Inspiron 1525 Core 2 Duo T5850 4GB Linux Mint 21.3 Virginia Cinnamon 6.0.4
Locked

Return to “Printers & Scanners”