Printing DBs by service name, not printer name
Gerald (Jerry) Carter
jerry at samba.org
Wed Feb 19 17:58:36 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18 Feb 2003, Andrew Bartlett wrote:
> I'm wondering, why are our printing databases (for things like the print
> queue) indexed by service name, rather than printer name?
IMO it is better to deal with services than printers since printer names
in CUPS or /etc/printcap are outside of our scope. Services is what we
know about.
> Doesn't this mean we will get 'weird stuff' happening if we have two
> names for a printer?
Two service names? or two /etc/printcap entries pointing to the same
phyiscal printer?
> I'm getting some very weird behavior where printer name is based on %m,
> with some uninitialized data being output back the the client.
why would you want to do this? Unitialized data in what?
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.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+U8XQIR7qMdg1EfYRAnbHAJ9l5wWdt1uOtDVhZNT+EgU74Zm5EACfYWnv
OpIlwjHrlxneRR0IHiKI7Jw=
=EFLl
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list