LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2005, 02:34 PM   #1
foxy123
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 191

Rep: Reputation: 30
How to configure printing to dual-boot print server?


I've got a wierd problem. I need to print over network to a dual-boot machine (WinXP/Ubuntu) from my laptop (Ubuntu). I can configure my laptop to print to WinXP machine without any problem. I can configure it to print to Linux machine without any problem. However, I cannot have them both.

To be able to print to Linux machine I have to uncomment
Code:
ServerName <your_cups_server>
in /etc/cups/client.conf

as soon as I do it, I cannot print to Windows machine. If I try to run gnome-cups-manager, I've got the following error:
Code:
** (gnome-cups-manager:9328): WARNING **: IPP request failed with status 1280

** (gnome-cups-manager:9328): WARNING **: IPP request failed with status 1280
and a message:
Code:
The CUPS server could not be contacted.
It worked fine before I upgraded from Ubuntu Hoary to Breezy. Actually I did a clean install. I wonder why I can have both Windows and Linux printing configured?
 
Old 11-18-2005, 02:59 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
I enabled
Code:
BrowseAddress @LOCAL
in my server's /etc/cups/cupsd.conf so that every CUPS client can find the CUPS server without modification of the configuration. Always better to change just one file instead of many (I have more PC's in the network)!

If you leave out the
Code:
ServerName <your_cups_server>
on your client, and add the above line to the server, you should be able to print in both environments.

Eric.
 
Old 11-19-2005, 11:59 AM   #3
foxy123
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 191

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Alien Bob
I enabled
Code:
BrowseAddress @LOCAL
in my server's /etc/cups/cupsd.conf so that every CUPS client can find the CUPS server without modification of the configuration. Always better to change just one file instead of many (I have more PC's in the network)!

If you leave out the
Code:
ServerName <your_cups_server>
on your client, and add the above line to the server, you should be able to print in both environments.

Eric.
thanks for you response. This is my /etc/cups/cupsd.conf from the server. As you can see I have BrowseAddress @LOCAL there.
Code:
DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
User cupsys
Group lpadmin
RunAsUser Yes
Port 631
Include cupsd-browsing.conf
BrowseAddress @LOCAL
SystemGroup lpadmin

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 10.0.0.*
</Location>

<Location /jobs>
AuthType Basic
AuthClass User
</Location>

<Location /admin>
#AuthType Basic
#AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
Still I do not see printer from my laptop. It appears if only I uncomment

Code:
ServerName 10.0.0.11
line in my /etc/cups/client.conf
 
Old 11-29-2005, 12:58 PM   #4
foxy123
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 191

Original Poster
Rep: Reputation: 30
*bump*
I have not solved this problem yet. Currently I have commt/uncomment ServerName line in my client.conf depending how server is boted. Any help?
 
Old 11-29-2005, 04:54 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Well... as I have CUPS working on the network without any further config, I suggest you switch to Slackware 10.2
BTW: Is there a firewall present on either box that blocks port 631?

Cheers, Eric
 
Old 11-29-2005, 06:19 PM   #6
foxy123
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 191

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Alien Bob
Well... as I have CUPS working on the network without any further config, I suggest you switch to Slackware 10.2
BTW: Is there a firewall present on either box that blocks port 631?

Cheers, Eric
I guess if a firewall blocked 631 port I would not be able to configure it at all, while I can making those changes in clien.config.

Switching to slackware would be quite a quest for me. I've just made almost everything work for my liking so I would not dare to start it over again. Besides it worked fine with Hoary. Maybe something gets messed up in my network of whatever config. It is a bit frustrating...

Last edited by foxy123; 12-24-2005 at 09:06 AM.
 
Old 12-24-2005, 09:07 AM   #7
foxy123
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 191

Original Poster
Rep: Reputation: 30
Any idea? I still have to reboot desktop from Windows to Linux to print from my laptop.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from SUSI to HP4 via Netgear print server trhus Linux - Hardware 1 09-14-2005 05:03 AM
Printing with print server and mandriva 2005 frogrocker Linux - Networking 1 05-07-2005 04:46 AM
Printing: Linux client, windows print server cavalier Slackware 3 03-02-2005 12:12 PM
Printing to a Dlink print server?? thalerz Linux - Networking 1 11-25-2003 06:34 PM
Problem Printing to D-Link Print Server Marth Slackware 4 06-14-2003 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 PM.

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
Open Source Consulting | Domain Registration