SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My printer (HP PSC 1410) works fine and I've been trying to get it to work on my other computer via LAN (two pc's behind a router, both SW 12.2).
I followed this tutorial, the printer shows up on CUPS (localhost:631), but it won't print. Users are allowed.
Try using HPLIP. It is included in Slackware in the ap series. Look into hp-toolbox and hp-setup. I have had success with networked HP printers on linux using HPLIP.
can you ping the printer from your location? Are there any firewalls in the way?
In both my firewalls IPP is allowed.
Cannot ping, makeuri doesn't give me an adress:
Code:
error: Device not found
Quote:
Originally Posted by vinegaroon
Try using HPLIP. It is included in Slackware in the ap series. Look into hp-toolbox and hp-setup. I have had success with networked HP printers on linux using HPLIP.
If it is a network printer you should have an IP address for it. I have a Brother HL-2170W on my network that I use CUPS with and it is set to DHCP which CUPS picks up.
I'm having the same problem. I can print on my Windows machine, but not my linux (Ubuntu 9.04) box. Both computers go through my Belkin router to get to my wireless printer. When I try to print, I get the error message "Error While Printing". I look and all I have is "Generic Printer". My HP J6480 is no where to be found. When I open System/Administration/Printing, I can select Refresh and Server. When I select Server, the only option is to select Connect. When I do I get the following "CUPS server error There was an error during the CUPS operation: 'httpConnectionEncrypt failed'."
I'm not sure what to try next or how to get Linux to see a wireless printer.
I'm having the same problem. I can print on my Windows machine, but not my linux (Ubuntu 9.04) box. Both computers go through my Belkin router to get to my wireless printer. When I try to print, I get the error message "Error While Printing". I look and all I have is "Generic Printer". My HP J6480 is no where to be found. When I open System/Administration/Printing, I can select Refresh and Server. When I select Server, the only option is to select Connect. When I do I get the following "CUPS server error There was an error during the CUPS operation: 'httpConnectionEncrypt failed'."
I'm not sure what to try next or how to get Linux to see a wireless printer.
Any suggestions are greatly appreciated!!!
try going through the administration tab in CUPS and adding the printer that way with its IP address.
Can you please explain how the print is set up.
Is it an networkprinter by the printer it self or is it shared to your network from another box?
I have many HP printers and there all work on linux even as network printers (some doesn't work on XP due to an bug in the HP drivers when used as network printer so i had to use one of the linux servers to handle that network printer (connect it with cups over the network) and share it with samba for the xp boxes).
I have an HP PSC 1402 but not as an network printer and thats how close i can get trying your setup if you tell me how it's setup.
I don't think PSC 1402 and 1410 differ to much but i'm not sure.
It's not a network printer, but USB connected on another Slackbox. Via the tutorials I followed it actually shows up on the client through CUPS, but it won't work.
Like I said, makeuri doesn't work, nor does hp-toolbox. Both don't "see" it.
Could it be that my router (Thomson Speedtouch 546) is just not capable?
All in all, it's not a big deal, both computers stand next to each other, so it's easy enough to switch the plug. It's just that the other day I stumbled upon a topic on a Mac forum where a guy with the same printer claimed that he had it working through his router. So I thought...
My set-up is:
Vista hard wired to Belkin Router
Ubuntu hard wired to Belkin Router
XP wireless to Belkin Router
Printer wireless to Belkin Router (not hard wired into anything)
All my network traffic goes through the router. Currently all three computers can see and can share files with each other. My Vista box can print, I haven't tried XP.
As of this afternoon, Ubuntu can see the printer and it's set as default. (This morning, Ubuntu couldn't see the printer - I have no idea what happened as I made absolutely no changes!)
Anyway, Ubuntu tells me that the document has printed but nothing has. I even tried to print a test page and Ubuntu tells me it printed, but nothing came out of the printer.
I went to System/Administration/Printer and right-clicked on the HP printer. Everything looks correct to include the Device URI, however, Printer State has a message that I can't read. It states "Idle - Unable to start backend "hp" - No su..."
That's it. I don't know where to look to find the rest of the message.
It's not a network printer, but USB connected on another Slackbox. Via the tutorials I followed it actually shows up on the client through CUPS, but it won't work.
Like I said, makeuri doesn't work, nor does hp-toolbox. Both don't "see" it.
Could it be that my router (Thomson Speedtouch 546) is just not capable?
All in all, it's not a big deal, both computers stand next to each other, so it's easy enough to switch the plug. It's just that the other day I stumbled upon a topic on a Mac forum where a guy with the same printer claimed that he had it working through his router. So I thought...
You could run it through SAMBA and set it that way. I am not sure how to do it but I know SAMBA has the capability
Have you actually allowed remote cups access on the machine with the printer?
The default "/etc/cups/cupsd.conf" only allows localhost access and any remote access will error out with a timeout.
From the client machine open a web browser and put in http://SERVER_IP:631/ where SERVER_IP is the IP address for the server with the printer attached, if you get a timeout then you need to fix the cupsd.conf on the server before you try and add the printer into the clients configuration.
EDIT:
The current cups web based GUI allows you to enable remote access with a couple of clicks.
Under Administration you will see "Basic Server Settings"
This needs a tick in "Share published printers connected to this system"
Followed by clicking on "Change Settings" and entering root and roots password in the dialog box.
Last edited by wildwizard; 08-13-2009 at 01:03 AM.
I'm jumping into this thread in the middle but I network printers on a hardwired network to another box running slack and for me to start with two things have to be right.
1) you have to have a file on the client, /etc/cups/client.conf that tells the cups running on the client to go to the server for printers. This file doesn't seem to come with the cups package anymore so I just make a one line file that points to my server like this:
Quote:
ServerName 192.168.1.4
2) The cups server has to have an /etc/cups/cupsd.conf that tells cups who to allow access to the printers as in the snippet below. Note that I use fixed IP addresses and in my cupsd.conf give a range. Note also that the cupsd.conf is longer than what I've pasted in below and if you want to trouble shoot you can change the loglevel from info to debug to get more insight into problems.
Quote:
LogLevel info
<snip>
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
# Listen localhost:631
# Listen /var/run/cups/cups.sock
port 631
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @local
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order deny,allow
deny from all
Allow From 127.0.0.1
*Allow From 127.0.0.2
Allow From 192.168.1.*
*Allow From 10.0.*.*
<snip>
</Location>
I'm going to go slightly off tangent here, but could we see the cups logs, specifically access and error?
It's also possible that it could be a driver issue (how is the printer set up? with a ppd, or a suggested driver?).
Anyway, let's check the logs first for clues....
[edit] Also, what version of cups?
cheers,
I'm using CUPS 1.3.10 on both machines (the standard SW package).
The driver is a suggested one, bot I tried a ppd file too, doesn't make any difference.
The access logs show no errors, as far as I can tell:
I [13/Aug/2009:23:23:06 +0200] Listening to :::631 (IPv6)
I [13/Aug/2009:23:23:06 +0200] Listening to 0.0.0.0:631 (IPv4)
I [13/Aug/2009:23:23:06 +0200] Listening to /var/run/cups/cups.sock (Domain)
I [13/Aug/2009:23:23:06 +0200] Remote access is enabled.
I [13/Aug/2009:23:23:06 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Aug/2009:23:23:06 +0200] Using default TempDir of /var/spool/cups/tmp...
I [13/Aug/2009:23:23:06 +0200] Configured for up to 100 clients.
I [13/Aug/2009:23:23:06 +0200] Allowing up to 100 client connections per host.
I [13/Aug/2009:23:23:06 +0200] Using policy "default" as the default!
I [13/Aug/2009:23:23:06 +0200] Full reload is required.
I [13/Aug/2009:23:23:06 +0200] Saving job cache file "/var/cache/cups/job.cache"...
I [13/Aug/2009:23:23:06 +0200] Loaded MIME database from '/etc/cups': 35 types, 38 filters...
I [13/Aug/2009:23:23:06 +0200] Loading job cache file "/var/cache/cups/job.cache"...
I [13/Aug/2009:23:23:06 +0200] Full reload complete.
I [13/Aug/2009:23:23:06 +0200] Listening to :::631 on fd 0...
I [13/Aug/2009:23:23:06 +0200] Listening to 0.0.0.0:631 on fd 2...
I [13/Aug/2009:23:23:06 +0200] Listening to /var/run/cups/cups.sock on fd 3...
I [13/Aug/2009:23:23:06 +0200] Resuming new connection processing...
In the CUPS webinterface, when I try to print a test page, I get a server time-out.
Quote:
Originally Posted by wildwizard
Have you actually allowed remote cups access on the machine with the printer?
The default "/etc/cups/cupsd.conf" only allows localhost access and any remote access will error out with a timeout.
From the client machine open a web browser and put in http://SERVER_IP:631/ where SERVER_IP is the IP address for the server with the printer attached, if you get a timeout then you need to fix the cupsd.conf on the server before you try and add the printer into the clients configuration.
EDIT:
The current cups web based GUI allows you to enable remote access with a couple of clicks.
Under Administration you will see "Basic Server Settings"
This needs a tick in "Share published printers connected to this system"
Followed by clicking on "Change Settings" and entering root and roots password in the dialog box.
Yes, I've done all that, to no avail.
Quote:
Originally Posted by justwantin
I'm jumping into this thread in the middle but I network printers on a hardwired network to another box running slack and for me to start with two things have to be right.
1) you have to have a file on the client, /etc/cups/client.conf that tells the cups running on the client to go to the server for printers. This file doesn't seem to come with the cups package anymore so I just make a one line file that points to my server like this:
2) The cups server has to have an /etc/cups/cupsd.conf that tells cups who to allow access to the printers as in the snippet below. Note that I use fixed IP addresses and in my cupsd.conf give a range. Note also that the cupsd.conf is longer than what I've pasted in below and if you want to trouble shoot you can change the loglevel from info to debug to get more insight into problems.
1) Didn't have that, now I do.
2) Like stated earlier, I followed a few tutorials and tried various settings, none of them work.
I thank you all for your input, but unfortunately, it didn't lead to succes.
I'm thinking it has to do with not being able to connect to the server.
But how or why?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.