Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-28-2005, 08:19 AM   #1
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
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:
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
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.
Old 01-28-2005, 10:27 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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
Old 01-28-2005, 04:51 PM   #3
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
I have that done already. But I did it again just for fun.
Old 01-28-2005, 05:28 PM   #4
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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.
Old 01-28-2005, 06:00 PM   #5
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Yup. But I have disabled the firewall for now in FC.
Old 01-28-2005, 08:54 PM   #6
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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...
Old 01-30-2005, 02:02 AM   #7
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
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.


Old 02-01-2005, 11:12 AM   #8
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
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:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
network printing adwd3509@yahoo Linux - Networking 5 11-30-2005 11:55 AM
Network printing drguitarum2005 SUSE / openSUSE 7 12-24-2004 02:47 AM
Network printing with OS/2 Nychold Linux - Networking 0 04-29-2004 09:56 PM
Printing over a network r_sanoop Linux - Newbie 2 08-02-2003 11:33 AM
printing on the network jj71 Linux - Newbie 1 07-31-2003 03:21 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration