Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-28-2005, 09:19 AM
|
#1
|
Member
Registered: Feb 2003
Posts: 159
Rep:
|
Printing Over Network
I have a small server running FC 2. There is an HP 3650 attached to it via USB. I can print from the server with no problem. Even just a normal user can print (lpr testfile.txt works). I should also mention the printer was setup within the gui using one of the Printer config tools. My other computer is running Suse 9.2. I have set up the printer and it gives no problems connecting to it. But when I try to print something, I get this error:
An error occurred while retrieving the printer list:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason.
I know the printer is setup and shared. Here is my samba config file:
[global]
log file = /var/log/samba/%m.log
printer = HP3650
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY
winbind use default domain = no
template shell = /bin/false
dns proxy = no
netbios name = SambaIntelli
server string = Samba Server on IntelliStation
idmap uid = 16777216-33554431
workgroup = WORKGROUP
os level = 20
printcap name = /etc/printcap
security = user
max log size = 50
[HP3650]
guest account = root
printer = HP3650
writeable = yes
printable = yes
path = /var/spool/cups
comment = Hp Deskjet 3650
public = yes
use client driver = Yes
I have also tried it from my Windows 2000 boot and have not gotten it to work. What am I missing? Thanks.
|
|
|
01-28-2005, 11:27 AM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
At the Fedora box, type printconf-gui and right click on the printer,
Select sharing...
[X] This queue is available to other computers
Allowed hosts
All hosts
Save and exit printconf then restart cups with the command: service cups restart
|
|
|
01-28-2005, 05:51 PM
|
#3
|
Member
Registered: Feb 2003
Posts: 159
Original Poster
Rep:
|
I have that done already. But I did it again just for fun.
|
|
|
01-28-2005, 06:28 PM
|
#4
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Does the Fedora box have a firewall enabled? As far as I know, the cups print server needs to allow external hosts to print, and you also need to poke a hole in your firewall to allow the packets into the server.
I could be wrong. Maybe Fedora's administrative tools would handle that for you behind the scenes. Still, it's something to check.
|
|
|
01-28-2005, 07:00 PM
|
#5
|
Member
Registered: Feb 2003
Posts: 159
Original Poster
Rep:
|
Yup. But I have disabled the firewall for now in FC.
|
|
|
01-28-2005, 09:54 PM
|
#6
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
I may have to bow out of this one. I'm not familiar with Samba enough to make any real suggestions. All I can say is that you might consider checking both the Samba log file and the Cups log file if you're keeping track of them. I know the Cups server has an option somewhere to increase the verbosity of the log file. I can't say if Samba has the same. Maybe the log files will help shed some light. The only other things I could think to try would be to hook up Ethereal and analyze the packets (that would probably be a real pain in the arse) or to look up the Cups source code and try to backtrack (another pain in the arse).
Wish I could be more helpful...
|
|
|
01-30-2005, 03:02 AM
|
#7
|
Member
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619
Rep:
|
Your error message was related with IPP (internet printing protocol) which has nothing to do with samba, AFAIK. Have you checked the cups log files /var/log/cups/*?
How did you set up the printer on the client? Was it visible and you just clicked on it, or did you specify the path?
Cups server has the ability to broadcast to the network the available printers. This must be switched on in '/etc/cups/cupsd.conf' (I do not remember exact name). If your printer is broadcasted, it should be visible in cups config. Broadcasting is not necessary for network printing, but then you have specify the correct path.
Best,
Ott
|
|
|
02-01-2005, 12:12 PM
|
#8
|
Member
Registered: Jan 2005
Posts: 62
Rep:
|
Set up Samba correctly...
Read online CUPS manual section in SYS Admin Manual.
I have provided a link that will show you how to set up Samba correctly:
http://www.cups.org/doc-1.1/sam.html#8_9
|
|
|
All times are GMT -5. The time now is 05:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|