LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 01-28-2005, 09:19 AM   #1
eggoz
Member
 
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:
[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.
 
Old 01-28-2005, 11:27 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
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, 05:51 PM   #3
eggoz
Member
 
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, 06:28 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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, 07:00 PM   #5
eggoz
Member
 
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, 09:54 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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, 03:02 AM   #7
otoomet
Member
 
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.

Best,

Ott
 
Old 02-01-2005, 12:12 PM   #8
steve1972
Member
 
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:

http://www.cups.org/doc-1.1/sam.html#8_9
 
  


Reply


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 12:55 PM
Network printing drguitarum2005 SUSE / openSUSE 7 12-24-2004 03:47 AM
Network printing with OS/2 Nychold Linux - Networking 0 04-29-2004 10:56 PM
Printing over a network r_sanoop Linux - Newbie 2 08-02-2003 12:33 PM
printing on the network jj71 Linux - Newbie 1 07-31-2003 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:52 AM.

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