Samba Printer

mareich ulist at gs1.ubuntuforums.org
Sat Sep 17 21:25:58 BST 2005


Michael R Head Wrote: 
> On Fri, 2005-09-02 at 11:28 -0500, R S Gill wrote:

> > Hi All,

> > 

> > I want to share the printer that is connected to my Breezy box with
> the 

> > other Windows machines on my network. How can I do this?

> 

> Windows can now directly access IPP printers, which is how cups shares

> printers. 

> 

> Just modify your /etc/cups/cupsd.conf. There's a "<Location />" block
> in

> there that you can modify. You'll need to add an extra "Allow From"
> line

> with your network address. Mine looks like this:

> 

> <Location />

> Order Deny,Allow

> Deny From All

> Allow From 127.0.0.1

> Allow From 192.168.1.*

> Allow From 192.168.2.*

> </Location>

> 

> Then on the windows machine, just add a network printer, and have it

> connect to an IPP printer. The url should be something like

> http://192.168.1.2:631/printers/HL-1440

> (192.168.1.2 is my print server's IP address, and HL-1440 is the name
> of

> the printer in cups). 

> 

> mike

> 

> > 

> > Gill

> -- 

> Michael R Head <burner at suppressingfire.org>

> GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)

> 

> -- 

> ubuntu-users mailing list

> ubuntu-users at lists.ubuntu.com

> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

> 

> I'm a Ubuntu newbie and I'm not getting this to work on my Ubuntu
> installation.  I have Ubuntu (Hoary Hedgehog) running on computer1 (ip
> 192.168.0.4).  It has an HP 6110 printer and a Dymo label printer
> attached, both are working form computer1.  Computer2 is a WInXP laptop
> (ip 192.168.0.3).  COmputer3 is a WIn2000 desktop (ip 192.168.02.  My
> router is at 192.168.0.1.

> 

> Computer2 is able to map drives on Computer1, so Samba is running OK. 
> Computer1 is able to see computer2's shared drives (although i haven't
> been able to access the folders yet because it's requiring a password
> entry).  Computer1 is also able to see computer3's shared drives.  I
> cannot get computer2 to use the printer attached to computer1.  I have
> tried the cups.conf edits, and they don't seem to do anything.   When I
> tried to install the printer on Computer2, Windows says it can't find
> the printer or it's no longer attached to the specified server.

> 

> One thing (among many) that I don't follow is part of the printer ID
> line mentioned earlier in this thread.  I entered the following in my
> add printer dialogue (XP):

> http://192.168.0.4:631/printers/Officejet-6110

> based on the advice above.  What is the 'printers' part of the string? 
> I don't see anything in /etc called printers....

> 

> Here's my modified cupsd.conf file:

> <Location />

> Order Deny, Allow

> Deny From All

> Allow From 127.0.0.1

> Allow From 192.168.0.*

> </Location>

> 

> I also inserted Port 631 in the section where it previously said

> Listen 127.0.0.1:631

> 

> Printing in linux is certainly the most frustrating setup item I've
> encountered with the Ubuntu installation so far!

> 

> I'm desperate for help getting these printers working from the windows
> machines.  Any help will be greatly appreciated.


-- 
mareich




More information about the ubuntu-users mailing list