Printing DBs by service name, not printer name

Gerald (Jerry) Carter jerry at
Wed Feb 19 17:58:36 GMT 2003

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            -------------------------
 SAMBA Team                 ----------------------
 GnuPG Key                  ----
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see


More information about the samba-technical mailing list