* [gentoo-user] Sharing a printer to XP: Samba vs IPP
@ 2008-03-17 21:42 David Blamire-Brown
2008-03-18 1:33 ` Mark Shields
2008-03-18 14:00 ` Benjamen R. Meyer
0 siblings, 2 replies; 6+ messages in thread
From: David Blamire-Brown @ 2008-03-17 21:42 UTC (permalink / raw
To: gentoo-user
Hi,
This is a question about a small home network set-up for printing. I can't tell if this is OT for this list, but that doesn't seem to be a firm restriction in this part of the world in any case!
I have a locally attached printer on a Gentoo machine. I have a Windows XP laptop. I would like to print from my XP laptop over the network to the printer.
I have followed the guide on gentoo.org. I've sort of got printing working via Samba, but haven't been able to configure it for XP users to print without having to login to Samba. So I'm looking back at using IPP on the XP laptop.
Anyway, the main question is, is Samba a preferred option, or is it just more complicated than using IPP? There are a couple of brief lines about printing via IPP in the Gentoo Printing Guide, but a whole separate guide on using Samba. I can't find any information on use of IPP vs Samba via a brief Google, but maybe I'm just not searching very well.
Regards,
David
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
2008-03-17 21:42 [gentoo-user] Sharing a printer to XP: Samba vs IPP David Blamire-Brown
@ 2008-03-18 1:33 ` Mark Shields
2008-03-18 9:13 ` Mick
2008-03-18 14:00 ` Benjamen R. Meyer
1 sibling, 1 reply; 6+ messages in thread
From: Mark Shields @ 2008-03-18 1:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]
On Mon, Mar 17, 2008 at 5:42 PM, David Blamire-Brown <
david@blamire-brown.co.uk> wrote:
> Hi,
> This is a question about a small home network set-up for printing. I can't
> tell if this is OT for this list, but that doesn't seem to be a firm
> restriction in this part of the world in any case!
>
> I have a locally attached printer on a Gentoo machine. I have a Windows XP
> laptop. I would like to print from my XP laptop over the network to the
> printer.
> I have followed the guide on gentoo.org. I've sort of got printing working
> via Samba, but haven't been able to configure it for XP users to print
> without having to login to Samba. So I'm looking back at using IPP on the XP
> laptop.
>
> Anyway, the main question is, is Samba a preferred option, or is it just
> more complicated than using IPP? There are a couple of brief lines about
> printing via IPP in the Gentoo Printing Guide, but a whole separate guide on
> using Samba. I can't find any information on use of IPP vs Samba via a brief
> Google, but maybe I'm just not searching very well.
>
> Regards,
> David
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
It sounds like you need to enable guest and public access to the printer.
Here is an older guide, but it seems to have the relevant stuff you need:
http://forums.gentoo.org/viewtopic.php?t=110931
These lines:
public = yes
guest ok = yes
Check out the guide for the appropriate places to put them.
--
- Mark Shields
[-- Attachment #2: Type: text/html, Size: 1976 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
2008-03-18 1:33 ` Mark Shields
@ 2008-03-18 9:13 ` Mick
2008-03-19 22:05 ` David Blamire-Brown
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2008-03-18 9:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]
On Tuesday 18 March 2008, Mark Shields wrote:
> On Mon, Mar 17, 2008 at 5:42 PM, David Blamire-Brown <
>
> david@blamire-brown.co.uk> wrote:
> > Hi,
> > This is a question about a small home network set-up for printing. I
> > can't tell if this is OT for this list, but that doesn't seem to be a
> > firm restriction in this part of the world in any case!
> >
> > I have a locally attached printer on a Gentoo machine. I have a Windows
> > XP laptop. I would like to print from my XP laptop over the network to
> > the printer.
> > I have followed the guide on gentoo.org. I've sort of got printing
> > working via Samba, but haven't been able to configure it for XP users to
> > print without having to login to Samba. So I'm looking back at using IPP
> > on the XP laptop.
> >
> > Anyway, the main question is, is Samba a preferred option, or is it just
> > more complicated than using IPP? There are a couple of brief lines about
> > printing via IPP in the Gentoo Printing Guide, but a whole separate guide
> > on using Samba. I can't find any information on use of IPP vs Samba via a
> > brief Google, but maybe I'm just not searching very well.
> >
> > Regards,
> > David
> > --
> > gentoo-user@lists.gentoo.org mailing list
>
> It sounds like you need to enable guest and public access to the printer.
> Here is an older guide, but it seems to have the relevant stuff you need:
> http://forums.gentoo.org/viewtopic.php?t=110931
>
> These lines:
>
> public = yes
> guest ok = yes
>
> Check out the guide for the appropriate places to put them.
You will also want to configure cups.conf to listen not only to localhost, but
to also listen to the IP address of the XP box.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
2008-03-17 21:42 [gentoo-user] Sharing a printer to XP: Samba vs IPP David Blamire-Brown
2008-03-18 1:33 ` Mark Shields
@ 2008-03-18 14:00 ` Benjamen R. Meyer
2008-03-19 22:13 ` David Blamire-Brown
1 sibling, 1 reply; 6+ messages in thread
From: Benjamen R. Meyer @ 2008-03-18 14:00 UTC (permalink / raw
To: gentoo-user
David Blamire-Brown wrote:
> Hi,
> This is a question about a small home network set-up for printing. I can't tell if this is OT for this list, but that doesn't seem to be a firm restriction in this part of the world in any case!
>
> I have a locally attached printer on a Gentoo machine. I have a Windows XP laptop. I would like to print from my XP laptop over the network to the printer.
> I have followed the guide on gentoo.org. I've sort of got printing working via Samba, but haven't been able to configure it for XP users to print without having to login to Samba. So I'm looking back at using IPP on the XP laptop.
> Anyway, the main question is, is Samba a preferred option, or is it just more complicated than using IPP? There are a couple of brief lines about printing via IPP in the Gentoo Printing Guide, but a whole separate guide on using Samba. I can't find any information on use of IPP vs Samba via a brief Google, but maybe I'm just not searching very well.
I would think Samba would be more an option for when you already have a
Windows/Samba domain running for the network that everyone authenticates
through. Granted, as another poster provided, you can enable
public/guest access, which would make it like a Win9x/Me printer share
though XP should do fine with it.
However, I think CUPS/IPP would be a better option. It's very easy to
configure (I just followed the Gentoo guide for it). And it makes it
very easy to install on any Windows system. If you have CUPS configured
properly, you can even have it provide the drivers automatically to the
Windows systems - I haven't tried that yet. It really impressed me how
quick and easy it was to install CUPS - both on other Linux systems and
on Windows.
There is a Samba/CUPS guide, so I think you can even mix the two a bit.
There is also one other issue to consider - AFAIK, the SMB protocol does
not do spooling - so you could get job conflicts, while IPP makes the
printer a true network printer running via a print server (e.g. CUPS) so
it has spooling inherent to it. (Someone please correct me if I am wrong
on this.) So you'll be safer using IPP. I have worked in environments
where printers were shared similarly - no print server - and it causes
problems when two people try to print something at near the same time;
the printer will ignore one job, or switch jobs in the middle - never
predictable what it would do, though I think ignoring jobs was what
primarily happened. It's a pain - and that's even with printers that had
built in network interfaces.
Just something to consider.
Ben
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
2008-03-18 9:13 ` Mick
@ 2008-03-19 22:05 ` David Blamire-Brown
0 siblings, 0 replies; 6+ messages in thread
From: David Blamire-Brown @ 2008-03-19 22:05 UTC (permalink / raw
To: gentoo-user
On Tue, 18 Mar 2008 09:13:09 +0000
Mick <michaelkintzios@gmail.com> wrote:
> On Tuesday 18 March 2008, Mark Shields wrote:
> > On Mon, Mar 17, 2008 at 5:42 PM, David Blamire-Brown <
> >
> > david@blamire-brown.co.uk> wrote:
> > > I have followed the guide on gentoo.org. I've sort of got printing
> > > working via Samba, but haven't been able to configure it for XP users to
> > > print without having to login to Samba. So I'm looking back at using IPP
> > > on the XP laptop.
> >
> > It sounds like you need to enable guest and public access to the printer.
> > Here is an older guide, but it seems to have the relevant stuff you need:
> > http://forums.gentoo.org/viewtopic.php?t=110931
> >
> > These lines:
> >
> > public = yes
> > guest ok = yes
> >
> > Check out the guide for the appropriate places to put them.
>
> You will also want to configure cups.conf to listen not only to localhost, but
> to also listen to the IP address of the XP box.
> --
> Regards,
> Mick
>
Thank you for the advice.
cups.conf and smb.conf were already configured as per the guides. So that wasn't the problem. Setting security = share appears to have resolved the login issues.
Guest access for printing in security = user seems to have the unfortunate side effect of Windows deciding it is already logged in to samba, making impossible to connect to the homes share without logging out to clear the cache of connections.
I can't tell whether my initial issues with not being able to print as guest were related to the default guest linux account (nobody) not being in the lp group, but that's probably a different topic.
David
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
2008-03-18 14:00 ` Benjamen R. Meyer
@ 2008-03-19 22:13 ` David Blamire-Brown
0 siblings, 0 replies; 6+ messages in thread
From: David Blamire-Brown @ 2008-03-19 22:13 UTC (permalink / raw
To: gentoo-user
On Tue, 18 Mar 2008 10:00:49 -0400
"Benjamen R. Meyer" <bm_witness@yahoo.com> wrote:
> David Blamire-Brown wrote:
> > Hi,
> > This is a question about a small home network set-up for printing. I can't tell if this is OT for this list, but that doesn't seem to be a firm restriction in this part of the world in any case!
> >
> > I have a locally attached printer on a Gentoo machine. I have a Windows XP laptop. I would like to print from my XP laptop over the network to the printer.
> > I have followed the guide on gentoo.org. I've sort of got printing working via Samba, but haven't been able to configure it for XP users to print without having to login to Samba. So I'm looking back at using IPP on the XP laptop.
> > Anyway, the main question is, is Samba a preferred option, or is it just more complicated than using IPP? There are a couple of brief lines about printing via IPP in the Gentoo Printing Guide, but a whole separate guide on using Samba. I can't find any information on use of IPP vs Samba via a brief Google, but maybe I'm just not searching very well.
>
> I would think Samba would be more an option for when you already have a
> Windows/Samba domain running for the network that everyone authenticates
> through. Granted, as another poster provided, you can enable
> public/guest access, which would make it like a Win9x/Me printer share
> though XP should do fine with it.
>
> However, I think CUPS/IPP would be a better option. It's very easy to
> configure (I just followed the Gentoo guide for it). And it makes it
> very easy to install on any Windows system. If you have CUPS configured
> properly, you can even have it provide the drivers automatically to the
> Windows systems - I haven't tried that yet. It really impressed me how
> quick and easy it was to install CUPS - both on other Linux systems and
> on Windows.
>
> There is a Samba/CUPS guide, so I think you can even mix the two a bit.
>
> There is also one other issue to consider - AFAIK, the SMB protocol does
> not do spooling - so you could get job conflicts, while IPP makes the
> printer a true network printer running via a print server (e.g. CUPS) so
> it has spooling inherent to it. (Someone please correct me if I am wrong
> on this.) So you'll be safer using IPP. I have worked in environments
> where printers were shared similarly - no print server - and it causes
> problems when two people try to print something at near the same time;
> the printer will ignore one job, or switch jobs in the middle - never
> predictable what it would do, though I think ignoring jobs was what
> primarily happened. It's a pain - and that's even with printers that had
> built in network interfaces.
>
> Just something to consider.
>
> Ben
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
As far as I can tell from reading the various bits of documentation, using Samba to share a printer relies on the local printing subsystem as well (eg CUPS as you mentioned), so it has no effect on the spooling capabilities of CUPS. CUPS is still providing the print service and spooling capabilities. Samba in and of itself doesn't provide any printing services. It merely moves a file from a SMB client to a spooling area and invokes the local printing subsystem [http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html]
IPP appears to be a more elegant solution, in that it is far simpler. I can't see any specific advantages of using Samba over IPP. I did seem to get most of the set-up for using IPP and CUPS working. The only issue came when I tried to complete the process of adding the printer in XP. At this point, the XP laptop seemed to hang and I could see no evidence of any activity on the Gentoo machine to suggest why it was hanging. I suspect I have missed something in the network settings on either the XP laptop or on the Gentoo box that led to something not being able to get through to respond to a request from the XP laptop for drivers or similar. In any case, as posted elsewhere, I seem to have got sharing via Samba working.
Regards,
David
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-03-19 22:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 21:42 [gentoo-user] Sharing a printer to XP: Samba vs IPP David Blamire-Brown
2008-03-18 1:33 ` Mark Shields
2008-03-18 9:13 ` Mick
2008-03-19 22:05 ` David Blamire-Brown
2008-03-18 14:00 ` Benjamen R. Meyer
2008-03-19 22:13 ` David Blamire-Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox