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 06-02-2005, 06:35 PM   #1
Maldain
Member
 
Registered: Jan 2005
Posts: 112

Rep: Reputation: 15
Configuring CUPS to print across subnets


We have a need to use a printer that's physically located in a different city. In our overall network infrastructure it's actually located on a different class c subnet. To make matters a bit more interesting it's running on a jetdirect. The good news is that it has a static IP. I've been doing a lot of reading and it seems to imply that I should be able to configure this with out a problem. But when I have cups search for the printer it doesn't find it. Now I have a linux box on that subnet do i need to set samba up and identify the printer from that server so the whole network can see it?
 
Old 06-03-2005, 11:02 AM   #2
zeos
Member
 
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
Did you allow access to / in cupsd.conf for the remote network/machine? For instance....by default it should be something similar to this:

Code:
<Location />
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
  </Location>
You'll need to modify it:
Code:
<Location />
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
  Allow From 123.456.789.000/24
  Allow From 000.789.456.123/24
 </Location>
Obviously you'll need to change it to match your actual local and remote subnets or individual ip..

You'll also have to edit the cupsd.conf on your client...
Add (if it's not there already) or edit to:
BrowsePoll address:port
where address is the servers FQDN or ip and port is 631 (assuming you havn't changed the default).

Don't forget to restart cups on both machines after making the changes...
 
Old 06-03-2005, 12:58 PM   #3
Maldain
Member
 
Registered: Jan 2005
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks that's what my issue was though in this particular case the print server is a jet direct and doesn't have an access list that can be set. But allowing communication from the print server to the main server did the trick. It also answered another question for me which I'd been digging through cups config files and docs for as well. I didn't think about it being the same question however. I have to print from a sco system to a printer on a linux box (this is a convience type of thing as the line printer is in the warehouse and runs off the warehouse server). I think you've helped me on that one as well.

Thanks.
 
  


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
Configuring cups to Print to email (PDF). ernieg619 Linux - Networking 1 12-08-2005 03:50 PM
Configuring Cups to Print directly to email. ernieg619 Linux - Networking 1 11-28-2005 03:21 PM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Configuring CUPS printing through router w/ print server AIMath Linux - Networking 6 08-30-2004 11:51 PM

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

All times are GMT -5. The time now is 02:22 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
Open Source Consulting | Domain Registration