Discussion:
[Samba] samba3 and cups printserver
awesome-dave1 at juno.com ()
2003-12-01 17:03:36 UTC
Permalink
Hello,
I've got an rh9 box which i am using for printing. I've got cups
configured and my printer is working fine. Originally, i intended to use
samba 2.2.x for printing, but then i saw that 3.0 was out so i installed
it's rpm instead. My first of many questions, for printing to work
correctly, samba and cups, what must be specified in terms of the
printing line in smb.conf, bsd or lpRNG?
Thanks.
Dave.


________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
Gerald (Jerry) Carter
2003-12-01 17:03:53 UTC
Permalink
awesome-***@juno.com wrote:
| Hello,
| I've got an rh9 box which i am using for printing. I've got cups
| configured and my printer is working fine. Originally, i intended to use
| samba 2.2.x for printing, but then i saw that 3.0 was out so i installed
| it's rpm instead. My first of many questions, for printing to work
| correctly, samba and cups, what must be specified in terms of the
| printing line in smb.conf, bsd or lpRNG?

Neither :-)

~ printing = cups

(and make sure that smbd was compiled with cups support).

~ $ bin/smbd -b | grep -i cups
~ HAVE_CUPS


cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)
Ken Walker
2003-12-01 17:03:53 UTC
Permalink
smbd invalid option --b

and -b isnt in man smbd

?

-----Original Message-----
From: Gerald (Jerry) Carter [mailto:***@samba.org]
Sent: 31 October 2003 5:59:pm
To: awesome-***@juno.com
Cc: ***@lists.samba.org
Subject: Re: [Samba] samba3 and cups printserver


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

awesome-***@juno.com wrote:
| Hello,
| I've got an rh9 box which i am using for printing. I've got cups
| configured and my printer is working fine. Originally, i intended to use
| samba 2.2.x for printing, but then i saw that 3.0 was out so i installed
| it's rpm instead. My first of many questions, for printing to work
| correctly, samba and cups, what must be specified in terms of the
| printing line in smb.conf, bsd or lpRNG?

Neither :-)

~ printing = cups

(and make sure that smbd was compiled with cups support).

~ $ bin/smbd -b | grep -i cups
~ HAVE_CUPS


cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/oqLMIR7qMdg1EfYRAjRjAJ4t1SboaiVYfau1iG+lx21g/RYUuQCgirkd
oLAmZmCHblff2xbtVY7oVFk=
=Gf5v
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Gerald (Jerry) Carter
2003-12-01 17:03:53 UTC
Permalink
Ken Walker wrote:
| smbd invalid option --b
|
| and -b isnt in man smbd
|
| ?

Soirry that's a 3.0ism. I should have paid more
attention to your mail. Just run ldd against smbd
and look for libcups.so




cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)
Kurt Pfeifle
2003-12-01 17:03:53 UTC
Permalink
RE: [Samba] samba3 and cups printserver
* To: samba at listsdotsambadotorg
* Subject: RE: [Samba] samba3 and cups printserver
* From: Ken Walker <kendotwalker at textilesdotumistdotacdotuk>
* Date: Fri, 31 Oct 2003 18:49:23 -0000
smbd invalid option --b
and -b isnt in man smbd
?
That means you are trying to run a version 2.2.x smbd.

"-b" is one of the cool new (commandline-)options I discovered
shipping with Samba-3.


cups-demo: # smbd --help
Usage: smbd [OPTION...]
[....]
-b, --build-options Print build options
[....]


Cheers,
Kurt
Kurt Pfeifle
2003-12-01 17:03:53 UTC
Permalink
Post by Kurt Pfeifle
RE: [Samba] samba3 and cups printserver
* To: samba at listsdotsambadotorg
* Subject: RE: [Samba] samba3 and cups printserver
* From: Ken Walker <kendotwalker at textilesdotumistdotacdotuk>
* Date: Fri, 31 Oct 2003 18:49:23 -0000
smbd invalid option --b
and -b isnt in man smbd
?
That means you are trying to run a version 2.2.x smbd.
"-b" is one of the cool new (commandline-)options I discovered
shipping with Samba-3.
cups-demo: # smbd --help
Usage: smbd [OPTION...]
[....]
-b, --build-options Print build options
[....]
Cheers,
Kurt
Ooops -- I hit the "Send" button too early....

Another means to know if CUPS support is compiled in is provided by
"ldd" (certainly on Linux platforms); it "lists dynamic dependencies":

cups-demo: # ldd `which smbd` | grep cups
libcups.so.2 => /usr/lib/libcups.so.2 (0x40195000)

Cheers,
Kurt

Loading...