Can't add networked printer [SOLVED]

Questions about hardware and drivers
Forum rules
Before you post please read this

Can't add networked printer [SOLVED]

Postby ddalley on Sat Mar 12, 2011 12:37 am

Actually, I can't add any printer because when I click on system-config-printer/add, nothing happens.

I have not come across this problem before and adding printers does not seem to be a big problem on this forum. When I follow help, it wants server name and IP address which aren't presented through CUPS.

How do I resolve this problem?
Last edited by ddalley on Thu Feb 02, 2012 2:58 am, edited 2 times in total.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Linux Mint is funded by ads and donations.
 

Re: Can't add networked printer

Postby richyrich on Sat Mar 12, 2011 1:30 am

Found this in the Tutorials / How To subforum . . hope it helps.

viewtopic.php?f=42&t=28397&start=0
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: Can't add networked printer

Postby ddalley on Sat Mar 12, 2011 2:52 am

Thanks, richyrich.

Yesterday, I checked installed files against another computer that did networked printing just fine. There were two files missing and I installed them. When I checked the three files listed in your linked topic, they were all there, too. When I try to add a printer, absolutely nothing happens.

I tried to use the web link in the CUPS menu, but when it asked for my user name and password, it didn't accept them, plus, now, it won't even let me check on what I entered or let me try again. I am pretty sure I entered them correctly, but it is a no-go.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby richyrich on Sat Mar 12, 2011 3:30 am

Are you a member of the lpadmin group ?
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: Can't add networked printer

Postby ddalley on Sat Mar 12, 2011 3:35 am

Yes, I am.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby richyrich on Sat Mar 12, 2011 3:58 am

Okay, it sounds like it may be the network . . what kind of network are you attached to ? router ? wired/wireless? How is the printer attached ?
Please be as specific as you can.
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: Can't add networked printer

Postby ddalley on Sat Mar 12, 2011 1:46 pm

The printer is networked through a NAS box, the D-Link DIR-323. Other computers are able to print with the current set-up and this was tested last night, so the problem does relate only to this one Linux install.

However, I don't think that matters yet because the "Add new printer" part won't do anything. As mentioned above, when I click on "Add" nothing happens.
Last edited by ddalley on Sat Mar 12, 2011 2:58 pm, edited 1 time in total.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby cherax on Sat Mar 12, 2011 1:55 pm

I opened a terminal and typed 'sudo system-config-printer' (then my password) and it worked perfectly. Frustrating; why doesn't the utility just ask for the user's password to authenticate, rather than flat-out refusing to do anything, without a hint of what to do next? Even the cups utility (localhost:631 in a browser) just said "forbidden". Anyhow, try sudo.
cherax
Level 1
Level 1
 
Posts: 5
Joined: Mon Mar 17, 2008 2:17 am

Re: Can't add networked printer

Postby ddalley on Sat Mar 12, 2011 2:56 pm

Tried and failed, so something is "wrong" with my install.

Is the printer config something that can be safely removed then re-added?
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby DrHu on Sat Mar 12, 2011 3:16 pm

Why don't you just do a reinstall of CUPS via synaptic or your preferred package manager; for the user you logon with
    I would assume that user is the admin group member ID, and your first user created during the Linux installation

Then after a reboot, see if the CUPS browser (web connection works)
  • http//:localhost:631
  • 127.0.0.1:631
    --equivalences..
http://www.cups.org/doc-1.1/sam.html
User avatar
DrHu
Level 16
Level 16
 
Posts: 6630
Joined: Wed Jun 17, 2009 8:20 pm

Re: Can't add networked printer

Postby altair4 on Sat Mar 12, 2011 4:22 pm

I wonder if one of these two situations are possible:

(1) cups isn't running
Code: Select all
sudo service cups restart


(2) Your firewall is blocking port 631
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5842
Joined: Tue Feb 03, 2009 10:27 am

Re: Can't add networked printer

Postby CiaW on Sat Mar 12, 2011 5:19 pm

Another point (in addition to the firewall, you'll want to open port 631 though that shouldn't matter for localhost I don't think?); if you're using a browser and the admin interface asks for a password, enter 'root' as the user name, then enter your sudo password. If you try to use your (sudo) user name, it'll reject it.
CiaW
Level 3
Level 3
 
Posts: 170
Joined: Fri Sep 10, 2010 11:39 am
Location: Spokane Wash, USA

Re: Can't add networked printer

Postby ddalley on Sat Mar 12, 2011 5:53 pm

Printing config runs, it's just that it won't let me add a new printer.

I reinstalled CUPS, but there is no difference - I still can't add a printer.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby richyrich on Sat Mar 12, 2011 8:22 pm

I'd like you to try something . . restart CUPS with altair4's command above, then try this :

    1. Goto http://localhost:631/admin
    2. Press the button "Edit Configuration File"
    3. Accept with "Save Changes" and provide correct username and password.
    4. Add a new printer as normal.

Would you by any chance be using the Chrome browser ?
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: Can't add networked printer

Postby ddalley on Sun Mar 13, 2011 1:01 am

Chrome = yes, but the result using the GUI was identical.

The result of your exercise was:

Edit Configuration File Error

Unable to upload cupsd.conf file:

Forbidden
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby richyrich on Sun Mar 13, 2011 1:15 am

I read a similar problem thread in the Arch forums, and it seemed to affect only Chrome/Chromium . . . can you try it in Firefox/Iceweasel ?
User avatar
richyrich
Level 13
Level 13
 
Posts: 4635
Joined: Mon May 04, 2009 8:31 pm

Re: Can't add networked printer

Postby ddalley on Sun Mar 13, 2011 3:35 am

The result was identical.
ddalley
Level 4
Level 4
 
Posts: 277
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Can't add networked printer

Postby desQEDo on Fri Aug 26, 2011 10:06 am

Has this issue been solved? I had the same problem with LMDE64, but I found the following worked for me. It seems long-winded, but it's really just a step-by-step walk-through of the process.
1. Maybe useful to begin, install smbfs in Synaptic
2. Don't use CUPS yet
3. Open Menu>Administartion>Printing from the main menu
4. Click the dropdown arrow next to Add and choose Printer
5. Enter your computer admin passwaord
6. Network Printer>Find Network Printer – wait a bit and the utility should find any printers on your network
7. Choose the correct printer and click Forward
8. Choose your printer from the list if available, if not there then
9. Download file from wherever, CD or Internet
10. Choose Provide PPD file from Choose Drive choices
11. Select the downloaded printer PPD and click Forward
12. Make selection of functions > Forward
13. Write a name for your printer and click Apply
14. Enter your password to authenticate the action
15. Enter password again – leave root
16. Print test page

17. If the printer still won't do its thing, then open Printing from the main menu again
18. Select your printer, cick the Server menu Server Settings and check 'Publish shared printers connected to this system'
19. Enter password
20. Thereafter CUPS can be used in a Web-browser to manage and configure http://localhost:631/admin

Hopefully that fixes things. :D
User avatar
desQEDo
Level 1
Level 1
 
Posts: 13
Joined: Mon Jun 01, 2009 10:32 am

Re: Can't add networked printer

Postby nidwow on Sat Sep 24, 2011 5:43 pm

I have the same D-Link DNS-323 with HP Deskjet 5100, 4 Windows 7 PCs and 2 Linux Mint work fine. On 2 LM 11 PCs added via "Windows Printer Via Samba" option under Network Printer.

LMDE 201109 does not have that option :(

How can I add windows printer via samba option in LMDE?

My HP Photosmart connected to LMDE PC via USB cable does not printer either :( LMDE detected the printer during an installation tho but it doesn't print :evil:

Any suggestion? Thank you.
nidwow
Level 2
Level 2
 
Posts: 53
Joined: Sat Mar 20, 2010 6:30 am

Re: Can't add networked printer

Postby altair4 on Sun Sep 25, 2011 7:47 am

On 2 LM 11 PCs added via "Windows Printer Via Samba" option under Network Printer.

LMDE 201109 does not have that option

All things Samba in Debian based Mint is not installed or configured correctly. Follow these steps and see if you get things working:
viewtopic.php?f=42&t=23169&p=315218#p315218

For printing you'll only need smbclient, libsmbclient, and python-smbc but you might as well fix everything else while your there.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5842
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 
Next

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 5 guests