I have added an HP Deskjet 600 to my debian etch system, using CUPS. It is working fine. I would like to set it up so that I can occassionally print to it from a Windows 9x machine. This is where I seem to be having trouble. I consulted the HOW-TO docs on the samba site, but they are quite detailed and confusing (for me). I don't want to do anything that will cause the printer to work for the Win9x machine, but stop working properly on the debian machine. I am probably wrong, but what little I did understand of the HOW-TO gave me the impression that it might indeed cause problems. I really need something that is more like "A Dummy's Guide to SAMBA and Print Shares." The Win9x machine can currently see/access the other shares defined on the debian box. Is there an "dummy's" way to set the printer share up so that my Win9x machine can see it? Thanks!
You don't need Samba to print. As long as you set up your CUPS configuration to allow other local addresses to print to the server, you can print to it from windows using http://<servername>:631/printers/<printername>, where you replace <servername> and <pritnername> with the appropriate values. <servername> can also be an IP address. If this works, you can also (but don't have to) set up the printer to be shared via Samba by adding a section to your Samba configuration. I recommend that you use SWAT for this - it makes it easy. Michael Powell wrote:> I have added an HP Deskjet 600 to my debian etch system, using CUPS. It is > working fine. > > I would like to set it up so that I can occassionally print to it from a > Windows 9x machine. This is where I seem to be having trouble. > > I consulted the HOW-TO docs on the samba site, but they are quite detailed > and confusing (for me). > > I don't want to do anything that will cause the printer to work for the Win9x > machine, but stop working properly on the debian machine. I am probably > wrong, but what little I did understand of the HOW-TO gave me the > impression that it might indeed cause problems. > > I really need something that is more like "A Dummy's Guide to SAMBA and > Print Shares." The Win9x machine can currently see/access the other shares > defined on the debian box. Is there an "dummy's" way to set the printer > share up so that my Win9x machine can see it? > > Thanks! > >
It's very important that your CUPS configuration allows printing from your local network. If not, Windows won't see it. Check your /etc/cups/cupsd.conf to make sure it allows printing from other than localhost. Michael Powell wrote:> Gary, > Thanks! I think there must be slightly more to it, though. If I give > it that address (or anything like it), Win98 reports that the printer is > offline & that I can install it but can't print to it until it returns > online. Since it is online, that tells me something is not quite > right. > > If I type that address into a web browser on the Windows machine, it > does show up. But there is something about it that the Windows print > manager does not like. > > I tried it as you have it typed below, as well as: > \\server:631\printers\printername > > Windows does not like either one. > > > On Tue, 19 Jun 2007 10:47:33 -0400 > Gary Dale <garydale@torfree.net> wrote: > > >> You don't need Samba to print. As long as you set up your CUPS >> configuration to allow other local addresses to print to the server, you >> can print to it from windows using >> http://<servername>:631/printers/<printername>, where you replace >> <servername> and <pritnername> with the appropriate values. <servername> >> can also be an IP address. >> >> If this works, you can also (but don't have to) set up the printer to be >> shared via Samba by adding a section to your Samba configuration. I >> recommend that you use SWAT for this - it makes it easy. >> > > >>> >>> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/listinfo/samba >> > >
Not an expert on CUPS either, but my server setup has <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.2.* </Location> where my local network is in the 192.168.2 subnet. I also have a Port 631 line in the .conf file. I don't know if it's necessary but you could try adding it. And after making the changes, be sure to restart CUPS. Michael Powell wrote:> Looking at localhost:631, it looks like it should be all set up. Still, > I went ahead and changed the conf file. The values with the '#' are what it > said, and the uncommented values are what I set it to. I would think that "all" > would be the least permissive, but Windows still thinks the printer is offline. > > I also checked the printers.conf, and the printer in question is set as Share > Yes. > > # Enable printer sharing and shared printers. > Browsing On > BrowseOrder allow,deny > #BrowseAllow @LOCAL > #BrowseAddress @LOCAL > BrowseAllow all > BrowseAddress all > DefaultAuthType Basic > <Location /> > # Allow shared printing... > Order allow,deny > # Allow @LOCAL > Allow all > </Location> > > > On Wed, 20 Jun 2007 17:02:14 -0400 > Gary Dale <garydale@torfree.net> wrote: > > >> It's very important that your CUPS configuration allows printing from >> your local network. If not, Windows won't see it. Check your >> /etc/cups/cupsd.conf to make sure it allows printing from other than >> localhost. >> >> >> Michael Powell wrote: >> >>> Gary, >>> Thanks! I think there must be slightly more to it, though. If I give >>> it that address (or anything like it), Win98 reports that the printer is >>> offline & that I can install it but can't print to it until it returns >>> online. Since it is online, that tells me something is not quite >>> right. >>> >>> If I type that address into a web browser on the Windows machine, it >>> does show up. But there is something about it that the Windows print >>> manager does not like. >>> >>> I tried it as you have it typed below, as well as: >>> \\server:631\printers\printername >>> >>> Windows does not like either one. >>> >>> >>> On Tue, 19 Jun 2007 10:47:33 -0400 >>> Gary Dale <garydale@torfree.net> wrote: >>> >>> >>> >>>> You don't need Samba to print. As long as you set up your CUPS >>>> configuration to allow other local addresses to print to the server, you >>>> can print to it from windows using >>>> http://<servername>:631/printers/<printername>, where you replace >>>> <servername> and <pritnername> with the appropriate values. <servername> >>>> can also be an IP address. >>>> >>>> If this works, you can also (but don't have to) set up the printer to be >>>> shared via Samba by adding a section to your Samba configuration. I >>>> recommend that you use SWAT for this - it makes it easy. >>>> >>>> >>> >>> >>>>> >>>>> >>>>> >>>> -- >>>> To unsubscribe from this list go to the following URL and read the >>>> instructions: https://lists.samba.org/mailman/listinfo/samba >>>> >>>> >>> >>> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/listinfo/samba >> > >
I have added an HP Deskjet 600 to my debian etch system, using CUPS. It is working fine. I would like to set it up so that I can occassionally print to it from a Windows 9x machine. This is where I seem to be having trouble. I consulted the HOW-TO docs on the samba site, but they are quite detailed and confusing (for me). I don't want to do anything that will cause the printer to work for the Win9x machine, but stop working properly on the debian machine. I am probably wrong, but what little I did understand of the HOW-TO gave me the impression that it might indeed cause problems. I really need something that is more like "A Dummy's Guide to SAMBA and Print Shares." The Win9x machine can currently see/access the other shares defined on the debian box. Is there an "dummy's" way to set the printer share up so that my Win9x machine can see it? Thanks!