On Mon, Oct 25, 2004 at 05:43:50PM -0400, Thomas H. George wrote: } I have two Debian boxes each with CUPS installed and each with its own } printer. Each box uses its own printer with no problems. The two are } on a LAN with host names Phoenix and Dragon and can ping each other with } no problems. I am trying to get them to use each other's printers. [...] } hp HP DeskJet 930C - Foomatic/hpjis (recommended) } Description: DeskJet 940C } Location: Study } Printer State: Idle, Accepting Jobx } "Unable to get printer status (Client-Error-Forbidden)!" } Device URI: http://Phoenix:631/ipp [...] } I assume the problem is setting permissions in /etc/cups/cupsd.conf and } started reading and editing this file by adding allow 192.168.2.105 } (This is Phoenix's static address) in the location section but this did } not solve the problem. Before I get the configuration file too messed } up I thought I'd post this message in hopes someone knows an easier way } or can warn me if I'm way off track.
You are going about it the right way. On each server (it's a server when you talk about the attached printer, and a client when you talk about the printer attached to the other machine) you need to make sure the client is allowed access to the /printers location and maybe /classes and /jobs as well. I have in my cupsd.conf file on a machine sharing its printer: <Location /printers> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.1.1/24 </Location> Note that I am sharing with the entire NAT subnet, which probably makes sense for you as well (though you'll have to change the subnet, of course). } Tom George --Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]